/* ============================================
   KELZU.ONLINE — Quiet Future Commerce
   ============================================ */

:root {
  --graphite: #171A1D;
  --warm-white: #F7F6F1;
  --ice-blue: #BFDCE8;
  --arctic: #5F91AA;
  --pale-mint: #C9DDD2;
  --silver: #D7D9D8;
  --soft-charcoal: #34383B;
  --white: #FFFFFF;

  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 180ms;
  --space: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.bag-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 2000;
  background: var(--graphite);
  color: var(--warm-white);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.skip-link:focus {
  top: 1rem;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-charcoal);
  margin-bottom: 1.25rem;
}

.tech-label.light {
  color: var(--silver);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.95rem 1.4rem;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.btn-primary {
  background: var(--arctic);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--soft-charcoal);
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.icon-btn:focus-visible,
.bag-btn:focus-visible,
.cat-item:focus-visible,
.finder-opt:focus-visible,
.product-add:focus-visible,
.product-view:focus-visible {
  outline: 2px solid var(--arctic);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border-bottom: 1px solid var(--silver);
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

.btn-ghost:hover {
  border-color: var(--arctic);
  color: var(--arctic);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--fast) var(--ease);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(6px);
}

.text-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid var(--silver);
}

.text-link:hover {
  border-color: var(--arctic);
  color: var(--arctic);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 100;
  margin: 0.75rem var(--space) 0;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem 1.25rem;
  background: color-mix(in srgb, var(--warm-white) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--silver) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@supports not (background: color-mix(in srgb, white 50%, transparent)) {
  .header-inner {
    background: rgba(247, 246, 241, 0.92);
    border-color: var(--silver);
  }
}

.header-brand {
  justify-self: start;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  color: var(--soft-charcoal);
  margin-top: 0.3rem;
  max-width: 16rem;
}

.header-nav {
  display: flex;
  gap: 1.35rem;
  justify-content: center;
}

.header-nav a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--soft-charcoal);
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--arctic);
  transition: width var(--fast) var(--ease);
}

.header-nav a:hover {
  color: var(--graphite);
}

.header-nav a:hover::after {
  width: 100%;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
}

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.65rem;
  position: relative;
}

.bag-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0;
}

.bag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice-blue);
  margin-left: 0.15rem;
}

.menu-btn {
  display: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--graphite);
  position: relative;
  transition: transform var(--fast) var(--ease), opacity var(--fast);
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -5px;
}

.menu-lines::after {
  top: 5px;
}

.menu-btn[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.search-panel {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0.5rem auto 0;
  padding: 1rem 1.25rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--silver);
}

.search-panel[hidden] {
  display: none;
}

.search-panel input {
  width: 100%;
  border-bottom: 1px solid var(--silver);
  padding: 0.65rem 0;
  font-size: 1rem;
  outline: none;
}

.search-panel input:focus {
  border-color: var(--arctic);
}

.search-hint {
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  color: var(--soft-charcoal);
}

.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + 1.5rem) var(--space) auto;
  z-index: 99;
  background: var(--white);
  border: 1px solid var(--silver);
  padding: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  left: var(--space);
  right: var(--space);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-menu a,
.mobile-account {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-align: left;
}

/* ---------- Bag panel ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--graphite) 35%, transparent);
  z-index: 150;
}

.overlay[hidden] {
  display: none;
}

@supports not (background: color-mix(in srgb, black 50%, transparent)) {
  .overlay {
    background: rgba(23, 26, 29, 0.35);
  }
}

.bag-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: var(--white);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-left: 1px solid var(--silver);
}

.bag-panel.is-open {
  transform: translateX(0);
}

.bag-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.bag-panel-head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.bag-demo-note {
  font-size: 0.8125rem;
  color: var(--soft-charcoal);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--silver);
}

.bag-list {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bag-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--silver);
}

.bag-item-art {
  width: 56px;
  height: 56px;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bag-item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.bag-item .mono {
  color: var(--soft-charcoal);
  margin-top: 0.2rem;
}

.bag-item-meta {
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

.bag-remove {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--soft-charcoal);
  margin-top: 0.4rem;
}

.bag-remove:hover {
  color: var(--arctic);
}

.bag-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  color: var(--soft-charcoal);
}

.bag-empty[hidden],
.bag-footer[hidden] {
  display: none;
}

.bag-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--silver);
}

.bag-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.bag-footer .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--space) clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 2rem);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 8.5vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 1.5rem;
}

.hero-support {
  max-width: 28rem;
  color: var(--soft-charcoal);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-object-wrap {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 420 / 480;
}

.annotation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.measure-line {
  stroke: var(--arctic);
  stroke-width: 0.8;
  opacity: 0.45;
}

.anno {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: var(--soft-charcoal);
  opacity: 0.7;
}

.anno-a { top: 18%; left: 2%; }
.anno-b { top: 28%; right: 4%; }
.anno-c { bottom: 28%; left: 0; }
.anno-d { top: 48%; right: 0; }
.anno-e { bottom: 16%; right: 8%; }

.hero-sculpture {
  position: absolute;
  inset: 18% 22% 20%;
  z-index: 1;
}

.sculpt-shadow {
  position: absolute;
  bottom: -6%;
  left: 12%;
  right: 12%;
  height: 14px;
  background: var(--silver);
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(6px);
}

.sculpt-base {
  position: absolute;
  bottom: 8%;
  left: 10%;
  right: 10%;
  height: 38%;
  background: var(--graphite);
  border-radius: 4px 4px 10px 10px;
}

.sculpt-cylinder {
  position: absolute;
  bottom: 36%;
  left: 28%;
  width: 44%;
  height: 42%;
  background: var(--silver);
  border-radius: 999px 999px 8px 8px;
  border: 1px solid color-mix(in srgb, var(--graphite) 12%, var(--silver));
}

.sculpt-cap {
  position: absolute;
  top: 14%;
  left: 34%;
  width: 32%;
  height: 10%;
  background: var(--ice-blue);
  border-radius: 4px;
}

.sculpt-accessory {
  position: absolute;
  top: 22%;
  right: 8%;
  width: 18%;
  aspect-ratio: 1;
  background: var(--pale-mint);
  border: 1px solid var(--silver);
  transform: rotate(12deg);
}

.sculpt-slot {
  position: absolute;
  bottom: 18%;
  left: 22%;
  width: 56%;
  height: 3px;
  background: var(--warm-white);
  opacity: 0.35;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-object-wrap {
  animation: rise-in 700ms var(--ease) both;
}

.hero-object-wrap {
  animation-delay: 120ms;
}

/* ---------- Category nav ---------- */

.category-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space) clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--silver);
  padding-top: 2.5rem;
}

.cat-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--silver) transparent;
}

.cat-item {
  position: relative;
  flex: 0 0 auto;
  padding: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--soft-charcoal);
  transition: transform var(--fast) var(--ease), color var(--fast) var(--ease);
}

.cat-item span {
  display: inline-block;
  transition: transform var(--fast) var(--ease);
}

.cat-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 1.5px;
  background: var(--silver);
  transition: width var(--fast) var(--ease), background var(--fast) var(--ease);
}

.cat-dot {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--arctic);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity var(--fast) var(--ease);
}

.cat-item:hover {
  color: var(--graphite);
}

.cat-item:hover span {
  transform: translateX(4px);
}

.cat-item:hover .cat-line {
  width: 100%;
}

.cat-item:hover .cat-dot {
  opacity: 1;
  left: calc(100% - 2px);
}

.cat-item.is-active {
  color: var(--graphite);
}

.cat-item.is-active .cat-line {
  width: 100%;
  background: var(--arctic);
}

.cat-item.is-active .cat-dot {
  opacity: 1;
  left: calc(100% - 2px);
}

/* ---------- Philosophy ---------- */

.philosophy {
  background: var(--graphite);
  color: var(--warm-white);
  padding: clamp(4rem, 10vw, 7rem) var(--space);
}

.philosophy-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.philosophy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.philosophy-copy {
  max-width: 36rem;
  color: var(--silver);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.phil-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.phil-pillars li {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--ice-blue);
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--ice-blue) 40%, transparent);
  min-width: 6rem;
}

@supports not (border-top-color: color-mix(in srgb, white 40%, transparent)) {
  .phil-pillars li {
    border-top-color: rgba(191, 220, 232, 0.4);
  }
}

/* ---------- Selection ---------- */

.selection {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) var(--space) 2rem;
}

.selection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.selection-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--soft-charcoal);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pale-mint);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pale-mint) 35%, transparent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.selection h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.25rem;
}

.selection-intro {
  max-width: 34rem;
  color: var(--soft-charcoal);
}

/* ---------- Showroom list ---------- */

.showroom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--space) clamp(4rem, 8vw, 6rem);
}

.demo-banner {
  text-align: center;
  color: var(--soft-charcoal);
  padding: 0.85rem 1rem;
  border: 1px solid var(--silver);
  background: var(--white);
  margin-bottom: 1.5rem;
}

.product-list {
  display: flex;
  flex-direction: column;
}

.product-row {
  display: grid;
  grid-template-columns: 100px 1fr 1.15fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2.75rem 1rem;
  border-bottom: 1px solid var(--silver);
  transition: padding var(--fast) var(--ease), background var(--fast) var(--ease);
}

.product-row:first-child {
  border-top: 1px solid var(--silver);
}

.product-row[hidden] {
  display: none;
}

.product-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--soft-charcoal);
  transition: color var(--fast) var(--ease);
  align-self: start;
  padding-top: 0.5rem;
}

.product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  position: relative;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  background: transparent;
  transition: background var(--fast) var(--ease);
  z-index: 0;
}

.product-art {
  position: relative;
  z-index: 1;
  width: min(200px, 70%);
  aspect-ratio: 1;
  transition: transform var(--fast) var(--ease);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.product-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.product-cat {
  color: var(--soft-charcoal);
}

.product-desc {
  color: var(--soft-charcoal);
  max-width: 28rem;
  font-size: 0.95rem;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 0.35rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
  align-items: center;
}

.product-add {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--arctic);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-add .arrow {
  display: inline-block;
  transition: transform var(--fast) var(--ease);
}

.product-view {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--soft-charcoal);
  border-bottom: 1px solid var(--silver);
  padding-bottom: 2px;
}

.product-view:hover {
  color: var(--arctic);
  border-color: var(--arctic);
}

.product-row:hover {
  padding-top: 3.15rem;
  padding-bottom: 3.15rem;
}

.product-row:hover .product-art {
  transform: translateY(-10px);
}

.product-row:hover .product-visual::before {
  background: var(--ice-blue);
}

.product-row:hover .product-id {
  color: var(--arctic);
}

.product-row:hover .product-add .arrow {
  transform: translateX(8px);
}

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--soft-charcoal);
}

/* Product SVG art wrappers */
.art-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.art-floor {
  fill: var(--silver);
  opacity: 0.45;
}

/* ---------- Finder ---------- */

.finder {
  background: var(--white);
  border-top: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
  padding: clamp(4rem, 8vw, 6rem) var(--space);
}

.finder-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.finder h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.finder-support {
  max-width: 32rem;
  color: var(--soft-charcoal);
  margin-bottom: 2rem;
}

.finder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.finder-opt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--silver);
  color: var(--soft-charcoal);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease), background var(--fast) var(--ease);
}

.finder-opt:hover {
  border-color: var(--arctic);
  color: var(--graphite);
}

.finder-opt.is-active {
  border-color: var(--arctic);
  color: var(--white);
  background: var(--arctic);
}

.finder-result {
  border-top: 1px solid var(--silver);
  padding-top: 2rem;
}

.finder-result[hidden] {
  display: none;
}

.finder-result-label {
  color: var(--soft-charcoal);
  margin-bottom: 1.25rem;
}

.finder-result-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
}

.finder-art {
  width: 160px;
  height: 160px;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.finder-result-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  margin: 0.35rem 0 0.65rem;
}

.finder-result-body p {
  color: var(--soft-charcoal);
  max-width: 32rem;
}

.finder-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--graphite) !important;
  font-size: 1.15rem;
  margin: 0.75rem 0 1rem !important;
}

.finder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ---------- Closing + Footer ---------- */

.closing {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) var(--space);
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin-bottom: 1.25rem;
}

.closing p:last-child {
  max-width: 34rem;
  color: var(--soft-charcoal);
}

.site-footer {
  border-top: 1px solid var(--silver);
  padding: 3rem var(--space) 2rem;
  background: var(--warm-white);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-tag {
  color: var(--soft-charcoal);
}

.footer-col-label {
  color: var(--soft-charcoal);
  margin-bottom: 0.85rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--graphite);
}

.footer-grid a:hover {
  color: var(--arctic);
}

.footer-muted {
  color: var(--soft-charcoal) !important;
}

.footer-base {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--silver);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--soft-charcoal);
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: color-mix(in srgb, var(--graphite) 40%, transparent);
}

.modal[hidden] {
  display: none;
}

@supports not (background: color-mix(in srgb, black 40%, transparent)) {
  .modal {
    background: rgba(23, 26, 29, 0.4);
  }
}

.modal-panel {
  background: var(--white);
  width: min(860px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  border: 1px solid var(--silver);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: var(--warm-white);
}

.modal-art {
  background: var(--warm-white);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-art .product-art {
  width: min(240px, 80%);
}

.modal-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.modal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.qv-id {
  color: var(--arctic);
}

.qv-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0.25rem 0 0.5rem;
}

.qv-specs {
  margin: 0.5rem 0;
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
}

.qv-specs p {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--soft-charcoal);
}

.qv-qty {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--silver);
}

.qty-controls button {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

.qty-controls input {
  width: 42px;
  height: 36px;
  text-align: center;
  border-left: 1px solid var(--silver);
  border-right: 1px solid var(--silver);
  -moz-appearance: textfield;
  cursor: text;
}

.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qv-demo {
  color: var(--soft-charcoal);
  margin: 0.25rem 0 0.5rem;
}

.modal-body .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 300;
  background: var(--graphite);
  color: var(--warm-white);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.25rem;
  transition: transform 280ms var(--ease);
  max-width: calc(100% - 2rem);
  text-align: center;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.toast[hidden] {
  display: block;
  visibility: hidden;
}

.toast[hidden].is-visible,
.toast.is-visible {
  visibility: visible;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-stage {
    order: -1;
  }

  .hero-object-wrap {
    width: min(360px, 92%);
  }

  .product-row {
    grid-template-columns: 72px 1fr;
    gap: 1rem 1.25rem;
  }

  .product-info {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .finder-result-body {
    grid-template-columns: 120px 1fr;
  }
}

@media (max-width: 760px) {
  .header-nav,
  .desktop-only,
  .logo-sub {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-btn {
    display: inline-flex;
  }

  .bag-btn span:first-child {
    display: none;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .modal-art {
    min-height: 200px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 0.5rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .product-row {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }

  .product-id {
    padding-top: 0;
  }

  .product-visual {
    min-height: 160px;
  }

  .finder-result-body {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .anno {
    font-size: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
