:root {
  --ink: #171717;
  --graphite: #242424;
  --graphite-2: #333333;
  --mid: #77786f;
  --silver: #c8c8c1;
  --paper: #f2f2eb;
  --white: #fafaf5;
  --acid: #c9ff2f;
  --acid-dark: #7fa500;
  --line: #171717;
  --shadow: 5px 5px 0 #171717;
  --font: "Arial Rounded MT Bold", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23,23,23,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,23,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  font-family: var(--font);
  line-height: 1.6;
}

button, input { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { color: inherit; }

a { color: inherit; }

svg { display: block; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--acid);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 12px;
  border: 2px solid var(--ink);
  background: var(--silver);
  box-shadow: 3px 3px 0 rgba(23,23,23,.9);
}

.title-bar {
  min-height: 34px;
  padding: 4px 5px 4px 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--graphite);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .04em;
}

.brand-mark {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  border: 1px solid var(--white);
}

.brand-mark svg { width: 16px; fill: currentColor; shape-rendering: crispEdges; }

.window-controls { display: flex; gap: 3px; }

.window-controls span {
  width: 24px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--silver);
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  border-right: 2px solid #5c5c5c;
  border-bottom: 2px solid #5c5c5c;
  font-family: Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
}

.menu-row {
  min-height: 54px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.primary-nav { display: flex; align-items: center; gap: 8px; }

.primary-nav a {
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.primary-nav a::first-letter { text-decoration: underline; text-underline-offset: 3px; }
.primary-nav a:hover { background: var(--ink); color: var(--acid); border-color: var(--ink); }

.retro-button, .filter-button, .add-button {
  min-height: 42px;
  border-top: 3px solid var(--white);
  border-left: 3px solid var(--white);
  border-right: 3px solid #545454;
  border-bottom: 3px solid #545454;
  background: var(--silver);
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.retro-button:active, .filter-button:active, .add-button:active {
  border-top-color: #545454;
  border-left-color: #545454;
  border-right-color: var(--white);
  border-bottom-color: var(--white);
  transform: translate(1px, 1px);
}

.bag-button {
  margin-left: auto;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.bag-button svg { width: 18px; fill: currentColor; }

.count-badge {
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  background: var(--acid);
  border: 1px solid var(--ink);
  font-size: 12px;
  line-height: 1;
}

.menu-toggle { display: none; padding: 5px 10px; align-items: center; gap: 7px; }
.menu-toggle svg { width: 16px; fill: currentColor; }

.hero {
  min-height: calc(100vh - 108px);
  padding: clamp(54px, 7vw, 104px) clamp(20px, 6vw, 88px) 68px;
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(380px, 1.13fr);
  align-items: center;
  gap: clamp(24px, 5vw, 82px);
  overflow: hidden;
}

.hero-copy { max-width: 640px; }

.eyebrow, .section-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 6px 9px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 3px;
}

.status-light {
  width: 8px;
  height: 8px;
  background: var(--acid);
  box-shadow: 0 0 0 2px rgba(201,255,47,.22);
}

.hero h1 {
  margin: 24px 0 18px;
  max-width: 700px;
  font-size: clamp(56px, 7.5vw, 116px);
  line-height: .88;
  letter-spacing: -.075em;
}

.kinetic-word {
  position: relative;
  display: inline-block;
  padding: .02em .13em .1em .06em;
  color: var(--acid);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-3deg);
  animation: nudge 3.8s steps(1, end) infinite;
}

.kinetic-word::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -8%;
  bottom: -.1em;
  height: .12em;
  background: var(--ink);
  transform: skewX(-23deg);
}

@keyframes nudge {
  0%, 88%, 100% { transform: rotate(-3deg) translate(0); }
  90% { transform: rotate(-1deg) translate(4px, -3px); }
  92% { transform: rotate(-4deg) translate(-3px, 2px); }
  94% { transform: rotate(-3deg) translate(2px, 0); }
}

.hero-intro {
  max-width: 540px;
  margin: 0;
  color: #3f3f3c;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
}

.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .retro-button { padding: 10px 17px; }

.primary-button {
  color: var(--ink);
  background: var(--acid);
  border-top-color: #efffbf;
  border-left-color: #efffbf;
  border-right-color: var(--acid-dark);
  border-bottom-color: var(--acid-dark);
}

.hero-stats {
  margin: 46px 0 0;
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}

.hero-stats div { padding-right: 12px; }
.hero-stats div + div { padding-left: 16px; border-left: 1px solid #aaa; }
.hero-stats dt { font-size: 24px; font-weight: 900; line-height: 1; }
.hero-stats dd { margin: 7px 0 0; color: #60605d; font-size: 12px; font-weight: 800; }

.hero-showcase {
  position: relative;
  min-height: 630px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.shape { position: absolute; z-index: -2; }

.shape-one {
  width: 82%;
  aspect-ratio: 1;
  background: var(--acid);
  border: 3px solid var(--ink);
  border-radius: 57% 43% 55% 45% / 41% 61% 39% 59%;
  box-shadow: 11px 11px 0 var(--ink);
  transform: rotate(5deg);
}

.shape-two {
  width: 31%;
  aspect-ratio: 1;
  right: -3%;
  bottom: 10%;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: repeating-conic-gradient(var(--graphite) 0 25%, var(--paper) 0 50%) 0/24px 24px;
}

.hero-object {
  width: min(460px, 74%);
  padding: 20px 22px 18px;
  background: rgba(250,250,245,.93);
  border: 2px solid var(--ink);
  border-radius: 38px 38px 54px 17px;
  box-shadow: 9px 9px 0 rgba(23,23,23,.9);
  transform: rotate(1.5deg);
}

.object-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
}

.robot-hero { width: 100%; max-height: 390px; overflow: visible; }
.robot-shadow { fill: rgba(23,23,23,.15); }
.robot-body { fill: var(--graphite); stroke: var(--ink); stroke-width: 5; }
.robot-screen, .robot-panel { fill: var(--silver); }
.robot-detail { fill: var(--acid); stroke: var(--ink); stroke-width: 6; stroke-linecap: square; }
.robot-limbs, .robot-antenna, .robot-wind { fill: none; stroke: var(--ink); stroke-width: 15; stroke-linecap: square; stroke-linejoin: round; }
.robot-antenna circle, .robot-hands { fill: var(--acid); stroke: var(--ink); stroke-width: 6; }

.object-caption { display: flex; justify-content: space-between; align-items: end; gap: 18px; border-top: 2px solid var(--ink); padding-top: 12px; }
.object-caption strong, .object-caption span { display: block; }
.object-caption strong { font-size: 18px; }
.object-caption span { color: #666; font-size: 12px; }
.object-caption b { font-size: 24px; white-space: nowrap; }

.floating-window {
  position: absolute;
  z-index: 2;
  background: var(--silver);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.floating-window p { margin: 6px 10px; }
.window-a { top: 10%; left: 0; width: 180px; transform: rotate(-4deg); }
.mini-title { padding: 3px 6px; background: var(--graphite); color: var(--white); font-weight: 900; }
.window-b { right: -1%; bottom: 14%; width: 150px; padding: 10px; transform: rotate(4deg); }
.window-b span, .window-b strong { display: block; }
.pixel-meter { display: flex; gap: 3px; margin: 7px 0; }
.pixel-meter i { width: 18px; height: 11px; background: var(--acid); border: 1px solid var(--ink); }
.pixel-meter i:last-child { background: var(--white); }

.ticker {
  overflow: hidden;
  color: var(--acid);
  background: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.ticker-track {
  min-width: max-content;
  padding: 14px 0;
  display: flex;
  justify-content: space-around;
  gap: 38px;
  width: 100%;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
}

.ticker i { color: var(--white); font-style: normal; }

.section-shell { padding: clamp(72px, 9vw, 138px) clamp(20px, 6vw, 88px); }

.section-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  align-items: end;
  gap: 50px;
}

.section-heading h2, .story-copy h2 {
  margin: 9px 0 0;
  max-width: 780px;
  font-size: clamp(38px, 5vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
}

.section-heading > p { max-width: 460px; margin: 0 0 7px; color: #565651; font-weight: 600; }

.catalog-toolbar {
  margin-bottom: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--silver);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-button { min-height: 36px; padding: 5px 12px; font-size: 13px; }
.filter-button.active { background: var(--ink); color: var(--acid); border-top-color: #555; border-left-color: #555; }

.search-box {
  width: min(300px, 100%);
  height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-top: 2px solid #555;
  border-left: 2px solid #555;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}

.search-box svg { width: 18px; flex: 0 0 auto; fill: currentColor; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; }

.result-status { margin: 16px 2px; font-family: "Courier New", monospace; font-size: 12px; font-weight: 900; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}

.product-card {
  grid-column: span 4;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 26px 8px 26px 8px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.featured-card { grid-column: span 7; }
.tall-card { grid-column: span 5; margin-top: 68px; }
.compact-card { grid-column: span 4; }
.wide-card { grid-column: span 8; margin-top: -18px; }
.product-card[hidden] { display: none; }

.product-visual {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.featured-card .product-visual { min-height: 355px; }
.wide-card .product-visual { min-height: 300px; }
.product-visual > svg { width: min(84%, 430px); max-height: 290px; overflow: visible; }

.lime-visual { background: var(--acid); }
.graphite-visual { background: var(--graphite); }
.pale-visual { background: #deded5; }
.stripe-visual { background: repeating-linear-gradient(-45deg, #d7d7cf 0 14px, #eeeeE7 14px 28px); }
.dot-visual { background-color: #deded6; background-image: radial-gradient(var(--mid) 1px, transparent 1px); background-size: 10px 10px; }
.checker-visual { background: conic-gradient(from 90deg at 2px 2px, transparent 90deg, #b5b5ae 0) 0 0/30px 30px, #e3e3db; }

.heart-button {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--silver);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.heart-button[aria-pressed="true"] { background: var(--acid); }

.corner-label, .stock-chip {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--white);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
}

.stock-chip { color: var(--ink); background: var(--acid); border-color: var(--ink); }

.toy-dark { fill: var(--graphite); stroke: var(--ink); stroke-width: 4; stroke-linecap: square; stroke-linejoin: round; }
.toy-light { fill: var(--silver); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.toy-screen { fill: #85867f; stroke: var(--ink); stroke-width: 3; }
.toy-accent, .pixel-sprite { fill: var(--acid); stroke: var(--ink); stroke-width: 3; }
.toy-line { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: square; }
.soft-shadow { fill: rgba(23,23,23,.17); }

.product-info { padding: 20px; }
.product-info > div:first-child { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.product-series { color: #65655f; font-family: "Courier New", monospace; font-size: 11px; font-weight: 900; }
.product-info h3 { margin: 2px 0 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.1; }
.product-info p { min-height: 52px; margin: 14px 0 18px; color: #5d5d57; font-size: 13px; font-weight: 600; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 15px; border-top: 1px dashed #83837d; }
.product-bottom strong { font-size: 22px; white-space: nowrap; }
.add-button { min-height: 38px; padding: 5px 10px; font-size: 12px; }
.add-button.added { color: var(--ink); background: var(--acid); }

.empty-state { padding: 80px 20px; text-align: center; border: 2px dashed var(--ink); background: rgba(250,250,245,.7); }
.empty-state > span { display: block; font-family: "Courier New", monospace; font-size: 62px; font-weight: 900; }
.empty-state h3 { margin: 8px 0 4px; font-size: 24px; }
.empty-state p { margin: 0 0 22px; }
.empty-state .retro-button { padding: 8px 14px; }

.story { padding-top: 18px; }
.story-window { background: var(--silver); border: 3px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); }
.window-title { padding: 5px 8px; display: flex; justify-content: space-between; background: var(--graphite); color: var(--white); font-family: "Courier New", monospace; font-size: 13px; font-weight: 900; }
.story-layout { padding: clamp(28px, 6vw, 78px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(35px, 8vw, 120px); }
.story-copy p { max-width: 620px; margin: 25px 0; color: #4e4e49; font-weight: 600; }
.story-copy .retro-button { padding: 9px 15px; }

.guide-steps { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.guide-steps li { padding: 20px 0; display: grid; grid-template-columns: 55px 1fr; gap: 17px; border-bottom: 2px solid var(--ink); }
.guide-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--acid); background: var(--ink); border-radius: 50% 50% 43% 57%; font-family: "Courier New", monospace; font-weight: 900; }
.guide-steps h3 { margin: 0; font-size: 19px; }
.guide-steps p { margin: 3px 0 0; color: #575752; font-size: 13px; }

.service { padding-top: 80px; }
.service-heading { grid-template-columns: 1fr; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-grid article { min-height: 250px; padding: 26px; display: flex; flex-direction: column; background: var(--graphite); color: var(--white); border: 2px solid var(--ink); border-radius: 9px 45px 9px 45px; box-shadow: 5px 5px 0 var(--acid); }
.service-grid article:nth-child(2) { border-radius: 45px 9px 45px 9px; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--ink); background: var(--acid); border: 2px solid var(--white); font-family: "Courier New", monospace; font-size: 28px; font-weight: 900; }
.service-grid h3 { margin: auto 0 4px; font-size: 23px; }
.service-grid p { margin: 0; color: #d3d3cc; font-size: 13px; }
.back-to-top { width: max-content; margin: 54px 0 0 auto; display: flex; align-items: center; gap: 8px; font-weight: 900; text-underline-offset: 4px; }
.back-to-top span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--acid); border: 2px solid var(--ink); }

.modal {
  width: min(540px, calc(100% - 24px));
  max-height: min(700px, calc(100vh - 30px));
  padding: 0;
  color: var(--ink);
  background: var(--silver);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(0,0,0,.75);
}

.modal::backdrop { background: rgba(23,23,23,.76); backdrop-filter: blur(2px); }
.modal-titlebar { min-height: 38px; padding: 4px 5px 4px 9px; display: flex; align-items: center; justify-content: space-between; color: var(--white); background: var(--graphite); }
.modal-titlebar h2 { margin: 0; font-family: "Courier New", monospace; font-size: 14px; }
.modal-titlebar button { width: 28px; height: 26px; display: grid; place-items: center; background: var(--silver); border: 2px outset var(--white); font-weight: 900; cursor: pointer; }
.modal-body { padding: 22px; overflow: auto; }
.cart-empty { padding: 50px 20px; text-align: center; border: 2px inset var(--white); background: var(--white); }
.cart-empty span { font-size: 42px; }
.cart-empty p { margin: 10px auto 0; max-width: 330px; }
.cart-row { padding: 12px 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 13px; border-bottom: 1px dashed #555; }
.cart-row strong { font-size: 14px; }
.cart-row span { font-size: 13px; }
.cart-row button { width: 30px; height: 30px; background: var(--silver); border: 2px outset var(--white); cursor: pointer; }
.cart-summary { margin-top: 22px; padding-top: 15px; display: flex; justify-content: space-between; border-top: 2px solid var(--ink); }
.cart-summary strong { font-size: 24px; }
.checkout-button { width: 100%; margin-top: 16px; padding: 9px 15px; }
.checkout-button:disabled { filter: grayscale(1); cursor: not-allowed; opacity: .6; }
.cart-note { margin: 12px 0 0; color: #53534e; font-size: 11px; text-align: center; }
.guide-lead { margin-top: 0; font-size: 18px; font-weight: 900; }
.guide-checklist { margin: 20px 0; display: grid; gap: 10px; }
.guide-checklist label { padding: 13px; display: flex; align-items: start; gap: 10px; background: var(--white); border: 2px inset var(--white); cursor: pointer; }
.guide-checklist input { width: 20px; height: 20px; accent-color: var(--acid-dark); }
.guide-checklist span, .guide-checklist b { display: block; }
.guide-checklist span { font-size: 13px; }
.guide-checklist b { margin-bottom: 2px; font-size: 15px; }
.guide-body > .retro-button { width: 100%; padding: 9px 15px; }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: min(360px, calc(100% - 44px));
  padding: 12px 16px;
  color: var(--acid);
  background: var(--graphite);
  border: 2px solid var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show { opacity: 1; transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: .9fr 1.1fr; padding-left: 36px; padding-right: 36px; }
  .hero-showcase { min-height: 550px; }
  .window-a { left: -5%; }
  .product-card { grid-column: span 5; }
  .featured-card { grid-column: span 7; }
  .tall-card { grid-column: span 5; }
  .compact-card { grid-column: span 5; }
  .wide-card { grid-column: span 7; }
}

@media (max-width: 820px) {
  .site-header { margin: 8px; }
  .menu-row { position: relative; justify-content: space-between; gap: 8px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    padding: 8px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--silver);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px; border-bottom: 1px dotted #555; }
  .bag-button { margin-left: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding: 72px 25px 65px; }
  .hero h1 { font-size: clamp(62px, 15vw, 96px); }
  .hero-copy { max-width: 720px; }
  .hero-showcase { min-height: 570px; }
  .hero-object { width: min(430px, 72%); }
  .shape-one { width: min(560px, 82%); }
  .window-a { left: 6%; }
  .window-b { right: 5%; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .product-card, .featured-card, .tall-card, .compact-card, .wide-card { grid-column: span 6; margin-top: 0; }
  .product-visual, .featured-card .product-visual, .wide-card .product-visual { min-height: 270px; }
  .story-layout { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 210px; }
}

@media (max-width: 560px) {
  .brand > span:last-child { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .window-controls span:first-child { display: none; }
  .menu-row { min-height: 50px; padding: 6px; }
  .retro-button { min-height: 40px; }
  .bag-button { font-size: 12px; }
  .hero { padding: 56px 18px 54px; overflow: hidden; }
  .hero h1 { margin-top: 20px; font-size: clamp(54px, 18vw, 78px); }
  .kinetic-word { -webkit-text-stroke-width: 1.5px; text-shadow: 3px 3px 0 var(--ink); }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .retro-button { text-align: center; }
  .hero-stats { margin-top: 35px; }
  .hero-stats dt { font-size: 20px; }
  .hero-stats dd { font-size: 10px; }
  .hero-showcase { min-height: 430px; margin: 10px -18px 0; }
  .hero-object { width: 74%; padding: 13px; border-radius: 28px 28px 37px 13px; }
  .robot-hero { max-height: 265px; }
  .shape-one { width: 84%; }
  .shape-two { width: 28%; right: 0; }
  .window-a { top: 3%; left: 2%; width: 136px; font-size: 9px; }
  .window-b { right: 2%; bottom: 6%; width: 118px; font-size: 9px; }
  .object-caption strong { font-size: 13px; }
  .object-caption span { font-size: 9px; }
  .object-caption b { font-size: 16px; }
  .ticker-track { justify-content: flex-start; padding-left: 18px; gap: 22px; font-size: 11px; }
  .section-shell { padding: 70px 16px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .story-copy h2 { font-size: 39px; }
  .catalog-toolbar { padding: 7px; box-shadow: 3px 3px 0 var(--ink); }
  .filter-group { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-button { padding-left: 7px; padding-right: 7px; }
  .product-grid { gap: 18px; }
  .product-card, .featured-card, .tall-card, .compact-card, .wide-card { grid-column: 1 / -1; }
  .product-visual, .featured-card .product-visual, .wide-card .product-visual { min-height: 260px; }
  .product-info { padding: 17px; }
  .product-info p { min-height: 0; }
  .story { padding-top: 0; }
  .story-layout { padding: 25px 17px; }
  .guide-steps li { grid-template-columns: 48px 1fr; gap: 10px; }
  .guide-steps li > span { width: 40px; height: 40px; }
  .service { padding-bottom: 88px; }
  .service-grid article { padding: 22px; }
  .modal-body { padding: 16px; }
  .cart-row { grid-template-columns: 1fr auto; }
  .cart-row button { grid-column: 2; }
  .toast { right: 14px; bottom: 14px; max-width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .kinetic-word { animation: none; }
}
