/* =========================================================
   PrintOK — design system
   ========================================================= */

:root {
  --ink: #0a0f1c;
  --ink-2: #111a2c;
  --ink-3: #1c2740;
  --muted: #5b6b84;
  --muted-2: #8494ab;
  --paper: #ffffff;
  --paper-2: #f6f8fb;
  --paper-3: #edf1f7;
  --line: #dfe6ef;
  --line-2: #e9eef5;

  --brand: #ff4b2b;
  --brand-600: #e63a1a;
  --brand-soft: #fff1ec;
  --cyan: #00b8d9;
  --magenta: #e03e8e;
  --yellow: #ffc531;
  --green: #12b76a;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-xs: 0 1px 2px rgba(10, 15, 28, 0.06);
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, 0.05), 0 6px 16px -8px rgba(10, 15, 28, 0.14);
  --shadow-md: 0 14px 34px -16px rgba(10, 15, 28, 0.22);
  --shadow-lg: 0 34px 70px -30px rgba(10, 15, 28, 0.32);

  --max: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 74px;

  --font-sans: "Inter", "Noto Sans HK", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang HK", "Hiragino Sans", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.022em;
  line-height: 1.16;
  text-wrap: balance;
}

p {
  margin: 0;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--paper {
  background: var(--paper-2);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--ink .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.stack {
  display: grid;
  gap: 18px;
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan) 0 33%, var(--magenta) 33% 66%, var(--yellow) 66%);
}

[data-lang="en"] .eyebrow {
  letter-spacing: 0.16em;
}

.h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 780;
  letter-spacing: -0.032em;
}

.h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.028em;
}

.h3 {
  font-size: clamp(21px, 2.2vw, 26px);
}

.lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.72;
  color: var(--muted);
}

.section--ink .lead {
  color: rgba(255, 255, 255, 0.68);
}

.small {
  font-size: 13.5px;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.text-brand {
  color: var(--brand);
}

.underline-mark {
  position: relative;
  white-space: nowrap;
}

.underline-mark::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 3px;
  transform: skewX(-8deg);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-xs);
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--brand {
  --btn-bg: var(--brand);
  box-shadow: 0 10px 24px -12px rgba(255, 75, 43, 0.9);
}

.btn--brand:hover {
  --btn-bg: var(--brand-600);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 16.5px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 640;
  font-size: 14.5px;
  color: var(--brand);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(10, 15, 28, 0.5);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px -8px rgba(10, 15, 28, 0.7);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0 33%, var(--magenta) 33% 66%, var(--yellow) 66%);
}

.brand__mark span {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.06em;
  transform: translateY(-1px);
}

.brand__word {
  line-height: 1;
}

.brand__word em {
  font-style: normal;
  color: var(--brand);
}

.brand__tag {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-top: 4px;
}

[data-lang="en"] .brand__tag {
  letter-spacing: 0.22em;
}

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

.nav__link {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav__link svg {
  width: 12px;
  height: 12px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover {
  background: var(--paper-3);
}

.nav__link.is-active {
  color: var(--brand);
  font-weight: 650;
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
}

.nav__item {
  position: relative;
}

.nav__item:hover .nav__link svg {
  transform: rotate(180deg);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  position: relative;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.icon-btn__badge.is-on {
  transform: scale(1);
}

.header__phone {
  font-weight: 680;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-inline: 12px;
  white-space: nowrap;
}

.header__phone svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: #fff;
}

.lang button {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.lang button.is-on {
  background: var(--ink);
  color: #fff;
}

/* mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(880px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.28s var(--ease), visibility 0.22s;
}

.nav__item:hover .mega,
.nav__item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega__item {
  display: flex;
  gap: 11px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background-color 0.18s ease;
  align-items: flex-start;
}

.mega__item:hover {
  background: var(--paper-2);
}

.mega__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--paper-3);
  flex: none;
  color: var(--ink);
}

.mega__icon svg {
  width: 17px;
  height: 17px;
}

.mega__name {
  font-size: 13.5px;
  font-weight: 640;
  line-height: 1.35;
}

.mega__price {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

.mega__foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-2);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
}

/* mobile drawer nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: #fff;
  z-index: 89;
  padding: 22px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 17px;
  font-weight: 600;
}

.mobile-nav a span {
  color: var(--muted-2);
  font-size: 12px;
}

.mobile-nav__cta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 84px) clamp(50px, 7vw, 96px);
  background:
    radial-gradient(1200px 600px at 78% -12%, rgba(0, 184, 217, 0.1), transparent 62%),
    radial-gradient(760px 460px at 100% 6%, rgba(255, 197, 49, 0.16), transparent 66%),
    radial-gradient(700px 420px at 6% 100%, rgba(224, 62, 142, 0.08), transparent 68%),
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 34%, #000 0 42%, transparent 76%);
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}

.hero__badge b {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.16);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(34px, 4.1vw, 52px);
  letter-spacing: -0.036em;
  line-height: 1.12;
  font-weight: 790;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero__lead {
  margin-top: 20px;
  max-width: 30em;
  font-size: clamp(15.5px, 1.2vw, 18px);
  color: var(--muted);
  line-height: 1.72;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

/* hero visual — layered print sheets */
.hero__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.sheet {
  position: absolute;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-2);
  overflow: hidden;
}

.sheet--back {
  width: 62%;
  aspect-ratio: 0.78;
  transform: rotate(-9deg) translate(-46px, -12px);
  background: linear-gradient(160deg, #0a0f1c, #1c2740);
  border-color: rgba(255, 255, 255, 0.1);
}

.sheet--mid {
  width: 66%;
  aspect-ratio: 0.86;
  transform: rotate(4deg) translate(38px, 6px);
  background: linear-gradient(150deg, #fff8e6, #ffe9b8);
}

.sheet--front {
  width: 70%;
  aspect-ratio: 1.02;
  transform: rotate(-2.4deg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sheet__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 650;
}

.sheet__title {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sheet__title em {
  font-style: normal;
  color: var(--brand);
}

.sheet__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.sheet__price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.sheet__price b {
  display: block;
  font-family: var(--font-sans);
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
}

.cmyk-bar {
  display: flex;
  gap: 5px;
}

.cmyk-bar i {
  width: 22px;
  height: 8px;
  border-radius: 2px;
}

.cmyk-bar i:nth-child(1) {
  background: var(--cyan);
}
.cmyk-bar i:nth-child(2) {
  background: var(--magenta);
}
.cmyk-bar i:nth-child(3) {
  background: var(--yellow);
}
.cmyk-bar i:nth-child(4) {
  background: var(--ink);
}

.hero__chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 620;
  animation: float 6s ease-in-out infinite;
}

.hero__chip svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.hero__chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 11px;
}

.hero__chip--a {
  top: 2%;
  right: -3%;
}

.hero__chip--b {
  top: 40%;
  left: -8%;
  animation-delay: -2.4s;
}

.hero__chip--c {
  bottom: 2%;
  right: -5%;
  animation-delay: -4.2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__chip {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- trust bar ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-block: 20px;
  flex-wrap: wrap;
}

.trust__label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 650;
  flex: none;
}

.trust__logos {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.4vw, 46px);
  flex-wrap: wrap;
  opacity: 0.62;
}

.trust__logos span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-3);
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: #fff;
  padding: 24px 22px;
}

.stat__num {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat__num small {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.stat__label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- section head ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
  flex-wrap: wrap;
}

.section-head__text {
  max-width: 34em;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head .lead {
  margin-top: 12px;
}

/* ---------- product cards ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.2s;
  overflow: hidden;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.cat-card__art {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.cat-card__art svg {
  width: 100%;
  height: 100%;
}

.cat-card__icon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
}

.cat-card__icon svg {
  width: 17px;
  height: 17px;
}

.cat-card__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cat-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.cat-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}

.cat-card__from {
  font-size: 12px;
  color: var(--muted-2);
  white-space: nowrap;
}

.cat-card__from b {
  display: inline;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-left: 3px;
}

.cat-card__go {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
}

.cat-card:hover .cat-card__go {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: rotate(-45deg);
}

.cat-card__go svg {
  width: 15px;
  height: 15px;
}

/* product art backgrounds */
.art-card {
  background: linear-gradient(150deg, #eef2f9, #dfe7f3);
}
.art-poster {
  background: linear-gradient(150deg, #ffe8e2, #ffd0c4);
}
.art-book {
  background: linear-gradient(150deg, #e6f7fb, #c8eef6);
}
.art-sticker {
  background: linear-gradient(150deg, #fff6dc, #ffe6a8);
}
.art-letter {
  background: linear-gradient(150deg, #eaf0ff, #d6e2ff);
}
.art-cal {
  background: linear-gradient(150deg, #fdebff, #f7d4ff);
}
.art-laisee {
  background: linear-gradient(150deg, #ffe9ec, #ffcdd6);
}
.art-bag {
  background: linear-gradient(150deg, #eef7ec, #d4edd0);
}
.art-leaflet {
  background: linear-gradient(150deg, #f2f0ff, #ded8ff);
}

/* ---------- feature list ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  margin-bottom: 16px;
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

.feature p {
  font-size: 13.8px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.step__num::before {
  content: "0";
}

.step h3 {
  font-size: 16.5px;
  margin: 10px 0 6px;
}

.step p {
  font-size: 13.2px;
  color: var(--muted);
  line-height: 1.62;
}

.step::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -9px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  transform: rotate(45deg);
  background: #fff;
  z-index: 2;
}

.step:last-child::after {
  display: none;
}

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote__stars {
  display: flex;
  gap: 3px;
  color: var(--yellow);
}

.quote__stars svg {
  width: 15px;
  height: 15px;
}

.quote p {
  font-size: 14.6px;
  line-height: 1.72;
  color: var(--ink-2);
}

.quote__who {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 4px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex: none;
}

.quote__who b {
  display: block;
  font-size: 13.5px;
}

.quote__who span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0a0f1c, #17223a 60%, #1d2a45);
  color: #fff;
  padding: clamp(32px, 4.4vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
  align-items: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 75, 43, 0.5), transparent 66%);
  right: -90px;
  top: -140px;
  filter: blur(10px);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
  opacity: 0.5;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 40px);
}

.cta-band p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 30em;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  position: relative;
  margin-top: 0;
}

.footer::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--brand) 75%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(44px, 5vw, 64px) 40px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 13.6px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 26em;
  line-height: 1.7;
}

.footer .brand__mark {
  background: #fff;
}

.footer .brand__mark span {
  color: var(--ink);
}

.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 650;
  margin-bottom: 14px;
}

.footer__col a,
.footer__col li {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.74);
  padding-block: 5px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer__col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer__contact li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.55;
}

.footer__contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 3px;
  color: var(--yellow);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.6px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  gap: 18px;
}

/* ---------- floating actions ---------- */
.float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.float__btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  position: relative;
}

.float__btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.float__btn svg {
  width: 24px;
  height: 24px;
}

.float__btn--wa {
  background: #25d366;
  color: #fff;
}

.float__btn--top {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.float__btn--top.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.float__btn--top svg {
  width: 18px;
  height: 18px;
}

.float__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s var(--ease);
}

.float__btn:hover .float__tip {
  opacity: 1;
  transform: translateY(-50%);
}

/* ---------- cart drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 28, 0.44);
  backdrop-filter: blur(3px);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  z-index: 96;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.36s var(--ease);
  box-shadow: var(--shadow-lg);
}

.cart.is-open {
  transform: none;
}

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart__head h3 {
  font-size: 17px;
}

.cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart__empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
  display: grid;
  gap: 14px;
  justify-items: center;
  padding-block: 40px;
}

.cart__empty svg {
  width: 46px;
  height: 46px;
  color: var(--line);
}

.cart-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.cart-item__thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cart-item__thumb svg {
  width: 100%;
  height: 100%;
}

.cart-item__name {
  font-size: 13.8px;
  font-weight: 640;
  line-height: 1.35;
}

.cart-item__spec {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.45;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}

.cart-item__qty button {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--muted);
}

.cart-item__qty button:hover {
  background: var(--paper-3);
  color: var(--ink);
}

.cart-item__qty span {
  font-size: 12.5px;
  font-weight: 650;
  min-width: 42px;
  text-align: center;
}

.cart-item__price {
  text-align: right;
  font-weight: 680;
  font-size: 14px;
  white-space: nowrap;
}

.cart-item__remove {
  font-size: 11.5px;
  color: var(--muted-2);
  text-decoration: underline;
  margin-top: 8px;
}

.cart__foot {
  border-top: 1px solid var(--line);
  padding: 18px 20px 22px;
  display: grid;
  gap: 12px;
  background: var(--paper-2);
}

.cart__row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
}

.cart__row--total {
  font-size: 18px;
  color: var(--ink);
  font-weight: 720;
  letter-spacing: -0.02em;
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(14px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 9px;
}

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

.toast svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(36px, 4.4vw, 60px) clamp(26px, 3vw, 40px);
  background:
    radial-gradient(700px 320px at 88% -30%, rgba(0, 184, 217, 0.12), transparent 70%),
    radial-gradient(520px 280px at 4% 0%, rgba(255, 197, 49, 0.16), transparent 72%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.034em;
}

.page-hero p {
  margin-top: 14px;
  max-width: 46em;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs span {
  opacity: 0.5;
}

/* ---------- product listing ---------- */
.listing {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 22px;
}

.filter-group h4 {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
  font-weight: 650;
}

.filter-list {
  display: grid;
  gap: 2px;
}

.filter-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 13.6px;
  font-weight: 550;
  color: var(--ink-2);
  transition: background-color 0.18s ease, color 0.18s ease;
  text-align: left;
}

.filter-list button:hover {
  background: var(--paper-3);
}

.filter-list button.is-on {
  background: var(--ink);
  color: #fff;
  font-weight: 620;
}

.filter-list button span {
  font-size: 11.5px;
  opacity: 0.55;
}

.listing__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.listing__count {
  font-size: 13px;
  color: var(--muted);
}

.select {
  appearance: none;
  padding: 9px 34px 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6b84' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 13px center;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.prod {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: all 0.28s var(--ease);
  align-items: center;
}

.prod:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.prod__art {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  flex: none;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.prod__art svg {
  width: 100%;
  height: 100%;
}

.prod__body {
  min-width: 0;
  flex: 1;
}

.prod__tag {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 650;
}

.prod__name {
  font-size: 15.2px;
  font-weight: 680;
  letter-spacing: -0.015em;
  margin-top: 3px;
  line-height: 1.35;
}

.prod__spec {
  font-size: 12.2px;
  color: var(--muted);
  margin-top: 4px;
}

.prod__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.prod__price {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.prod__price small {
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 500;
}

/* ---------- quote page ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 388px;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 26px);
}

.panel + .panel {
  margin-top: 16px;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel__head h3 {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel__head h3 i {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-style: normal;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-2);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chip:hover {
  border-color: var(--muted-2);
}

.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip small {
  font-size: 11px;
  opacity: 0.6;
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.opt {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
}

.opt:hover {
  border-color: var(--muted-2);
}

.opt.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink) inset;
}

.opt.is-on::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.opt b {
  display: block;
  font-size: 13.6px;
  font-weight: 640;
}

.opt span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.summary__art {
  height: 132px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.summary__art svg {
  width: 100%;
  height: 100%;
}

.summary__body {
  padding: 20px;
}

.summary__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.summary__specs {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.summary__specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.8px;
  color: var(--muted);
}

.summary__specs b {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.summary__price {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.summary__price span {
  font-size: 12px;
  color: var(--muted);
}

.summary__price b {
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.summary__price b small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.summary__note {
  margin-top: 10px;
  font-size: 11.6px;
  color: var(--muted-2);
  line-height: 1.55;
}

.summary__cta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.stepper button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 17px;
  transition: background-color 0.18s;
}

.stepper button:hover {
  background: var(--paper-3);
  color: var(--ink);
}

.stepper input {
  width: 68px;
  border: 0;
  text-align: center;
  font-weight: 680;
  font-size: 14px;
  background: transparent;
  -moz-appearance: textfield;
}

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

.hint {
  font-size: 11.8px;
  color: var(--muted-2);
}

/* ---------- upload ---------- */
.dropzone {
  border: 1.6px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: all 0.22s ease;
  background: var(--paper-2);
  cursor: pointer;
}

.dropzone:hover,
.dropzone.is-over {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.dropzone svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  color: var(--muted-2);
}

.dropzone b {
  font-size: 14px;
  display: block;
}

.dropzone span {
  font-size: 12px;
  color: var(--muted);
}

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  background: #fff;
}

.file-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--paper-3);
  display: grid;
  place-items: center;
  flex: none;
}

.file-row__icon svg {
  width: 16px;
  height: 16px;
}

.file-row__name {
  font-size: 13px;
  font-weight: 600;
  word-break: break-all;
}

.file-row__meta {
  font-size: 11.5px;
  color: var(--muted-2);
}

.file-row__x {
  margin-left: auto;
  color: var(--muted-2);
  padding: 6px;
}

.file-row__x:hover {
  color: var(--brand);
}

/* ---------- forms ---------- */
.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12.5px;
  font-weight: 620;
  color: var(--ink-2);
}

.field label .req {
  color: var(--brand);
}

.input,
.textarea,
.select-full {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus,
.textarea:focus,
.select-full:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 15, 28, 0.06);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

.field.is-error .input,
.field.is-error .textarea,
.field.is-error .select-full {
  border-color: var(--brand);
  background: #fff8f6;
}

.field__error {
  font-size: 11.8px;
  color: var(--brand-600);
  display: none;
}

.field.is-error .field__error {
  display: block;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.checkbox input {
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
  margin-top: 2px;
  flex: none;
}

/* ---------- table ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
}

.table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 650;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line-2);
}

.table tr:last-child td {
  border-bottom: 0;
}

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

.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.work svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.work:hover svg {
  transform: scale(1.05);
}

.work__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(10, 15, 28, 0.76));
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}

.work:hover .work__cap {
  opacity: 1;
  transform: none;
}

.work__cap b {
  font-size: 14px;
  display: block;
}

.work__cap span {
  font-size: 11.5px;
  opacity: 0.75;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 97;
  background: rgba(6, 10, 18, 0.9);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__inner {
  width: min(760px, 100%);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox__art {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

.lightbox__art svg {
  width: 100%;
  height: 100%;
}

.lightbox__body {
  padding: 20px 24px 24px;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 840px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s;
}

.faq__item.is-open {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-size: 14.8px;
  font-weight: 620;
  text-align: left;
}

.faq__q svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}

.faq__item.is-open .faq__q svg {
  transform: rotate(45deg);
  color: var(--brand);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s var(--ease);
}

.faq__a p {
  padding: 0 20px 18px;
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.72;
}

/* ---------- timeline / tracking ---------- */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.tl-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding-bottom: 26px;
  position: relative;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.tl-item:last-child::before {
  display: none;
}

.tl-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  z-index: 1;
}

.tl-dot svg {
  width: 13px;
  height: 13px;
  color: var(--muted-2);
}

.tl-item.is-done .tl-dot {
  background: var(--green);
  border-color: var(--green);
}

.tl-item.is-done .tl-dot svg {
  color: #fff;
}

.tl-item.is-now .tl-dot {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 75, 43, 0.14);
}

.tl-item.is-now .tl-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.tl-item h4 {
  font-size: 14.5px;
  margin-bottom: 3px;
}

.tl-item p {
  font-size: 12.8px;
  color: var(--muted);
}

.tl-time {
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  margin-top: 3px;
}

/* ---------- misc blocks ---------- */
.note {
  display: flex;
  gap: 11px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid #ffd9cd;
  font-size: 13px;
  color: #8a3a1f;
  line-height: 1.6;
}

.note svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
}

.note--info {
  background: #eef6ff;
  border-color: #cfe4ff;
  color: #1d4a80;
}

.note--ok {
  background: #ecfdf3;
  border-color: #c3f0d6;
  color: #05603a;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-3);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.tag--brand {
  background: var(--brand-soft);
  color: var(--brand-600);
}

.tag--ok {
  background: #e8f9ef;
  color: #05603a;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .header__phone {
    display: none;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    min-height: 340px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .features,
  .quotes,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step::after {
    display: none;
  }
  .listing {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
  }
  .filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .filter-list button {
    width: auto;
    border: 1px solid var(--line);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .cta-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
  .grid--3,
  .grid--4,
  .prod-grid,
  .features,
  .quotes,
  .steps,
  .form-grid,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(32px, 8.6vw, 44px);
  }
  .hero__visual {
    min-height: 320px;
  }
  .sheet--front {
    width: 74%;
  }
  .hero__chip--a {
    right: 0;
  }
  .hero__chip--b {
    left: 0;
    top: 44%;
  }
  .hero__chip--c {
    display: none;
  }
  .brand__tag {
    display: none;
  }
  .header__inner {
    gap: 12px;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 26px 22px;
  }
  .quote-layout {
    gap: 16px;
  }
  .panel {
    padding: 16px;
  }
  .prod {
    align-items: flex-start;
  }
  .prod__art {
    width: 76px;
    height: 76px;
  }
  .lang {
    display: none;
  }
  .lang--mobile {
    display: inline-flex;
    justify-self: start;
    margin-top: 6px;
  }
  .section {
    padding-block: 48px;
  }
  .float {
    right: 14px;
    bottom: 14px;
  }
  .table {
    font-size: 12.6px;
  }
  .table th,
  .table td {
    padding-inline: 8px;
  }
  .timeline .tl-item {
    gap: 12px;
  }
}

/* ---------- media (photo + svg fallback) ---------- */
.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.55s var(--ease), opacity 0.3s ease;
}

.media-img.is-missing {
  display: none;
}

.cat-card__art,
.prod__art,
.summary__art,
.cart-item__thumb,
.work,
.lightbox__art {
  position: relative;
}

.cat-card:hover .media-img,
.work:hover .media-img {
  transform: scale(1.05);
}

.cat-card__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(10, 15, 28, 0.18));
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cat-card__art:has(.media-img:not(.is-missing))::after {
  opacity: 1;
}

/* ---------- promo cards with photography ---------- */
.promo-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.promo-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.04) 0%, rgba(10, 15, 28, 0.42) 52%, rgba(10, 15, 28, 0.86) 100%);
}

.promo-body {
  position: relative;
  z-index: 4;
  padding: 22px;
  text-align: center;
  color: #fff;
}

.promo-body .promo-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}

.promo-body .promo-price {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 4px;
  line-height: 1.1;
}

.promo-body .promo-was {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: line-through;
}

/* ---------- full-width photo band ---------- */
.photo-band {
  position: relative;
  height: clamp(240px, 34vw, 420px);
  overflow: hidden;
  background: linear-gradient(150deg, #0a0f1c, #1c2740);
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 28, 0.82) 0%, rgba(10, 15, 28, 0.25) 55%, transparent 100%);
}

.photo-band__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: #fff;
  padding-block: 28px;
}

.photo-band__caption h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  max-width: 18em;
}

.photo-band__caption p {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34em;
}

/* ---------- language blocks ---------- */
[data-lang="zh"] .lang-en {
  display: none !important;
}

[data-lang="en"] .lang-zh {
  display: none !important;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

/* ---------- promo badge ---------- */
.promo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- utilities ---------- */
[hidden] {
  display: none !important;
}

.text-center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.mt-0 {
  margin-top: 0;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.w-full {
  width: 100%;
}

.hidden {
  display: none !important;
}

/* print */
@media print {
  .header,
  .footer,
  .float,
  .cart,
  .overlay {
    display: none !important;
  }
}

