/* RIFT — premium iOS storefront · shop-first */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --lime: #c8ff4a;
  --lime-soft: rgba(200, 255, 74, 0.16);
  --bg: #070809;
  --bg-elev: #0e1012;
  --card: rgba(28, 30, 34, 0.72);
  --card-solid: #16181c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --white: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.58);
  --black: #0a0a0a;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --r: 16px;
  --r-sm: 12px;
  --r-pill: 999px;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --spring-out: cubic-bezier(0.16, 1, 0.3, 1);
  --glass: saturate(180%) blur(22px);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --page: min(1180px, calc(100% - 40px));
  --pad: clamp(16px, 3vw, 28px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1000px 520px at 15% -10%, rgba(200, 255, 74, 0.08), transparent 55%),
    radial-gradient(800px 480px at 90% 10%, rgba(255, 255, 255, 0.04), transparent 50%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-width {
  width: var(--page);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-lg {
  width: 22px;
  height: 22px;
}

/* Glass header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 10px 0;
}

.header-inner {
  width: var(--page);
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(18, 20, 24, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.35s var(--spring), background 0.35s var(--spring), transform 0.35s var(--spring);
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.3s var(--spring), border-color 0.3s var(--spring);
}

.lang-btn:hover {
  border-color: var(--line-strong);
  transform: scale(1.03);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-radius: var(--r-pill);
  width: 40px;
  height: 40px;
  cursor: pointer;
  place-items: center;
}

/* Buttons — soft iOS + wipe */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--spring), background 0.35s var(--spring);
}

.btn > span,
.btn > .icon {
  position: relative;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28), transparent 65%);
  transform: translateX(-130%) skewX(-12deg);
  transition: transform 0.7s var(--spring-out);
}

.btn:hover::after {
  transform: translateX(130%) skewX(-12deg);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 8px 28px rgba(200, 255, 74, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(200, 255, 74, 0.32);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-small {
  padding: 11px 16px;
  font-size: 14px;
}

.btn-magnet {
  will-change: transform;
}

/* Hero — shop-first, brand dominant */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-top: -76px;
  padding-top: 76px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.62) contrast(1.05);
  transform: scale(1.05);
  animation: hero-drift 20s var(--spring) infinite alternate;
}

@keyframes hero-drift {
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.35) 0%, rgba(7, 8, 9, 0.2) 35%, rgba(7, 8, 9, 0.92) 100%),
    radial-gradient(60% 50% at 20% 70%, rgba(200, 255, 74, 0.1), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 clamp(36px, 6vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(52px, 10vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 10ch;
}

.hero h1 .line {
  display: block;
}

.hero h1 .soft {
  color: rgba(245, 245, 247, 0.42);
  font-size: 0.52em;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.78);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ip-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 12px 10px 14px;
  border-radius: var(--r-pill);
  background: rgba(18, 20, 24, 0.65);
  border: 1px solid var(--line);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.ip-chip code {
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ip-chip button {
  border: 0;
  background: var(--lime-soft);
  color: var(--lime);
  border-radius: var(--r-pill);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s var(--spring), background 0.35s var(--spring);
}

.ip-chip button:hover {
  transform: scale(1.06);
  background: rgba(200, 255, 74, 0.28);
}

/* Sections */
.section {
  padding: clamp(40px, 6vw, 56px) 0;
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 22px;
  max-width: 640px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 48ch;
}

.section-head.center p {
  margin-inline: auto;
}

/* Home shop — 2×2 cube, centered */
.shop-grid.shop-grid-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 0 auto 8px;
  align-items: stretch;
}

.shop-grid.shop-grid-home .shop-card .body {
  flex: 1 1 auto;
}

.shop-grid.shop-grid-home .shop-card .thumb {
  aspect-ratio: 16 / 9;
}

.shop-card {
  position: relative;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--spring), border-color 0.35s var(--spring), box-shadow 0.5s var(--spring);
  --mx: 50%;
  --my: 30%;
}

.shop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(200, 255, 74, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--spring);
  pointer-events: none;
  z-index: 1;
}

.shop-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(200, 255, 74, 0.28);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5);
}

.shop-card:hover::before {
  opacity: 1;
}

.shop-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

.shop-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--spring-out);
}

.shop-card:hover .thumb img {
  transform: scale(1.06);
}

.shop-card .mark {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  color: var(--lime);
}

.shop-card .body {
  position: relative;
  z-index: 2;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.shop-card .badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--lime);
  border-radius: var(--r-pill);
  padding: 5px 10px;
  line-height: 1.2;
}

.shop-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.shop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.shop-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  width: 100%;
  flex: 0 0 auto;
}

.shop-card .price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Modes compact */
.mode-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mode-panel {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mode-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.7);
}

.mode-panel .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 8, 9, 0.88));
}

.float-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(245, 245, 247, 0.94);
  color: var(--black);
  border-radius: var(--r-sm);
  padding: 16px;
  backdrop-filter: blur(12px);
  transform: translateY(4px);
  transition: transform 0.45s var(--spring);
}

.mode-panel:hover .float-card {
  transform: none;
}

.float-card .idx {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}

.float-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.float-card p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}

/* Media */
.media-shell {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-solid);
  box-shadow: var(--shadow);
}

.media-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
}

.media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--spring-out), opacity 0.4s var(--spring);
}

.media-stage:hover img {
  transform: scale(1.03);
}

.media-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.media-cap .badge {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  border-radius: var(--r-pill);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.media-cap h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.media-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.media-dots {
  display: flex;
  gap: 8px;
}

.media-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--spring), transform 0.3s var(--spring), width 0.3s var(--spring);
}

.media-dots button.active {
  background: var(--lime);
  width: 22px;
}

.media-bar .navs {
  display: flex;
  gap: 8px;
}

.media-bar .navs button {
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.3s var(--spring), background 0.3s var(--spring), transform 0.3s var(--spring);
}

.media-bar .navs button:hover {
  border-color: rgba(200, 255, 74, 0.45);
  background: var(--lime-soft);
  transform: scale(1.04);
}

/* CTA */
.cta-band {
  border-radius: calc(var(--r) + 4px);
  background: linear-gradient(145deg, rgba(28, 30, 34, 0.9), rgba(14, 16, 18, 0.95));
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-band p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 40ch;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Sticky buy bar */
.buy-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 55;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--spring), opacity 0.45s var(--spring);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(22, 24, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  max-width: calc(100vw - 24px);
  color: #fff;
}

.buy-dock.is-on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.buy-dock .dock-label {
  font-size: 14px;
  font-weight: 700;
  color: #f5f5f7;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.buy-dock .dock-label em {
  font-style: normal;
  color: rgba(245, 245, 247, 0.72);
  font-weight: 600;
}

.buy-dock .btn {
  flex-shrink: 0;
  color: var(--black);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}

.footer-brand strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 32ch;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s var(--spring), background 0.3s var(--spring), transform 0.3s var(--spring);
}

.footer-social a:hover {
  border-color: rgba(200, 255, 74, 0.4);
  background: var(--lime-soft);
  transform: scale(1.05);
}

.footer-social img {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  width: var(--page);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.to-top {
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.to-top:hover {
  color: var(--lime);
}

/* Products */
.products-hero {
  padding: 36px 0 18px;
  position: relative;
  z-index: 1;
}

.products-hero h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.products-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 46ch;
}

/* Cookie */
.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: min(340px, calc(100vw - 32px));
  background: rgba(22, 24, 28, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.55s var(--spring), opacity 0.45s var(--spring);
}

.cookie.is-on {
  transform: translateY(0);
  opacity: 1;
}

.cookie h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.cookie p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.cookie .row {
  display: flex;
  gap: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 90;
  transform: translate(-50%, 16px);
  background: rgba(245, 245, 247, 0.95);
  color: var(--black);
  border-radius: var(--r-pill);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition: opacity 0.35s var(--spring), transform 0.45s var(--spring);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reveal */
.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(16px);
  transition: opacity 0.75s var(--spring-out), filter 0.75s var(--spring-out), transform 0.75s var(--spring-out);
}

.reveal.is-on {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

@media (max-width: 960px) {
  .mode-row,
  .shop-grid:not(.shop-grid-home) {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: var(--pad);
    right: var(--pad);
    background: rgba(18, 20, 24, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--r);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    backdrop-filter: var(--glass);
  }

  .site-header nav.is-open {
    display: flex;
  }

  .menu-button {
    display: grid;
  }

  .header-inner {
    position: relative;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .shop-grid.shop-grid-home {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .buy-dock .dock-label em {
    display: none;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .shop-card,
  .hero-media img {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
