/* ==========================================================================
   灵犀数码 · 南京仙林店
   A hand-built, dependency-free store page.
   ========================================================================== */

:root {
  --paper: #f4f0e8;
  --paper-soft: #faf7f0;
  --paper-deep: #e8e1d3;
  --ink: #101613;
  --ink-soft: #1b231e;
  --muted: #5f685f;
  --muted-light: rgba(244, 240, 232, 0.58);
  --lime: #c9f24d;
  --lime-deep: #a9d42c;
  --coral: #ff6b45;
  --blue: #afc6ff;
  --line: rgba(16, 22, 19, 0.15);
  --line-strong: rgba(16, 22, 19, 0.3);
  --line-light: rgba(244, 240, 232, 0.16);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-display: "Bodoni MT", "Didot", "Times New Roman", serif;
  --container: 1440px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-card: 0 26px 70px rgba(8, 12, 10, 0.26);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.products :focus-visible,
.site-footer :focus-visible,
.modal :focus-visible { outline-color: var(--lime); }

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: scale(0.985); }
.btn[disabled] { opacity: 0.38; cursor: not-allowed; pointer-events: none; }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--lime); color: var(--ink); }

.btn-ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 12px; }

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 240, 232, 0.68);
  white-space: nowrap;
}
.topbar-note strong { color: var(--lime); font-weight: 600; }
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 242, 77, 0.12);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(244, 240, 232, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 240, 232, 0.96);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 80px;
  transition: min-height 0.3s var(--ease);
}
.site-header.is-scrolled .header-inner { min-height: 66px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.brand-mark {
  width: 40px; height: 40px;
  color: var(--ink);
  flex: none;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.brand-sub {
  font-size: 8px;
  letter-spacing: 0.17em;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(16, 22, 19, 0.75);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.try-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.try-trigger:hover { background: rgba(16, 22, 19, 0.06); }
.try-count {
  display: grid;
  place-items: center;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.try-trigger.has-items .try-count { background: var(--lime); color: var(--ink); }

.route-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 15px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.route-btn:hover { background: var(--lime); color: var(--ink); }
.route-btn svg { transition: transform 0.2s var(--ease); }
.route-btn:hover svg { transform: translateX(3px); }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(30px, 4.4vw, 62px) 0 0;
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: center;
  min-height: min(760px, calc(100svh - 180px));
  padding-bottom: clamp(42px, 6vw, 78px);
}
.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow span {
  width: 7px; height: 7px;
  background: var(--lime-deep);
  border-radius: 50%;
  flex: none;
}

.hero h1 {
  max-width: 9.5em;
  font-size: clamp(50px, 6.5vw, 106px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.07em;
}
.hero-accent {
  position: relative;
  display: inline-block;
  padding: 0 0.04em;
  background-image: linear-gradient(transparent 64%, var(--lime) 64%, var(--lime) 95%, transparent 95%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-lead {
  max-width: 31em;
  margin: clamp(24px, 3vw, 34px) 0 30px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero-meta span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-meta strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* stage */
.hero-stage-wrap {
  position: relative;
  z-index: 1;
}
.hero-stage {
  position: relative;
  aspect-ratio: 0.84;
  max-height: 680px;
  background:
    radial-gradient(circle at 70% 18%, rgba(201, 242, 77, 0.14), transparent 42%),
    linear-gradient(150deg, #1a241e 0%, #0c110e 60%, #101813 100%);
  border-radius: 30px 30px 150px 30px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(16, 22, 19, 0.22);
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.16));
}
.stage-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(244, 240, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}
.stage-ring {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  top: 5%; right: -20%;
  border: 1px solid rgba(201, 242, 77, 0.22);
  border-radius: 50%;
  z-index: 0;
}
.stage-ring::before,
.stage-ring::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(201, 242, 77, 0.12);
  border-radius: 50%;
}
.stage-ring::after { inset: 24%; }
.stage-label {
  position: absolute;
  top: 26px; left: 28px;
  z-index: 5;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(244, 240, 232, 0.62);
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.04);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.hero-sticker {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 6;
  width: 82px; height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.08em;
  transform: rotate(8deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.hero-sticker::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(16, 22, 19, 0.28);
  border-radius: 50%;
}

.hero-card {
  position: absolute;
  z-index: 7;
  left: -26px;
  bottom: 62px;
  width: 224px;
  padding: 16px 18px 15px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 15px;
  text-decoration: none;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
  transform: rotate(-3deg);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.hero-card:hover { transform: rotate(0) translateY(-3px); background: var(--lime); }
.hero-card-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.hero-card-name {
  display: block;
  margin: 5px 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}
.hero-card:hover .hero-card-label { color: rgba(16, 22, 19, 0.62); }

.hero-vertical {
  position: absolute;
  z-index: 5;
  top: 48%;
  right: 12px;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.26em;
  color: rgba(244, 240, 232, 0.3);
  transform: translateY(-50%);
}
.hero-big-number {
  display: none;
}
.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 0 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.hero-foot p { display: flex; align-items: center; gap: 9px; }
.hero-foot p::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--ink);
  border-radius: 50%;
}
.hero-foot .hero-foot-right::before { display: none; }

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--ink);
  color: var(--lime);
  border-block: 1px solid rgba(201, 242, 77, 0.16);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 17px 26px 17px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.ticker-item svg { color: rgba(201, 242, 77, 0.7); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Section primitives
   -------------------------------------------------------------------------- */
.section { padding: clamp(84px, 10vw, 150px) 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}
.section-label span {
  display: grid;
  place-items: center;
  width: 24px; height: 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  font-size: 8px;
  letter-spacing: 0.03em;
}
.section-title {
  margin-top: 22px;
  font-size: clamp(42px, 5.7vw, 88px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.065em;
}

/* reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about { padding-top: clamp(80px, 9vw, 132px); }
.about-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
}
.section-rail { position: relative; }
.rail-line {
  display: block;
  width: 1px;
  height: 100px;
  margin: 24px 0 18px 11px;
  background: var(--line);
}
.rail-note {
  max-width: 140px;
  margin-left: 11px;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.about-main { min-width: 0; }
.about-main .section-title { max-width: 900px; }

.about-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  max-width: 850px;
  margin-top: clamp(30px, 4vw, 48px);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}
.about-copy p + p { color: rgba(16, 22, 19, 0.7); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 74px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px 24px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; padding-left: 22px; }
.stat:not(:first-child) { padding-left: 22px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.storefront {
  position: relative;
  margin-top: clamp(46px, 6vw, 74px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper-deep);
}
.storefront img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 760;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.storefront:hover img { transform: scale(1.015); }
.storefront::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 22, 19, 0.46), transparent 28%);
  pointer-events: none;
}
.storefront-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.status-pill {
  position: absolute;
  top: 20px; left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(244, 240, 232, 0.94);
  color: var(--ink);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
}
.status-pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4b9c57;
  box-shadow: 0 0 0 4px rgba(75, 156, 87, 0.14);
}
.status-pill.is-closed i { background: #a35a49; box-shadow: 0 0 0 4px rgba(163, 90, 73, 0.14); }
.storefront-name {
  position: absolute;
  left: 24px; bottom: 22px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.storefront-addr {
  position: absolute;
  right: 24px; bottom: 22px;
  color: rgba(244, 240, 232, 0.84);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */
.products {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: clip;
}
.products::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw; height: 50vw;
  border: 1px solid rgba(201, 242, 77, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.products .section-label { color: rgba(244, 240, 232, 0.52); }
.products .section-label span { background: var(--lime); color: var(--ink); }
.products-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.products .section-title { color: var(--paper); }
.products-intro {
  max-width: 340px;
  justify-self: end;
  padding-bottom: 8px;
  color: rgba(244, 240, 232, 0.66);
  font-size: 14px;
  line-height: 1.9;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: clamp(36px, 5vw, 56px) 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
}
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 13px;
  background: transparent;
  color: rgba(244, 240, 232, 0.68);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.filter-btn span { font-size: 10px; opacity: 0.65; }
.filter-btn:hover { color: var(--paper); border-color: var(--line-light); }
.filter-btn.is-active { background: var(--lime); color: var(--ink); }
.filter-btn.is-active span { opacity: 0.72; }
.filter-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.try-add:focus-visible { outline-color: var(--ink); }
.filter-note {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(244, 240, 232, 0.5);
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.product-card {
  position: relative;
  background: var(--paper-soft);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: card-in 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
@keyframes card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.product-open {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.045); }
.product-index {
  position: absolute;
  top: 12px; left: 12px;
  display: grid;
  place-items: center;
  min-width: 32px; height: 24px;
  padding: 0 7px;
  background: rgba(244, 240, 232, 0.82);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.product-cat {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 9px;
  background: rgba(16, 22, 19, 0.84);
  color: var(--paper);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.product-quick {
  position: absolute;
  right: 14px; bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(8px) rotate(-12deg);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover .product-quick { opacity: 1; transform: none; }

.product-info {
  position: relative;
  padding: 17px 18px 19px;
}
.product-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.product-tagline {
  min-height: 19px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 16px;
}
.product-price span {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.product-price strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.try-add {
  position: absolute;
  z-index: 2;
  right: 14px; bottom: 14px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.try-add:hover { background: var(--ink); color: var(--lime); border-color: var(--ink); transform: rotate(90deg); }
.try-add.is-added { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.try-add svg { width: 15px; height: 15px; }
.try-add .icon-check { display: none; }
.try-add.is-added .icon-plus { display: none; }
.try-add.is-added .icon-check { display: block; }

.price-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 240, 232, 0.5);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
.price-note span { text-align: right; }

/* --------------------------------------------------------------------------
   Visit
   -------------------------------------------------------------------------- */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}
.visit-copy .section-title { max-width: 8em; }
.visit-lead {
  max-width: 30em;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}
.visit-list {
  margin-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--line);
}
.visit-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.visit-row > span {
  padding-top: 2px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.visit-row p { font-size: 14px; line-height: 1.7; }
.visit-row p a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.visit-row p a:hover { border-color: var(--ink); }
.visit-row small {
  color: var(--muted);
  font-size: 11px;
}
.visit-row strong { font-weight: 700; }
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.map-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #dce6d8;
  min-height: 560px;
  border: 1px solid rgba(16, 22, 19, 0.08);
}
.map-card > svg {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.map-pin-label {
  position: absolute;
  left: 24px; bottom: 22px;
  max-width: 260px;
  padding: 12px 14px;
  background: rgba(244, 240, 232, 0.92);
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  backdrop-filter: blur(8px);
}
.map-pin-label span {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(56px, 7vw, 86px);
}
.service {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.service-no {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.service h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.service p {
  max-width: 24em;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.service-note {
  margin-top: 26px;
  color: rgba(16, 22, 19, 0.48);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(64px, 8vw, 108px) 0;
  overflow: clip;
  position: relative;
}
.cta::after {
  content: "";
  position: absolute;
  right: -8vw; top: -50%;
  width: 46vw; aspect-ratio: 1;
  border: 1px solid rgba(16, 22, 19, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.cta .section-label { color: rgba(16, 22, 19, 0.56); }
.cta .section-label span { background: var(--ink); color: var(--lime); }
.cta h2 {
  max-width: 9em;
  margin-top: 20px;
  font-size: clamp(42px, 5.7vw, 82px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.cta h2 em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.cta p:not(.section-label) {
  max-width: 34em;
  margin-top: 18px;
  color: rgba(16, 22, 19, 0.66);
  font-size: 13px;
  line-height: 1.9;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-actions .btn { background: var(--ink); color: var(--paper); }
.cta-actions .btn:hover { background: var(--paper); color: var(--ink); }
.cta-actions > span { font-size: 10px; letter-spacing: 0.06em; color: rgba(16, 22, 19, 0.5); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 84px) 0 22px;
  overflow: clip;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: clamp(40px, 5vw, 58px);
  border-bottom: 1px solid var(--line-light);
}
.brand-footer .brand-mark { color: var(--paper); }
.brand-footer .brand-sub { color: rgba(244, 240, 232, 0.48); }
.footer-brand p {
  max-width: 24em;
  margin-top: 20px;
  color: rgba(244, 240, 232, 0.48);
  font-size: 12px;
  line-height: 1.85;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-col h3 {
  margin-bottom: 8px;
  color: rgba(244, 240, 232, 0.4);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col p {
  color: rgba(244, 240, 232, 0.72);
  font-size: 12px;
  line-height: 1.8;
  text-decoration: none;
}
.footer-col a:hover { color: var(--lime); }
.footer-col .footer-mini { color: rgba(244, 240, 232, 0.38); font-size: 10px; }

.footer-wordmark {
  margin: 34px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 240, 232, 0.13);
  white-space: nowrap;
  user-select: none;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 240, 232, 0.44);
  font-size: 10px;
  line-height: 1.7;
}
.footer-bottom p:last-child {
  grid-column: 1 / -1;
  color: rgba(244, 240, 232, 0.34);
  text-align: left;
}
.footer-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-link-btn {
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(244, 240, 232, 0.28);
  color: rgba(244, 240, 232, 0.7);
  font-size: 10px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-link-btn:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal,
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}
.modal.is-open,
.drawer.is-open { visibility: visible; opacity: 1; }
.modal-backdrop,
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 10, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.modal {
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 32px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  width: min(1060px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s var(--ease);
  overscroll-behavior: contain;
}
.modal.is-open .modal-panel { transform: none; }
.modal-close {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  padding: 0;
  background: rgba(244, 240, 232, 0.9);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.modal-close:hover { background: var(--lime); transform: rotate(90deg); }
.modal-panel > .modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 4;
}
.modal-media {
  position: relative;
  min-height: 480px;
  background: var(--paper-deep);
  overflow: hidden;
}
.modal-media img {
  width: 100%; height: 100%;
  min-height: 480px;
  object-fit: cover;
}
.modal-index {
  position: absolute;
  top: 18px; left: 18px;
  display: grid;
  place-items: center;
  min-width: 38px; height: 28px;
  padding: 0 8px;
  background: rgba(244, 240, 232, 0.9);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}
.modal-cat {
  position: absolute;
  left: 18px; bottom: 18px;
  padding: 7px 11px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.modal-body {
  padding: clamp(30px, 4vw, 52px);
  align-self: center;
}
.modal-eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.modal-body h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.modal-tagline {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}
.modal-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.modal-price span { color: var(--muted); font-size: 10px; letter-spacing: 0.06em; }
.modal-price strong { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.modal-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 22px 0;
  border-top: 1px solid var(--line);
}
.specs > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.specs dd { margin-top: 2px; font-size: 12px; font-weight: 600; }
.modal-fit {
  padding: 11px 13px;
  background: rgba(201, 242, 77, 0.26);
  border-left: 2px solid var(--lime-deep);
  color: rgba(16, 22, 19, 0.72);
  font-size: 11px;
  line-height: 1.7;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.modal-actions .btn { min-height: 46px; padding: 12px 19px; font-size: 12px; }
.modal-note {
  margin-top: 16px;
  color: rgba(16, 22, 19, 0.48);
  font-size: 10px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Drawer
   -------------------------------------------------------------------------- */
.drawer {
  display: flex;
  justify-content: flex-end;
}
.drawer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.28);
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.drawer-head h2 span {
  display: inline-grid;
  place-items: center;
  min-width: 24px; height: 24px;
  padding: 0 6px;
  margin-left: 4px;
  background: var(--lime);
  border-radius: 999px;
  font-size: 11px;
  vertical-align: 4px;
}
.drawer-close { background: transparent; }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px;
}
.drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  min-height: 260px;
  text-align: center;
}
.drawer-empty-icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  background: var(--paper-deep);
  border-radius: 50%;
  color: var(--muted);
}
.drawer-empty h3 { font-size: 16px; font-weight: 700; }
.drawer-empty p { max-width: 22em; color: var(--muted); font-size: 11px; line-height: 1.8; }
.drawer-empty .btn { margin-top: 6px; }

.drawer-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-item img {
  width: 84px; height: 62px;
  object-fit: cover;
  border-radius: 9px;
  background: var(--paper-deep);
}
.drawer-item h3 { font-size: 13px; font-weight: 700; line-height: 1.4; }
.drawer-item p { margin-top: 3px; color: var(--muted); font-size: 10px; }
.drawer-item strong { font-size: 12px; font-weight: 700; }
.drawer-remove {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.drawer-remove:hover { background: var(--ink); color: var(--paper); }

.drawer-foot {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}
.drawer-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
}
.drawer-total span { color: var(--muted); font-size: 10px; letter-spacing: 0.06em; }
.drawer-total strong { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.drawer-foot > p { color: rgba(16, 22, 19, 0.48); font-size: 10px; }
.drawer-actions { display: flex; gap: 8px; margin-top: 14px; }
.drawer-actions .btn { flex: 1; min-height: 44px; padding: 11px 14px; font-size: 11px; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(201, 242, 77, 0.3);
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero h1 { font-size: clamp(48px, 6.1vw, 86px); }
  .products-head { grid-template-columns: minmax(0, 1fr) 300px; }
  .product-name { font-size: 17px; }
}

@media (max-width: 1020px) {
  .topbar-hide { display: none; }
  .site-nav { gap: 18px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 44px;
    padding-bottom: 52px;
  }
  .hero h1 { max-width: 11em; font-size: clamp(56px, 9.4vw, 104px); }
  .hero-stage-wrap { width: min(620px, 100%); margin-inline: auto; }
  .hero-stage { aspect-ratio: 0.92; max-height: none; }
  .hero-big-number { right: 2vw; bottom: -56px; }
  .hero-card { left: 16px; bottom: 48px; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .map-card { min-height: 460px; }
  .map-card > svg { min-height: 460px; }
  .cta-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cta-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 100%; left: var(--gutter); right: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(16, 22, 19, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .menu-toggle { display: block; }
  .route-btn { display: none; }
  .header-inner { gap: 12px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .section-rail { display: flex; align-items: center; gap: 16px; }
  .rail-line { width: 60px; height: 1px; margin: 0; }
  .rail-note { max-width: none; margin: 0; }
  .about-copy { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); border-right: 0; }
  .stat { padding: 20px 16px 20px 0; }
  .stat:not(:first-child) { padding-left: 16px; }
  .products-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .products-intro { justify-self: start; max-width: 34em; padding-bottom: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .price-note { flex-direction: column; gap: 5px; }
  .price-note span { text-align: left; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .service { padding: 20px 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; gap: 9px; }
  .footer-bottom-actions { justify-content: flex-start; }
  .modal-panel { grid-template-columns: minmax(0, 1fr); max-height: calc(100svh - 24px); }
  .modal-media,
  .modal-media img { min-height: 300px; max-height: 340px; }
  .modal-body { padding: 26px 24px 30px; }
  .modal-panel > .modal-close { background: rgba(244, 240, 232, 0.94); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  html { scroll-padding-top: 70px; }
  .topbar-inner { min-height: 34px; font-size: 10px; }
  .topbar-hours { display: none; }
  .header-inner { min-height: 66px; }
  .site-header.is-scrolled .header-inner { min-height: 60px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 7px; letter-spacing: 0.12em; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 36px; height: 36px; }
  .try-trigger { padding: 8px 10px; }
  .try-trigger > span:not(.try-count) { display: none; }
  .try-count { min-width: 18px; height: 18px; }

  .hero { padding-top: 24px; }
  .eyebrow { font-size: 8px; letter-spacing: 0.14em; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(44px, 13.4vw, 66px); line-height: 1.02; letter-spacing: -0.06em; }
  .hero-lead { margin: 22px 0 24px; font-size: 13px; line-height: 1.9; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .hero-actions .link-arrow { flex: none; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-meta div:last-child { grid-column: 1 / -1; }
  .hero-meta strong { font-size: 11px; }
  .hero-stage { border-radius: 22px 22px 90px 22px; }
  .hero-sticker { width: 64px; height: 64px; font-size: 10px; top: 14px; right: 14px; }
  .stage-label { top: 18px; left: 18px; font-size: 8px; }
  .hero-card { width: 190px; padding: 12px 14px; left: 10px; bottom: 40px; }
  .hero-card-name { font-size: 15px; margin: 3px 0 7px; }
  .hero-card-label { font-size: 8px; }
  .hero-card-bottom { font-size: 12px; }
  .hero-vertical { display: none; }
  .hero-big-number { display: none; }
  .stage-caption { font-size: 8px; }
  .hero-foot { font-size: 8px; letter-spacing: 0.08em; }
  .hero-foot-right { display: none; }

  .section { padding: 72px 0; }
  .section-title { font-size: clamp(36px, 11vw, 54px); letter-spacing: -0.055em; }
  .stats { margin-top: 38px; }
  .stat-num { font-size: 38px; }
  .stat-label { font-size: 9px; }
  .storefront { border-radius: 18px; }
  .storefront img { aspect-ratio: 1200 / 900; object-position: 50% 60%; }
  .status-pill { top: 12px; left: 12px; padding: 6px 9px; font-size: 9px; }
  .storefront-name { left: 14px; bottom: 14px; font-size: 10px; }
  .storefront-addr { display: none; }

  .products-head .section-title { font-size: clamp(40px, 12vw, 62px); }
  .filter-btn { font-size: 11px; padding: 7px 11px; }
  .filter-note { display: none; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-media { aspect-ratio: 4 / 3; }
  .product-info { padding: 15px 16px 17px; }
  .product-name { font-size: 18px; }
  .product-price strong { font-size: 22px; }

  .visit-row { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
  .visit-row p { font-size: 13px; }
  .visit-actions .btn { flex: 1; min-width: 130px; }
  .map-card { min-height: 400px; border-radius: 18px; }
  .map-card > svg { min-height: 400px; }
  .map-pin-label { left: 12px; bottom: 12px; max-width: 220px; font-size: 9px; padding: 9px 11px; }
  .service h3 { font-size: 18px; }

  .cta h2 { font-size: clamp(38px, 11.5vw, 56px); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-wordmark { font-size: clamp(92px, 27vw, 150px); margin-top: 28px; }

  .modal { padding: 8px; }
  .modal-panel { max-height: calc(100svh - 16px); border-radius: 18px; }
  .modal-media, .modal-media img { min-height: 240px; max-height: 260px; }
  .modal-body { padding: 22px 18px 26px; }
  .modal-body h2 { font-size: 30px; }
  .modal-price { margin: 16px 0; padding-bottom: 14px; }
  .modal-price strong { font-size: 26px; }
  .specs { gap: 0 14px; }
  .modal-actions .btn { flex: 1; min-width: 130px; }

  .drawer-head { padding: 20px 18px 14px; }
  .drawer-body { padding: 6px 18px; }
  .drawer-foot { padding: 16px 18px 18px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 41px; }
  .hero-actions .btn { min-width: 100%; }
  .hero-actions .link-arrow { margin-left: 2px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div:last-child { grid-column: auto; }
  .filter-btn { font-size: 10px; padding: 6px 9px; }
  .stat-num { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
