/* ==========================================================================
   RayNeo concept storefront
   A monochrome, editorial canvas with product colour as the only accent.
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --ink-soft: #1c1c1e;
  --paper: #f4f4f1;
  --paper-bright: #fbfbf9;
  --panel: #e8e8e4;
  --panel-strong: #deded9;
  --line: #d7d7d1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #70706b;
  --muted-light: #a7a7a1;
  --footer: #22211f;
  --white: #ffffff;
  --danger: #a82b23;
  --success: #28734e;
  --radius-sm: 10px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 82px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Helvetica Neue", "Segoe UI Variable Display", "Segoe UI",
    Arial, sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono",
    monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.drawer-open,
body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.58);
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: #deded8;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #2c2c2e;
}

.btn--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--full {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 12px;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.text-link:hover {
  opacity: 0.6;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.icon-btn:hover {
  background: rgba(127, 127, 127, 0.14);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

/* Header ------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  color: var(--white);
  transition: color 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-solid {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 244, 241, 0.9);
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 22px;
  overflow: visible;
  fill: currentColor;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
}

.main-nav a,
.main-nav button {
  position: relative;
  padding: 8px 0;
  color: inherit;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.main-nav a::after,
.main-nav button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav button:hover {
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.header-divider {
  width: 1px;
  height: 22px;
  margin: 0 10px;
  background: currentColor;
  opacity: 0.22;
}

.cart-button {
  margin-left: 2px;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  display: none;
  min-width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.site-header.is-solid .cart-count {
  background: var(--ink);
  color: var(--white);
}

.cart-count.is-visible {
  display: inline-flex;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

body.menu-open .mobile-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.menu-open .mobile-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

body.menu-open .site-header {
  border-color: transparent;
  background: transparent;
  color: var(--white);
  backdrop-filter: none;
}

body.menu-open .site-header .cart-count {
  background: var(--white);
  color: var(--ink);
}

/* Mobile menu -------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 36px) var(--gutter) 34px;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-menu__nav a,
.mobile-menu__nav button {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 17px 0;
  color: inherit;
  font-size: clamp(25px, 7vw, 38px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

body.menu-open .mobile-menu__nav a,
body.menu-open .mobile-menu__nav button {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open .mobile-menu__nav a:nth-child(2) {
  transition-delay: 40ms;
}

body.menu-open .mobile-menu__nav a:nth-child(3) {
  transition-delay: 80ms;
}

body.menu-open .mobile-menu__nav a:nth-child(4) {
  transition-delay: 120ms;
}

body.menu-open .mobile-menu__nav a:nth-child(5) {
  transition-delay: 160ms;
}

body.menu-open .mobile-menu__nav a:nth-child(6) {
  transition-delay: 200ms;
}

.mobile-menu__nav small {
  width: 25px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.mobile-menu__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.8;
}

.mobile-menu__foot strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background:
    radial-gradient(920px 620px at 78% 30%, rgba(103, 68, 224, 0.15), transparent 64%),
    radial-gradient(660px 520px at 8% 92%, rgba(255, 255, 255, 0.055), transparent 68%),
    #080809;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero-inner {
  position: relative;
  height: 100svh;
  min-height: max(760px, 100svh);
}

.hero-word {
  position: absolute;
  top: clamp(130px, 17vh, 205px);
  left: calc(var(--gutter) - 0.065em);
  z-index: 1;
  margin: 0;
  color: #f7f7f2;
  font-family: var(--font-display);
  font-size: clamp(88px, 17.2vw, 310px);
  font-weight: 400;
  letter-spacing: -0.082em;
  line-height: 0.72;
  white-space: nowrap;
  user-select: none;
}

.hero-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.24em);
  animation: hero-word-in 1.25s var(--ease-out) 0.12s forwards;
}

.hero-word .hero-word-pro {
  animation-delay: 0.2s;
  font-weight: 300;
}

@keyframes hero-word-in {
  from {
    opacity: 0;
    transform: translateY(0.24em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-model {
  position: absolute;
  right: max(-2.5%, calc(var(--gutter) * -0.4));
  bottom: 0;
  z-index: 2;
  width: min(56vw, 850px);
  height: 92.5%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 17%,
    #000 100%
  );
  mask-image: linear-gradient(to right, transparent 0%, #000 17%, #000 100%);
  opacity: 0;
  transform: scale(1.025);
  animation: hero-model-in 1.6s var(--ease) 0.08s forwards;
}

.hero-model img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.06) contrast(1.035);
}

.hero-model::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #080809 0%,
    rgba(8, 8, 9, 0.18) 20%,
    transparent 45%
  );
}

@keyframes hero-model-in {
  from {
    opacity: 0;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-eyebrow {
  position: absolute;
  top: calc(var(--header-h) + 42px);
  right: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.hero-eyebrow em {
  color: rgba(255, 255, 255, 0.28);
  font-style: normal;
}

.hero-copy {
  position: absolute;
  bottom: clamp(64px, 8.5vh, 108px);
  left: var(--gutter);
  z-index: 4;
  width: min(510px, 43vw);
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(26px, 4vh, 44px);
}

.hero-lockup .brand-mark {
  width: 44px;
  height: 27px;
}

.hero-lockup .brand-word {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.hero-headline {
  margin-bottom: 23px;
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 1.05;
}

.hero-description {
  max-width: 430px;
  color: #a9a9a3;
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 33px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 17px;
  margin-top: 35px;
  color: #73736d;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-tags li {
  display: flex;
  align-items: center;
  gap: 17px;
}

.hero-tags li:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5d5d58;
}

.hero-rail {
  position: absolute;
  top: 38%;
  right: 17px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.17em;
  writing-mode: vertical-rl;
}

.hero-rail::before {
  content: "";
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.hero-scroll::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleX(0.45);
    opacity: 0.5;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Section primitives ------------------------------------------------------- */
.section {
  padding: clamp(80px, 9.5vw, 142px) 0;
}

.section--products {
  background: var(--paper);
}

.section--advantages {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(34px, 4.4vw, 58px);
}

.section-head__title {
  margin-top: 17px;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 1;
}

.section-head__aside {
  max-width: 300px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.section-head__aside .text-link {
  display: flex;
  width: max-content;
  margin-top: 18px;
}

/* Products ----------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}

.product-grid--related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 12, 0.055);
  border-radius: var(--radius);
  background: #ecece8;
  transition: transform 0.6s var(--ease), border-color 0.4s ease;
}

.product-card:hover {
  border-color: rgba(11, 11, 12, 0.12);
  transform: translateY(-4px);
}

.product-card__link {
  display: block;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.48);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.product-index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.product-info {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px 18px;
}

.product-info h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.product-info p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.product-info__side {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.product-price {
  flex: 0 0 auto;
  color: #4a4a46;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.product-arrow {
  display: flex;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 11, 12, 0.14);
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.product-arrow svg {
  width: 14px;
  height: 14px;
}

.product-card:hover .product-arrow {
  background: var(--ink);
  color: var(--white);
  transform: rotate(-45deg);
}

/* Advantages --------------------------------------------------------------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.adv-card {
  min-width: 0;
  background: var(--panel);
}

.adv-media {
  position: relative;
  aspect-ratio: 1.48 / 1;
  overflow: hidden;
  background: #111;
}

.adv-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 9, 0.22), transparent 45%);
  pointer-events: none;
}

.adv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.045);
  transition: transform 1s var(--ease);
}

.adv-card:hover .adv-media img {
  transform: scale(1.075);
}

.adv-index {
  position: absolute;
  top: 15px;
  left: 17px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.adv-body {
  min-height: 192px;
  padding: 24px 22px 26px;
}

.adv-body h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.adv-body p {
  color: #5e5e59;
  font-size: 12.5px;
  line-height: 1.85;
}

/* App band ----------------------------------------------------------------- */
.app-band {
  position: relative;
  overflow: hidden;
  background: #09090a;
  color: var(--white);
}

.app-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 100% at 46% 50%, rgba(148, 148, 148, 0.09), transparent 70%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.025), transparent 35%);
  pointer-events: none;
}

.app-band__inner {
  position: relative;
  display: grid;
  min-height: 420px;
  grid-template-columns: 1.1fr 0.95fr 0.46fr;
  align-items: center;
  gap: clamp(18px, 2.4vw, 44px);
  padding: clamp(60px, 7.5vw, 100px) 0;
}

.app-copy {
  position: relative;
  z-index: 2;
}

.app-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.app-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.app-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 100px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.app-title span {
  display: block;
}

.app-title .app-x {
  margin-top: 0.13em;
  color: #74746f;
  font-size: 0.68em;
  letter-spacing: -0.04em;
}

.app-title .app-x b {
  color: #f4f4f1;
  font-weight: 400;
}

.app-copy p {
  max-width: 360px;
  margin-top: 29px;
  color: #898983;
  font-size: 12.5px;
  line-height: 1.85;
}

.app-visual {
  position: relative;
  align-self: stretch;
  min-height: 250px;
}

.app-visual img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 144%;
  max-width: none;
  height: 112%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
}

.app-qr {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 186px);
}

.qr-card {
  padding: 12px 12px 10px;
  border-radius: 8px;
  background: #f7f7f3;
  color: var(--ink);
}

.qr-card > div,
.qr-card svg {
  width: 100%;
  height: auto;
}

.qr-fallback {
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.qr-caption {
  margin-top: 15px;
  color: #8c8c86;
  font-size: 10.5px;
  line-height: 1.7;
}

.qr-caption strong {
  display: block;
  margin-bottom: 2px;
  color: #e8e8e3;
  font-size: 12px;
  font-weight: 500;
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--footer);
  color: #9e9b94;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) 1.45fr;
  gap: 28px;
  padding: clamp(58px, 7vw, 86px) 0 55px;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: #ecebe6;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline;
  padding: 0;
  color: #918e87;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #f4f2ec;
}

.footer-service {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 28px;
}

.footer-service h3 {
  margin-bottom: 16px;
  color: #817e78;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.footer-phone {
  color: #f4f2ec;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.footer-service p {
  margin-top: 10px;
  color: #7c7973;
  font-size: 11px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 23px 0 30px;
  color: #75726c;
  font-size: 10.5px;
  line-height: 1.7;
}

.footer-bottom__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c5c2bb;
}

.footer-bottom__brand .brand-mark {
  width: 26px;
  height: 16px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal button {
  color: inherit;
  font-size: 10.5px;
}

.footer-legal button:hover {
  color: #f4f2ec;
}

/* Cart drawer -------------------------------------------------------------- */
.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.drawer-root.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.62);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 0.4s var(--ease);
}

.drawer-root.is-open .drawer-backdrop {
  opacity: 1;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(466px, 94vw);
  height: 100%;
  flex-direction: column;
  background: #f7f7f4;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.18);
  transform: translateX(102%);
  transition: transform 0.55s var(--ease-out);
}

.drawer-root.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 26px;
}

.cart-head h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.cart-head h2 span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
}

.cart-close {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.cart-close:hover {
  background: var(--panel);
}

.cart-close svg {
  width: 17px;
  height: 17px;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 26px 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}

.cart-item__image {
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--panel);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__body {
  min-width: 0;
}

.cart-item__title {
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item__variant {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.cart-item__price {
  font-family: var(--font-mono);
  font-size: 11px;
}

.cart-item__remove {
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-item__remove:hover {
  color: var(--ink);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-bright);
}

.cart-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.cart-qty button:hover {
  color: var(--ink);
  background: var(--panel);
}

.cart-qty span {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
}

.cart-empty {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 0;
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-empty svg {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--muted);
  opacity: 0.55;
}

.cart-empty h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.cart-empty p {
  max-width: 250px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.cart-empty .btn {
  margin-top: 24px;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 20px 26px 27px;
  background: #f7f7f4;
}

.cart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.cart-subtotal strong {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
}

.cart-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.cart-foot .btn {
  min-height: 54px;
  margin-top: 18px;
}

/* Modal -------------------------------------------------------------------- */
.info-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border: 0;
  border-radius: 22px;
  padding: 0;
  background: #f8f8f5;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.info-modal::backdrop {
  background: rgba(8, 8, 9, 0.6);
  backdrop-filter: blur(4px);
}

.modal-inner {
  position: relative;
  padding: 42px 40px 38px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--panel);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.info-modal h2 {
  margin: 18px 0 16px;
  padding-right: 30px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.modal-body {
  color: #5f5f59;
  font-size: 13px;
  line-height: 1.9;
}

.modal-body p + p {
  margin-top: 12px;
}

.modal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-inner .btn {
  min-height: 48px;
  margin-top: 27px;
}

/* Toast -------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast svg {
  width: 14px;
  height: 14px;
  color: #b9e2c8;
}

/* Breadcrumbs -------------------------------------------------------------- */
.page-main {
  padding-top: var(--header-h);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 30px 0 26px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb svg {
  width: 11px;
  height: 11px;
  opacity: 0.5;
}

/* Product page ------------------------------------------------------------- */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(60px, 8vw, 104px);
}

.product-gallery {
  min-width: 0;
}

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.gallery-main:hover img {
  transform: scale(1.025);
}

.gallery-main.has-image-error {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
    #1a1a1c;
}

.gallery-main.has-image-error img {
  opacity: 0;
}

.gallery-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.28);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--panel);
  opacity: 0.65;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.gallery-thumb:hover {
  opacity: 0.9;
}

.gallery-thumb.is-active {
  border-color: var(--ink);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.product-buy {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  padding-top: 1px;
}

.product-buy__eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.product-buy h1 {
  margin-top: 18px;
  font-size: clamp(42px, 4.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.product-buy__tagline {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 27px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 25px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.product-price-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

.product-description {
  margin-top: 23px;
  color: #64645f;
  font-size: 13px;
  line-height: 1.9;
}

.option-group {
  margin-top: 28px;
}

.option-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
  font-size: 11px;
  line-height: 1.4;
}

.option-label span:last-child {
  color: var(--muted);
  font-size: 10px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch-option {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px 0 9px;
  background: transparent;
  font-size: 11px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.swatch-option:hover {
  border-color: #9a9a94;
}

.swatch-option.is-selected {
  border-color: var(--ink);
  background: rgba(11, 11, 12, 0.035);
}

.swatch-dot {
  width: 23px;
  height: 23px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.32);
}

.lens-option {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 15px;
  background: transparent;
  font-size: 11px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lens-option:hover {
  border-color: #9a9a94;
}

.lens-option.is-selected {
  border-color: var(--ink);
  background: rgba(11, 11, 12, 0.035);
}

.lens-option small {
  color: var(--muted);
  font-size: 9px;
}

.quantity-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  font-size: 11px;
}

.quantity-line > span:last-child {
  color: var(--muted);
  font-size: 10px;
}

.qty-control {
  display: inline-flex;
  height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control button {
  width: 40px;
  height: 100%;
  border-radius: 50%;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.qty-control button:hover {
  color: var(--ink);
}

.qty-control button:disabled {
  color: #c4c4be;
}

.qty-control span {
  min-width: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
}

.buy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 29px;
}

.buy-actions .btn {
  min-height: 56px;
}

.assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.assurance li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.assurance svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.product-accordions {
  margin-top: 1px;
}

.accordion {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 300;
  transition: transform 0.25s var(--ease);
}

.accordion[open] summary::after {
  transform: rotate(45deg);
}

.accordion__body {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.spec-list {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 14px;
}

.spec-list dt {
  color: #999993;
}

.spec-list dd {
  margin: 0;
  color: #555550;
}

/* Product story ------------------------------------------------------------ */
.product-story {
  overflow: hidden;
  background: #0a0a0b;
  color: var(--white);
}

.product-story__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 120px);
  padding: clamp(70px, 9vw, 128px) 0;
}

.story-copy h2 {
  max-width: 520px;
  margin-top: 23px;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.story-copy > p {
  max-width: 400px;
  margin-top: 23px;
  color: #85857f;
  font-size: 13px;
  line-height: 1.9;
}

.story-features {
  max-width: 500px;
  margin-top: 44px;
  border-top: 1px solid var(--line-dark);
}

.story-features li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
}

.story-features span {
  color: #575752;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.8;
}

.story-features h3 {
  margin-bottom: 4px;
  color: #f4f4ef;
  font-size: 13px;
  font-weight: 500;
}

.story-features p {
  color: #777771;
  font-size: 11px;
  line-height: 1.8;
}

.story-visual {
  position: relative;
  min-height: 520px;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.92) contrast(1.05);
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0b 0%, transparent 34%);
  pointer-events: none;
}

.story-visual__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* Checkout ----------------------------------------------------------------- */
.header--checkout .main-nav,
.header--checkout .header-divider,
.header--checkout [data-account] {
  display: none;
}

.header--checkout .header-actions {
  display: flex;
}

.header--checkout .header-inner {
  justify-content: space-between;
}

.header--checkout .brand {
  margin-right: auto;
}

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-secure svg {
  width: 13px;
  height: 13px;
}

.checkout-main {
  padding: calc(var(--header-h) + 36px) 0 110px;
}

.checkout-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.checkout-head h1 {
  margin-top: 17px;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.checkout-head p {
  max-width: 330px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
  text-align: right;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: #a2a29c;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 7px;
}

.checkout-step::after {
  content: "";
  width: 26px;
  height: 1px;
  margin-left: 5px;
  background: var(--line);
}

.checkout-step:last-child::after {
  display: none;
}

.checkout-step.is-active {
  color: var(--ink);
}

.checkout-step__num {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr);
  align-items: start;
  gap: clamp(44px, 7vw, 100px);
  margin-top: 40px;
}

.checkout-form {
  min-width: 0;
}

.form-section {
  margin-bottom: 39px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  border-bottom: 0;
}

.form-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 23px;
}

.form-heading span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.form-heading h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.form-grid {
  display: grid;
  gap: 17px;
}

.form-grid--two {
  grid-template-columns: 1fr 1fr;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #565651;
  font-size: 10.5px;
  line-height: 1.5;
}

.field label span {
  margin-left: 3px;
  color: #a0a09a;
}

.field input,
.field select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field select {
  cursor: pointer;
}

.field input::placeholder {
  color: #a5a5a0;
}

.field input:focus,
.field select:focus {
  border-color: var(--ink);
  background: var(--paper-bright);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--danger);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: var(--danger);
  font-size: 10px;
  line-height: 1.5;
}

.field.is-invalid .field-error {
  display: block;
}

.delivery-options,
.payment-options {
  display: grid;
  gap: 9px;
}

.choice-option {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.choice-option:hover {
  border-color: #a1a19b;
}

.choice-option.is-selected,
.choice-option:has(input:checked) {
  border-color: var(--ink);
  background: rgba(11, 11, 12, 0.032);
}

.choice-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--ink);
}

.choice-copy {
  flex: 1;
  min-width: 0;
}

.choice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.4;
}

.choice-title strong {
  font-weight: 500;
}

.choice-title span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.choice-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.pay-mark {
  display: inline-flex;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.pay-mark--alipay {
  background: #e7f2fd;
  color: #1677ff;
}

.pay-mark--wechat {
  background: #e7f5e9;
  color: #16a34a;
}

.pay-mark--union {
  background: #f7e9ea;
  color: #c62834;
}

.place-order {
  width: 100%;
  min-height: 58px;
  margin-top: 5px;
  border-radius: 999px;
  font-size: 13px;
}

.order-panel {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--panel);
}

.order-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(11, 11, 12, 0.1);
}

.order-panel__head h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.order-panel__head span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.summary-items {
  padding: 6px 0 8px;
}

.summary-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.summary-item__image {
  position: relative;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel-strong);
}

.summary-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-item__qty {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  min-width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
}

.summary-item__name {
  font-size: 11.5px;
  line-height: 1.4;
}

.summary-item__variant {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.summary-item__price {
  font-family: var(--font-mono);
  font-size: 10.5px;
  white-space: nowrap;
}

.summary-totals {
  padding-top: 15px;
  border-top: 1px solid rgba(11, 11, 12, 0.1);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  color: #61615c;
  font-size: 11px;
}

.summary-row span:last-child {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
  font-size: 12px;
}

.summary-total strong {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.summary-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.summary-note svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.demo-note {
  max-width: 480px;
  margin-top: 13px;
  color: #8e8e88;
  font-size: 9.5px;
  line-height: 1.7;
}

.checkout-empty {
  display: none;
  max-width: 520px;
  margin: 80px auto 0;
  padding: 44px;
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
}

.checkout-empty.is-visible {
  display: block;
}

.checkout-empty h2 {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.checkout-empty p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.checkout-empty .btn {
  margin-top: 24px;
}

.checkout-layout.is-hidden {
  display: none;
}

/* Success ------------------------------------------------------------------ */
.success-main {
  padding: calc(var(--header-h) + 36px) 0 110px;
}

.success-hero {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.success-check {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 23px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.success-check svg {
  width: 23px;
  height: 23px;
}

.success-hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.success-hero > p {
  max-width: 460px;
  margin: 19px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.success-card {
  max-width: 980px;
  margin: 47px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.success-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(11, 11, 12, 0.09);
  padding: 22px 30px;
}

.success-card__top span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.success-card__top strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 25px 30px;
  border-bottom: 1px solid rgba(11, 11, 12, 0.09);
}

.success-detail span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.success-detail p {
  font-size: 11px;
  line-height: 1.6;
}

.success-address {
  border-bottom: 1px solid rgba(11, 11, 12, 0.09);
  padding: 19px 30px;
}

.success-address span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.success-address p {
  color: #393936;
  font-size: 11px;
  line-height: 1.65;
}

.success-address p + p {
  margin-top: 2px;
  color: #666661;
}

.success-items {
  padding: 8px 30px;
}

.success-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(11, 11, 12, 0.08);
  padding: 15px 0;
}

.success-item:last-child {
  border-bottom: 0;
}

.success-item img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.success-item h3 {
  font-size: 11.5px;
  font-weight: 500;
}

.success-item p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.success-item > span {
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.success-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid rgba(11, 11, 12, 0.09);
  padding: 20px 30px 24px;
}

.success-total span {
  font-size: 12px;
}

.success-total strong {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 32px;
}

.success-actions .btn {
  min-width: 190px;
}

.timeline {
  display: flex;
  max-width: 700px;
  margin: 58px auto 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.timeline-step {
  position: relative;
  flex: 1;
  color: #a2a29c;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  left: calc(50% + 12px);
  width: calc(100% - 24px);
  height: 1px;
  background: var(--line);
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  margin: 0 auto 12px;
  border: 1px solid #b1b1ab;
  border-radius: 50%;
  background: var(--paper);
}

.timeline-step.is-current {
  color: var(--ink);
}

.timeline-step.is-current .timeline-dot {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(11, 11, 12, 0.08);
}

.success-empty {
  max-width: 540px;
  margin: 80px auto 0;
  text-align: center;
}

.success-empty h2 {
  margin-top: 18px;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.success-empty p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.success-empty .btn {
  margin-top: 27px;
}

/* 404 / utility page ------------------------------------------------------- */
.utility-page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
}

.utility-page h1 {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.utility-page p {
  max-width: 420px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.utility-page .btn {
  margin-top: 30px;
}

/* Reveal ------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 11.5px;
  }

  .hero-model {
    right: -4%;
    width: 60vw;
  }

  .hero-copy {
    width: min(460px, 44vw);
  }

  .product-info h3 {
    font-size: 20px;
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .footer-service {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .footer-service h3 {
    margin-bottom: 10px;
  }

  .footer-phone {
    font-size: 32px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 44px;
  }

  .checkout-layout {
    gap: 48px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 72px;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: 780px;
  }

  .hero-inner {
    height: 100svh;
    min-height: 780px;
  }

  .hero-word {
    top: 16vh;
    font-size: clamp(82px, 17.5vw, 175px);
  }

  .hero-model {
    right: -6%;
    width: 68vw;
  }

  .hero-copy {
    width: min(430px, 48vw);
  }

  .hero-headline {
    font-size: 46px;
  }

  .hero-rail {
    display: none;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head__aside {
    max-width: 250px;
    font-size: 11.5px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 6px);
    justify-self: center;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-band__inner {
    grid-template-columns: 1.05fr 0.85fr 0.48fr;
    min-height: 360px;
  }

  .app-title {
    font-size: clamp(44px, 6.4vw, 68px);
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-gallery {
    max-width: 760px;
  }

  .product-buy {
    position: static;
    max-width: 680px;
  }

  .product-story__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-visual {
    min-height: 430px;
    order: 2;
  }

  .story-copy {
    order: 1;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .order-panel {
    position: static;
    order: -1;
  }

  .checkout-head {
    align-items: flex-start;
  }

  .checkout-head p {
    text-align: left;
  }

  .success-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 14px;
  }

  .success-page .checkout-secure {
    display: none;
  }

  .success-page .header-inner .text-link {
    white-space: nowrap;
  }

  .brand-word {
    font-size: 18px;
  }

  .brand-mark {
    width: 31px;
    height: 19px;
  }

  .header-divider {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .hero {
    min-height: 740px;
  }

  .hero-inner {
    min-height: 740px;
  }

  .hero-word {
    top: 19vh;
    left: calc(var(--gutter) - 0.05em);
    font-size: clamp(76px, 20vw, 126px);
    line-height: 0.76;
    letter-spacing: -0.075em;
  }

  .hero-model {
    top: 22%;
    right: -10%;
    bottom: auto;
    width: 108%;
    height: 64%;
    opacity: 0;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      #000 18%,
      #000 78%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      #000 18%,
      #000 78%,
      transparent 100%
    );
  }

  .hero-model img {
    object-position: center 18%;
  }

  .hero-model::after {
    background: linear-gradient(
      to top,
      #080809 0%,
      rgba(8, 8, 9, 0.3) 30%,
      transparent 62%
    );
  }

  .hero-eyebrow {
    top: calc(var(--header-h) + 27px);
    font-size: 8px;
  }

  .hero-copy {
    right: var(--gutter);
    bottom: 34px;
    width: auto;
  }

  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -38px -30vw -34px;
    z-index: -1;
    background: linear-gradient(
      to top,
      #080809 0%,
      rgba(8, 8, 9, 0.96) 48%,
      rgba(8, 8, 9, 0) 100%
    );
  }

  .hero-lockup {
    margin-bottom: 21px;
  }

  .hero-lockup .brand-mark {
    width: 35px;
    height: 22px;
  }

  .hero-lockup .brand-word {
    font-size: 23px;
  }

  .hero-headline {
    margin-bottom: 14px;
    font-size: clamp(33px, 8.5vw, 47px);
  }

  .hero-description {
    max-width: 350px;
    font-size: 12px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: 0 18px;
    font-size: 11px;
  }

  .hero-tags {
    margin-top: 22px;
    font-size: 8px;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-head__title {
    margin-top: 14px;
    font-size: 42px;
  }

  .section-head__aside {
    max-width: 330px;
    margin-top: 18px;
    font-size: 11px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .product-media {
    aspect-ratio: 1.2 / 1;
  }

  .product-info {
    min-height: 80px;
    padding: 15px 17px;
  }

  .product-info h3 {
    font-size: 20px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .adv-body {
    min-height: auto;
    padding: 22px 20px 25px;
  }

  .adv-body h3 {
    font-size: 27px;
  }

  .app-band__inner {
    display: block;
    min-height: 0;
    padding: 64px 0 70px;
  }

  .app-title {
    margin-top: 17px;
    font-size: 58px;
  }

  .app-copy p {
    margin-top: 21px;
    font-size: 11.5px;
  }

  .app-visual {
    min-height: 0;
    height: 195px;
    margin: 22px 0 13px;
  }

  .app-visual img {
    width: 120%;
    height: 100%;
  }

  .app-qr {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
  }

  .qr-card {
    width: 112px;
    flex: 0 0 auto;
    padding: 8px;
    border-radius: 5px;
  }

  .qr-caption {
    margin-top: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 22px;
    padding: 52px 0 38px;
  }

  .footer-service {
    grid-column: 1 / -1;
    padding-top: 21px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom__brand {
    margin-bottom: 15px;
  }

  .footer-legal {
    margin-top: 13px;
    gap: 13px;
  }

  .breadcrumb {
    padding: 22px 0 20px;
  }

  .product-layout {
    gap: 30px;
    padding-bottom: 62px;
  }

  .gallery-main {
    border-radius: 16px;
  }

  .product-buy h1 {
    font-size: 46px;
  }

  .product-buy__tagline {
    font-size: 12px;
  }

  .product-price-row {
    margin-top: 21px;
    padding-bottom: 18px;
  }

  .product-price {
    font-size: 22px;
  }

  .buy-actions {
    grid-template-columns: 1fr;
  }

  .assurance {
    gap: 5px;
  }

  .assurance li {
    display: block;
    font-size: 9px;
  }

  .assurance svg {
    display: inline-block;
    margin-right: 4px;
    vertical-align: -2px;
  }

  .product-story__inner {
    padding: 64px 0;
  }

  .story-copy h2 {
    font-size: 44px;
  }

  .story-visual {
    min-height: 370px;
  }

  .checkout-main {
    padding: calc(var(--header-h) + 20px) 0 72px;
  }

  .checkout-head {
    display: block;
    padding-bottom: 22px;
  }

  .checkout-head h1 {
    font-size: 43px;
  }

  .checkout-head p {
    margin-top: 15px;
    font-size: 10.5px;
  }

  .checkout-steps {
    gap: 7px;
    font-size: 8px;
  }

  .checkout-step::after {
    width: 12px;
    margin-left: 2px;
  }

  .checkout-empty {
    margin-top: 38px;
    padding: 36px 24px;
  }

  .checkout-empty h2 {
    font-size: 25px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .checkout-layout {
    margin-top: 23px;
  }

  .order-panel {
    padding: 20px;
    border-radius: 17px;
  }

  .form-section {
    margin-bottom: 30px;
    padding-bottom: 27px;
  }

  .form-grid--two {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .field input,
  .field select {
    height: 48px;
  }

  .checkout-head p {
    display: none;
  }

  .success-main {
    padding: calc(var(--header-h) + 20px) 0 78px;
  }

  .success-hero h1 {
    font-size: 46px;
  }

  .success-card {
    margin-top: 32px;
    border-radius: 17px;
  }

  .success-card__top {
    display: block;
    padding: 19px 20px;
  }

  .success-card__top strong {
    display: block;
    margin-top: 4px;
  }

  .success-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 20px;
  }

  .success-address {
    padding: 17px 20px;
  }

  .success-items {
    padding: 4px 20px;
  }

  .success-total {
    padding: 18px 20px 21px;
  }

  .success-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .success-actions .btn {
    width: 100%;
  }

  .timeline {
    margin-top: 40px;
  }

  .timeline-step {
    font-size: 8.5px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 690px;
  }

  .hero-inner {
    min-height: 690px;
  }

  .hero-word {
    top: 20vh;
    font-size: 20vw;
  }

  .hero-model {
    top: 21%;
    height: 65%;
  }

  .hero-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hero-actions .btn {
    padding: 0 15px;
  }

  .header-actions .icon-btn {
    width: 38px;
    height: 38px;
  }

  .app-title {
    font-size: 49px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-word span,
  .hero-model {
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   V2 — white studio product imagery & refined commerce UI
   ========================================================================== */

/* scroll progress */
.header-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-solid .header-progress {
  opacity: 0.22;
}

/* capability strip */
.capability-bar {
  border-bottom: 1px solid var(--line);
  background: #fbfbf8;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-item {
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
  padding: 22px 24px;
}

.capability-item:first-child {
  padding-left: 0;
}

.capability-item:last-child {
  border-right: 0;
}

.capability-index {
  align-self: flex-start;
  padding-top: 5px;
  color: #a3a39d;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.capability-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.capability-sub {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.075em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* white studio product cards */
.product-card {
  border-color: #e2e2dc;
  background: #fdfdfb;
  box-shadow: 0 1px 0 rgba(11, 11, 12, 0.015);
  transition: transform 0.55s var(--ease), border-color 0.35s ease,
    box-shadow 0.55s var(--ease);
}

.product-card:hover {
  border-color: #cfcfc8;
  box-shadow: 0 22px 52px rgba(11, 11, 12, 0.07);
}

.product-media {
  background:
    radial-gradient(70% 80% at 50% 72%, rgba(255, 255, 255, 0.9), transparent),
    #f7f7f3;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-badge {
  border-color: rgba(11, 11, 12, 0.1);
  background: rgba(253, 253, 251, 0.82);
  color: #33332f;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.product-index {
  color: rgba(11, 11, 12, 0.34);
}

.product-info {
  min-height: 108px;
  align-items: flex-end;
  border-top: 1px solid #e9e9e3;
  background: #fdfdfb;
  padding: 18px 20px 20px;
}

.product-info__copy {
  min-width: 0;
}

.product-info h3 {
  font-size: 23px;
}

.product-info p {
  margin-top: 3px;
  font-size: 11.5px;
}

.product-colors {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  color: #8b8b84;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.product-swatches {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-swatch {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(11, 11, 12, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.product-card:hover .product-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: rotate(-45deg);
}

/* white gallery */
.gallery-main {
  border: 1px solid #e2e2dc;
  background: #f8f8f4;
  cursor: zoom-in;
}

.gallery-main img {
  object-fit: cover;
}

.gallery-badge {
  border-color: rgba(11, 11, 12, 0.1);
  background: rgba(253, 253, 251, 0.82);
  color: #33332f;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.gallery-counter {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 2;
  color: rgba(11, 11, 12, 0.42);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.gallery-zoom {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 3;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(253, 253, 251, 0.82);
  color: #3d3d38;
  font-size: 9.5px;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease),
    background 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.gallery-zoom svg {
  width: 12px;
  height: 12px;
}

.gallery-main:hover .gallery-zoom,
.gallery-zoom:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-zoom:hover {
  background: #fff;
}

.gallery-thumbs {
  gap: 9px;
}

.gallery-thumb {
  border: 1px solid #e4e4de;
  background: #f8f8f4;
  opacity: 0.72;
}

.gallery-thumb.is-active {
  border-color: var(--ink);
  opacity: 1;
}

/* lightbox */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(7, 7, 8, 0.96);
  color: var(--white);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: #070708;
}

.lightbox-figure {
  display: flex;
  max-width: 92vw;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  margin: 0;
}

.lightbox-image {
  display: block;
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fbfbf8;
}

.lightbox figcaption {
  color: #8e8e87;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.lightbox-close {
  position: absolute;
  top: 23px;
  right: 23px;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f5f0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close svg {
  width: 17px;
  height: 17px;
}

/* mobile buy bar */
.mobile-buybar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(252, 252, 249, 0.95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.mobile-buybar.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.mobile-buybar__info {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding-left: 2px;
}

.mobile-buybar__info span {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-buybar__info strong {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.mobile-buybar .btn {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 17px;
  font-size: 11px;
}

/* checkout trust */
.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.checkout-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.checkout-trust svg {
  width: 13px;
  height: 13px;
}

/* related cards keep white studio look */
.product-grid--related .product-media {
  background: #f7f7f3;
}

/* responsive v2 */
@media (max-width: 980px) {
  .capability-item {
    padding: 19px 18px;
  }

  .capability-title {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .header-progress {
    display: none;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability-item {
    min-height: 86px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 16px 16px 0;
  }

  .capability-item:first-child {
    padding-left: 0;
  }

  .capability-item:nth-child(2n) {
    padding-left: 18px;
    border-right: 0;
  }

  .capability-item:nth-child(n + 3) {
    border-bottom: 0;
  }

  .capability-index {
    font-size: 7.5px;
  }

  .capability-title {
    font-size: 13px;
  }

  .capability-sub {
    font-size: 7px;
  }

  .product-media {
    aspect-ratio: 4 / 3;
  }

  .product-info {
    min-height: 93px;
    padding: 15px 16px 17px;
  }

  .product-info h3 {
    font-size: 20px;
  }

  .product-info p {
    font-size: 11px;
  }

  .product-colors {
    margin-top: 9px;
  }

  .product-info__side {
    gap: 8px;
  }

  .product-arrow {
    width: 33px;
    height: 33px;
  }

  .gallery-main {
    border-radius: 16px;
  }

  .gallery-counter {
    top: 14px;
    right: 14px;
  }

  .gallery-zoom {
    right: 10px;
    bottom: 10px;
    opacity: 1;
    transform: none;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
  }

  .lightbox-image {
    max-width: 94vw;
    max-height: 78vh;
  }

  .mobile-buybar {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .product-page .site-footer {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .checkout-trust {
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .mobile-buybar,
  .gallery-zoom {
    transition: none;
  }
}

/* ==========================================================================
   V3 — switchable advantage story & seamless app visual
   ========================================================================== */

/* App visual: fade every edge into the band background */
.app-visual {
  isolation: isolate;
  overflow: visible;
}

.app-visual img {
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.app-visual::before,
.app-visual::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 2;
  pointer-events: none;
}

.app-visual::before {
  background: linear-gradient(
    to bottom,
    #09090a 0%,
    rgba(9, 9, 10, 0.55) 7%,
    transparent 22%,
    transparent 78%,
    rgba(9, 9, 10, 0.6) 93%,
    #09090a 100%
  );
}

.app-visual::after {
  background: linear-gradient(
    to right,
    #09090a 0%,
    rgba(9, 9, 10, 0.42) 9%,
    transparent 25%,
    transparent 75%,
    rgba(9, 9, 10, 0.42) 91%,
    #09090a 100%
  );
}

/* advantage viewer */
.advantage-viewer {
  position: relative;
}

.advantage-stage {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.32fr) minmax(330px, 0.68fr);
  border: 1px solid var(--line);
  background: #f7f7f3;
}

.advantage-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #101011;
}

.advantage-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5, 5, 6, 0.36), transparent 23%, transparent 70%, rgba(5, 5, 6, 0.55)),
    linear-gradient(to right, rgba(5, 5, 6, 0.15), transparent 35%);
}

.advantage-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform 1s var(--ease);
}

.advantage-image-wrap img.is-switching {
  animation: advantage-image-in 0.7s var(--ease) both;
}

.advantage-viewer:hover .advantage-image-wrap img {
  transform: scale(1.015);
}

@keyframes advantage-image-in {
  from {
    opacity: 0.25;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.advantage-image-index {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.advantage-image-label {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.advantage-detail {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--line);
  padding: 28px 32px 24px 35px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255, 255, 255, 0.65), transparent),
    #f7f7f3;
}

.advantage-detail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.advantage-kicker {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.advantage-arrows {
  display: flex;
  gap: 6px;
}

.advantage-arrows button {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfcfc9;
  border-radius: 50%;
  color: #565650;
  transition: border-color 0.25s ease, background 0.25s ease,
    color 0.25s ease;
}

.advantage-arrows button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.advantage-arrows svg {
  width: 14px;
  height: 14px;
}

.advantage-copy {
  margin-top: 44px;
}

.advantage-copy h3 {
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.advantage-copy p {
  max-width: 350px;
  margin-top: 20px;
  color: #63635e;
  font-size: 12.5px;
  line-height: 1.9;
}

.advantage-viewer.is-updating .advantage-copy {
  animation: advantage-copy-in 0.45s var(--ease) both;
}

@keyframes advantage-copy-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.advantage-progress {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 44px;
  color: #93938c;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.advantage-line {
  position: relative;
  display: block;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: #d7d7d1;
}

.advantage-line i {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 16.66%;
  height: 1px;
  background: var(--ink);
  transition: width 0.55s var(--ease);
}

.advantage-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantage-tab {
  position: relative;
  display: flex;
  min-height: 74px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  border-right: 1px solid var(--line);
  padding: 15px 12px 14px 0;
  color: #94948e;
  text-align: left;
  transition: color 0.3s ease;
}

.advantage-tab:last-child {
  border-right: 0;
}

.advantage-tab span {
  color: #aaa9a3;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.advantage-tab strong {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.advantage-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.advantage-tab:hover,
.advantage-tab.is-active {
  color: var(--ink);
}

.advantage-tab.is-active::after {
  transform: scaleX(1);
}

.advantage-tab.is-active span {
  color: var(--muted);
}

.advantage-count {
  display: block;
  margin-top: 13px;
  color: #95958f;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .advantage-stage {
    grid-template-columns: 1fr;
  }

  .advantage-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .advantage-detail {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 24px 24px 20px;
  }

  .advantage-copy {
    margin-top: 34px;
  }

  .advantage-copy h3 {
    font-size: 48px;
  }

  .advantage-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .advantage-tabs::-webkit-scrollbar {
    display: none;
  }

  .advantage-tab {
    min-width: 126px;
    flex: 0 0 126px;
  }
}

@media (max-width: 760px) {
  .app-visual {
    overflow: hidden;
  }

  .app-visual::before,
  .app-visual::after {
    inset: 0;
  }

  .advantage-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .advantage-image-index {
    top: 16px;
    left: 16px;
  }

  .advantage-image-label {
    bottom: 16px;
    left: 16px;
  }

  .advantage-detail {
    padding: 20px 16px 18px;
  }

  .advantage-kicker {
    font-size: 8px;
  }

  .advantage-arrows button {
    width: 34px;
    height: 34px;
  }

  .advantage-copy {
    margin-top: 27px;
  }

  .advantage-copy h3 {
    font-size: 42px;
  }

  .advantage-copy p {
    margin-top: 14px;
    font-size: 11.5px;
    line-height: 1.8;
  }

  .advantage-progress {
    margin-top: 30px;
  }

  .advantage-tabs {
    margin-top: 12px;
  }

  .advantage-tab {
    min-width: 118px;
    min-height: 66px;
    padding: 12px 12px 12px 0;
  }

  .advantage-tab strong {
    font-size: 11px;
  }
}

/* app visual: single radial mask is more reliable than multi-mask compositing */
.app-visual img {
  -webkit-mask-image: radial-gradient(
    ellipse 63% 58% at 50% 50%,
    #000 34%,
    rgba(0, 0, 0, 0.78) 67%,
    transparent 100%
  );
  -webkit-mask-composite: initial;
  mask-image: radial-gradient(
    ellipse 63% 58% at 50% 50%,
    #000 34%,
    rgba(0, 0, 0, 0.78) 67%,
    transparent 100%
  );
  mask-composite: initial;
}

.app-visual::before {
  inset: -14%;
  background: radial-gradient(
    ellipse at center,
    transparent 45%,
    rgba(9, 9, 10, 0.55) 71%,
    #09090a 90%
  );
}

.app-visual::after {
  display: none;
}

/* the copy block sits in the optical centre of the detail panel */
.advantage-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
}

@media (max-width: 980px) {
  .advantage-copy {
    display: block;
    flex: initial;
    margin-top: 34px;
  }
}

@media (max-width: 760px) {
  .advantage-copy {
    margin-top: 27px;
  }
}

/* app visual: alpha edges are baked into the WebP, so no CSS clipping seams */
.app-visual img {
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-composite: initial;
  mask-composite: initial;
}

.app-visual::before,
.app-visual::after {
  display: none;
}

/* ==========================================================================
   V4 — typography system, responsive art direction, cart close easing
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-tight.woff2") format("woff2");
}

:root {
  --font-display: "Inter Tight", "Helvetica Neue", "Segoe UI Variable Display",
    "Segoe UI", Arial, sans-serif;
  --font-body: "Inter Tight", "PingFang SC", "HarmonyOS Sans SC",
    "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

html {
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
.hero-word,
.app-title,
.section-head__title {
  text-wrap: balance;
}

/* fluid display type */
.hero-word {
  font-size: clamp(82px, 15.6vw, 286px);
  letter-spacing: -0.074em;
  line-height: 0.77;
}

.hero-headline {
  font-size: clamp(38px, 4.15vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero-description {
  max-width: 420px;
  font-size: clamp(12.5px, 0.95vw, 14.5px);
  line-height: 1.9;
}

.hero-copy {
  width: min(510px, 43vw);
}

.hero-model img {
  object-position: center 18%;
}

.section-head__title {
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: -0.055em;
}

.section-head__aside {
  max-width: 335px;
  font-size: clamp(11.5px, 0.86vw, 12.5px);
  line-height: 1.85;
}

.product-info h3 {
  font-size: clamp(19px, 1.55vw, 23px);
}

.product-info p {
  font-size: clamp(10.5px, 0.82vw, 11.5px);
}

.product-price {
  font-size: clamp(10.5px, 0.83vw, 12px);
}

.product-card .product-colors {
  font-size: 8px;
}

.advantage-copy h3 {
  font-size: clamp(36px, 3.9vw, 56px);
}

.advantage-copy p {
  font-size: clamp(11.5px, 0.9vw, 12.5px);
}

/* app poster: areas, type scale and a clearer rhythm */
.app-band__inner {
  display: grid;
  grid-template-areas: "copy visual qr";
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) minmax(160px, 180px);
  align-items: center;
  gap: clamp(22px, 2.7vw, 44px);
}

.app-copy {
  grid-area: copy;
  min-width: 0;
}

.app-title {
  margin-top: clamp(18px, 2.2vw, 25px);
  font-size: clamp(40px, 5.1vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.062em;
}

.app-title__main {
  display: block;
  white-space: nowrap;
}

.app-title .app-x {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  margin-top: 0.12em;
  color: #72726c;
  font-size: 0.64em;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.app-title .app-x span {
  display: inline-block;
  font-weight: 300;
}

.app-title .app-x b {
  color: #f4f4ef;
  font-weight: 400;
}

.app-description {
  max-width: 330px;
  margin-top: clamp(20px, 2.2vw, 28px);
  color: #8b8b84;
  font-size: clamp(11.5px, 0.9vw, 12.5px);
  line-height: 1.85;
}

.app-meta {
  display: block;
  margin-top: 16px;
  color: #64645e;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.app-visual {
  grid-area: visual;
  min-width: 0;
}

.app-qr {
  grid-area: qr;
  align-self: center;
  justify-self: end;
  width: min(100%, 180px);
}

.app-qr .qr-card {
  padding: 11px 11px 9px;
}

.app-qr .qr-caption {
  margin-top: 14px;
}

@media (max-width: 1180px) {
  .app-band__inner {
    grid-template-areas:
      "copy qr"
      "visual visual";
    grid-template-columns: minmax(0, 1fr) 156px;
    gap: 30px 28px;
    padding: 58px 0 64px;
  }

  .app-title {
    font-size: clamp(40px, 5.4vw, 68px);
  }

  .app-visual {
    min-height: 0;
    height: 220px;
  }

  .app-visual img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    transform: translate(-50%, -50%);
  }

  .app-qr {
    align-self: start;
    width: 156px;
  }
}

@media (max-width: 760px) {
  .hero-word {
    font-size: clamp(76px, 20vw, 126px);
  }

  .hero-headline {
    font-size: clamp(33px, 8.5vw, 47px);
  }

  .hero-copy {
    width: auto;
  }

  .section-head__title {
    font-size: 40px;
  }

  .app-band__inner {
    display: block;
    padding: 58px 0 64px;
  }

  .app-title {
    font-size: clamp(47px, 12vw, 60px);
  }

  .app-title__main {
    white-space: normal;
  }

  .app-description {
    max-width: 330px;
    margin-top: 20px;
  }

  .app-meta {
    margin-top: 13px;
  }

  .app-visual {
    position: relative;
    height: 190px;
    margin: 24px 0 16px;
    overflow: hidden;
  }

  .app-visual img {
    width: 122%;
    height: 100%;
    object-position: center 28%;
  }

  .app-qr {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
  }

  .app-qr .qr-card {
    width: 108px;
    flex: 0 0 auto;
    padding: 8px;
  }

  .app-qr .qr-caption {
    margin-top: 0;
  }

  .product-info h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer-root,
  .drawer-backdrop,
  .cart-drawer {
    transition: none !important;
  }
}

/* cart drawer: close state remains painted long enough to animate out */
.drawer-root {
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.54s;
}

.drawer-root.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.drawer-backdrop {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.drawer-root.is-open .drawer-backdrop {
  opacity: 1;
}

.cart-drawer {
  transform: translate3d(102%, 0, 0);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.drawer-root.is-open .cart-drawer {
  transform: translate3d(0, 0, 0);
}

.cart-body {
  overscroll-behavior: contain;
}

/* keep the new app campaign image soft against the dark band at every crop */
.app-visual::after {
  display: block;
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    ellipse 74% 72% at 50% 49%,
    transparent 42%,
    rgba(9, 9, 10, 0.58) 73%,
    #09090a 100%
  );
}

.app-visual img {
  -webkit-mask-image: radial-gradient(
    ellipse 78% 72% at 50% 49%,
    #000 52%,
    rgba(0, 0, 0, 0.62) 80%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 78% 72% at 50% 49%,
    #000 52%,
    rgba(0, 0, 0, 0.62) 80%,
    transparent 100%
  );
}

/* edge gradients are calculated against the visual box, so cover/contain crops stay seamless */
.app-visual::after {
  display: block;
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      #09090a 0%,
      rgba(9, 9, 10, 0.9) 7%,
      transparent 23%,
      transparent 77%,
      rgba(9, 9, 10, 0.9) 93%,
      #09090a 100%
    ),
    linear-gradient(
      to right,
      #09090a 0%,
      rgba(9, 9, 10, 0.82) 7%,
      transparent 23%,
      transparent 77%,
      rgba(9, 9, 10, 0.82) 93%,
      #09090a 100%
    );
}

/* avoid a reserved 15px strip beside full-bleed dark sections */
html {
  scrollbar-gutter: auto;
}

/* keep the cart slide visible during the shorter close sequence */
@media (prefers-reduced-motion: reduce) {
  .drawer-root {
    transition: none;
  }
}

/* desktop/tablet poster: image becomes the full-bleed backdrop, not a framed panel */
@media (min-width: 981px) {
  .app-band {
    position: relative;
    overflow: hidden;
  }

  .app-band__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-areas: "copy qr";
    grid-template-columns: minmax(0, 1fr) minmax(160px, 180px);
    align-items: center;
    gap: 36px;
    min-height: 440px;
    padding: 64px 0;
  }

  .app-band__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        to right,
        #09090a 0%,
        rgba(9, 9, 10, 0.96) 26%,
        rgba(9, 9, 10, 0.33) 58%,
        rgba(9, 9, 10, 0.72) 100%
      ),
      linear-gradient(
        to bottom,
        #09090a 0%,
        transparent 18%,
        transparent 82%,
        #09090a 100%
      );
  }

  .app-copy {
    position: relative;
    z-index: 2;
    max-width: 570px;
  }

  .app-qr {
    position: relative;
    z-index: 2;
    justify-self: end;
    align-self: center;
  }

  .app-visual {
    position: absolute;
    inset: 0 0 0 24%;
    z-index: 0;
    width: auto;
    height: auto;
    min-height: 0;
    pointer-events: none;
  }

  .app-visual img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: translate(-50%, -50%);
    opacity: 0.72;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .app-visual::after {
    background:
      linear-gradient(
        to right,
        #09090a 0%,
        rgba(9, 9, 10, 0.5) 22%,
        transparent 50%,
        rgba(9, 9, 10, 0.4) 100%
      ),
      linear-gradient(
        to bottom,
        #09090a 0%,
        transparent 18%,
        transparent 78%,
        #09090a 100%
      );
  }
}

@media (max-width: 980px) {
  .app-band__inner::before {
    display: none;
  }
}

/* new high-key hero: keep the small right-side labels readable over the bright wall */
.hero-model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.34) 11%, transparent 25%),
    linear-gradient(270deg, rgba(9, 9, 11, 0.58) 0%, rgba(9, 9, 11, 0.14) 12%, transparent 26%),
    linear-gradient(0deg, rgba(9, 9, 11, 0.66) 0%, transparent 20%);
}

/* ==========================================================================
   V5 — user-supplied full-bleed hero + App poster photography
   ========================================================================== */

.hero {
  overflow: hidden;
}

.hero-model {
  inset: 0;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-model img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.88) contrast(1.06) brightness(0.94);
}

.hero-word {
  z-index: 2;
}

.hero-model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(7, 7, 9, 0.98) 0%,
      rgba(7, 7, 9, 0.94) 20%,
      rgba(7, 7, 9, 0.72) 42%,
      rgba(7, 7, 9, 0.3) 62%,
      rgba(7, 7, 9, 0.05) 80%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 7, 9, 0.72) 0%,
      transparent 20%,
      transparent 66%,
      rgba(7, 7, 9, 0.9) 100%
    );
}

.hero-model::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      270deg,
      rgba(7, 7, 9, 0.48) 0%,
      rgba(7, 7, 9, 0.1) 14%,
      transparent 28%
    ),
    radial-gradient(
      ellipse 58% 46% at 62% 40%,
      transparent 42%,
      rgba(7, 7, 9, 0.28) 100%
    );
}

.hero-eyebrow,
.hero-copy,
.hero-rail,
.hero-scroll {
  z-index: 4;
}

.hero-word,
.hero-headline {
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

/* App poster: new close-up portrait becomes the full-bleed backdrop on desktop. */
.app-visual img {
  object-position: center 38%;
  opacity: 0.9;
  filter: contrast(1.06) brightness(0.92);
}

.app-band__inner::before {
  background:
    linear-gradient(
      90deg,
      rgba(9, 9, 10, 0.98) 0%,
      rgba(9, 9, 10, 0.94) 24%,
      rgba(9, 9, 10, 0.35) 55%,
      rgba(9, 9, 10, 0.28) 76%,
      rgba(9, 9, 10, 0.78) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 9, 10, 0.9) 0%,
      transparent 18%,
      transparent 78%,
      rgba(9, 9, 10, 0.94) 100%
    );
}

@media (max-width: 980px) {
  .app-visual img {
    object-position: center 32%;
    opacity: 0.92;
  }
}

@media (max-width: 760px) {
  .hero-model {
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-model img {
    object-position: center 38%;
  }

  .hero-model::after {
    background:
      linear-gradient(
        270deg,
        rgba(7, 7, 9, 0.3) 0%,
        transparent 18%
      ),
      linear-gradient(
        180deg,
        rgba(7, 7, 9, 0.25) 0%,
        transparent 22%,
        transparent 62%,
        rgba(7, 7, 9, 0.65) 100%
      );
  }

  .app-visual img {
    object-position: center 34%;
  }
}

/* ==========================================================================
   V6 — X2 Pro square gallery + wheel-controlled thumbnail carousel
   ========================================================================== */

.product-gallery.is-square .gallery-main {
  aspect-ratio: 1 / 1;
}

.product-gallery.is-square .gallery-main img {
  object-fit: cover;
}

.gallery-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.gallery-thumbs {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 9px;
  margin-top: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.gallery-thumbs:active {
  cursor: grabbing;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 calc((100% - 18px) / 3);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}

.product-gallery.is-square .gallery-thumb {
  aspect-ratio: 1 / 1;
}

.gallery-thumbs-nav {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid #deded8;
  border-radius: 50%;
  background: rgba(253, 253, 251, 0.92);
  color: #4a4a45;
  transition: background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s ease;
}

.gallery-thumbs-nav:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.gallery-thumbs-nav:active {
  transform: scale(0.94);
}

.gallery-thumbs-nav:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.gallery-thumbs-nav svg {
  width: 13px;
  height: 13px;
}

.gallery-thumbs-nav--prev svg {
  transform: rotate(180deg);
}

.gallery-main.is-switching img {
  animation: gallery-swap 0.38s var(--ease);
}

@keyframes gallery-swap {
  from {
    opacity: 0.3;
    transform: scale(1.018);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 760px) {
  .gallery-thumbs-wrap {
    gap: 6px;
  }

  .gallery-thumbs {
    gap: 7px;
  }

  .gallery-thumb {
    flex-basis: calc((100% - 14px) / 3);
  }

  .gallery-thumbs-nav {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .gallery-thumbs-nav svg {
    width: 12px;
    height: 12px;
  }
}

/* Poster-led X2 Pro gallery: the supplied imagery carries its own
   typographic header, so suppress the floating product badge. */
.product-gallery.is-square .gallery-badge {
  display: none;
}

/* X2 Pro poster slides keep their baked typography fully visible:
   no hover zoom, so the 1:1 artwork is never cropped. */
.product-gallery.is-square .gallery-main:hover img {
  transform: none;
}

/* Poster-led square galleries put the counter over artwork that can be
   dark (lake / HUD posters): a soft translucent chip keeps the progress
   readable on every slide without competing with the baked typography. */
.product-gallery.is-square .gallery-counter {
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  border: 1px solid rgba(11, 11, 12, 0.06);
  border-radius: 999px;
  background: rgba(250, 250, 248, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(11, 11, 12, 0.62);
  font-size: 10px;
  line-height: 1.2;
}

@media (max-width: 760px) {
  .product-gallery.is-square .gallery-counter {
    top: 12px;
    right: 12px;
    padding: 4px 8px;
  }
}
