/* ============================================================
   3D 打印作品集 · Cute Prints Studio
   视觉取向：柔和的萌系作品商店 × Apple 的排版纪律。
   淡紫灰画布上浮起白色大圆角内容卡，深色近黑胶囊按钮承载
   主要动作，Action Blue 只留给链接与焦点。价格 / 评分 / 徽章
   是安静的展示标签，不接交易。作品图自带极轻的柔和投影。
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  /* ---- 画布与表面 ---- */
  --canvas: #f5f4f8;          /* 淡紫灰：主画布 / Hero / Gallery 底 */
  --canvas-2: #efedf4;        /* 略深一档：分区过渡 */
  --surface: #ffffff;         /* 纯白：内容卡 / 导航 / 弹层 */
  --surface-pearl: #fbfafc;   /* 珍珠白：次级按钮底 */
  --surface-tint: #f7f5fb;    /* 极淡紫：卡片 hover / 占位 */

  /* ---- 文字 ---- */
  --ink: #1d1d1f;             /* 近黑：标题 + 正文 */
  --ink-2: #4a4a52;           /* 次级正文 */
  --muted: #8a8894;           /* 说明 / 标签 / 禁用 */
  --on-dark: #ffffff;
  --on-dark-muted: #d8d6de;

  /* ---- 交互 ---- */
  --blue: #0066cc;            /* Action Blue：唯一链接 / 焦点色 */
  --blue-focus: #0071e3;
  --blue-on-dark: #6ab4ff;
  --wash: rgba(0, 102, 204, 0.09);

  /* ---- 柔和蓝渐变：仅 Coming Soon 卡片使用 ---- */
  --coming-a: #c9e3f5;
  --coming-b: #a9d4f0;
  --coming-ink: #1c4a6b;

  /* ---- 线 ---- */
  --hairline: #e8e6ec;        /* 细描边 */
  --divider-soft: #f0eef4;

  /* ---- 阴影：极轻、只给浮起的表面 ---- */
  --card-shadow: 0 1px 2px rgba(38, 30, 60, 0.04), 0 12px 34px -18px rgba(38, 30, 60, 0.18);
  --card-shadow-hover: 0 2px 6px rgba(38, 30, 60, 0.06), 0 22px 48px -20px rgba(38, 30, 60, 0.26);
  --product-shadow: 0 18px 44px -22px rgba(38, 30, 60, 0.38);

  /* ---- 圆角 ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-pill: 9999px;

  /* ---- 字体 ---- */
  --font-sans: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI",
    system-ui, sans-serif;
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* ---- 后台兼容别名 ---- */
  --rose: var(--blue);
  --rose-deep: var(--blue-focus);
  --rose-wash: var(--wash);
  --rose-line: rgba(0, 102, 204, 0.28);
  --blue-deep: var(--blue-focus);
  --rule: var(--hairline);
  --rule-2: var(--hairline);
  --sheet: var(--surface);
  --paper: var(--surface);
  --paper-2: var(--canvas);
  --bg: var(--canvas);
  --bg-2: var(--canvas-2);
  --line: var(--hairline);
  --line-2: var(--hairline);
  --glow: rgba(0, 102, 204, 0.14);
  --ink-2: #4a4a52;

  /* ---- 布局 ---- */
  --maxw: 1240px;
  --pad: clamp(18px, 4.5vw, 52px);
  --head-h: 56px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.018em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: opacity 0.18s var(--ease);
}

body.page-leaving {
  opacity: 0.35;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-focus);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ============================== 顶部导航 ============================== */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--head-h);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-head.stuck {
  border-bottom-color: var(--hairline);
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--head-h);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: opacity 0.18s var(--ease);
}

.brand:hover {
  opacity: 0.7;
}

.brand-name {
  max-width: 52vw;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 标记：一枚柔和蓝圆点 + 两道层纹，呼应 3D 打印的层层堆叠 */
.mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--coming-a), var(--coming-b));
  box-shadow: inset 0 0 0 1px rgba(28, 74, 107, 0.08);
}

.mark::after {
  content: "";
  position: absolute;
  inset: 5px 4px;
  background-image: linear-gradient(var(--coming-ink), var(--coming-ink)),
    linear-gradient(var(--coming-ink), var(--coming-ink));
  background-repeat: no-repeat;
  background-size: 100% 1.5px, 100% 1.5px;
  background-position: 0 2px, 0 6px;
  opacity: 0.72;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.head-nav a {
  position: relative;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.head-nav a:hover {
  color: var(--ink);
  background: var(--surface-tint);
}

.head-nav a.active {
  color: var(--ink);
  background: var(--surface-tint);
}

/* ============================== 通用按钮 ============================== */

.btn-dark,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(29, 29, 31, 0.7);
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.btn-ghost:hover {
  background: var(--surface-tint);
  transform: translateY(-1px);
}

.btn-dark:active,
.btn-ghost:active {
  transform: scale(0.96);
}

/* ============================== Hero 首屏 ============================== */

.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 88px) clamp(92px, 11vw, 150px);
  background: var(--canvas);
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  isolation: isolate;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(201, 227, 245, 0.55);
  color: var(--coming-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coming-ink);
  opacity: 0.55;
}

.hero-copy h1 {
  margin: 0 0 clamp(18px, 2.4vw, 24px);
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
  color: var(--ink);
}

.lede {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.62;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 27em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 36px);
}

/* 统计数字 */
.counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: clamp(20px, 3vw, 44px);
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--hairline);
  width: 100%;
  max-width: 480px;
}

.counts > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
}

.counts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.counts dd i {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.4em;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
  vertical-align: 0.6em;
  letter-spacing: 0;
}

.counts dt {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0;
  white-space: nowrap;
}

/* 首屏主打作品：柔和投影，轻轻悬浮 */
.lead {
  position: relative;
  margin: 0;
  z-index: 1;
}

.lead-frame {
  position: relative;
}

.lead-link {
  display: block;
}

.lead-fig {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface-tint);
  box-shadow: var(--product-shadow);
  transform: rotate(-1.5deg);
  transition: transform 0.5s var(--ease);
}

.lead-link:hover .lead-fig {
  transform: rotate(0deg) translateY(-4px);
}

.lead-fig picture,
.card .thumb picture {
  width: 100%;
  height: 100%;
}

.lead-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease);
}

.lead-link:hover .lead-fig img {
  transform: scale(1.04);
}

.lead figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}

.lead-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.lead-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lead-spec {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ============================== 白色内容卡上翻 ============================== */

.sheet {
  position: relative;
  z-index: 2;
  margin-top: clamp(-130px, -9vw, -80px);
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -18px 50px -34px rgba(38, 30, 60, 0.28);
}

.sheet-in {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

/* ============================== 作品区 ============================== */

.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.works-h {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.works-h .accent {
  color: var(--muted);
  font-weight: 500;
}

.works-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-bottom: 5px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  margin-bottom: clamp(28px, 3.4vw, 42px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  margin: -2px;
}

.filters::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease), transform 0.18s var(--ease);
}

.chip .n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip:active {
  transform: scale(0.96);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip[aria-pressed="true"] .n {
  opacity: 0.8;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  width: clamp(150px, 18vw, 230px);
  height: 44px;
  padding: 0 18px 0 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--wash);
}

.search svg {
  flex: 0 0 auto;
  color: var(--muted);
}

.search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  outline: none;
}

.search input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

/* 作品网格：柔和的 3-4 列小卡 */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px) clamp(18px, 2.2vw, 28px);
  align-items: start;
}

.card {
  display: block;
  color: inherit;
  min-width: 0;
}

.card .thumb {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface-tint);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.js .card .thumb {
  clip-path: inset(100% 0 0 0);
}

.js .card.in .thumb {
  clip-path: inset(0 0 0 0);
}

.card:hover .thumb {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.card:hover .thumb img {
  transform: scale(1.04);
}

.ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  color: var(--hairline);
  background: var(--surface-tint);
}

/* 卡片角标 */
.flag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.005em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(38, 30, 60, 0.1);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 多枚角标并排：徽章 + 3D 标识 */
.badges {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.badges .badge {
  position: static;
}

.badge-3d {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 6px rgba(29, 29, 31, 0.14);
}

.badge + .flag,
.flag + .badge {
  top: auto;
  bottom: 12px;
}

.card .meta {
  display: block;
  padding-top: 14px;
}

.m-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.18s var(--ease);
}

.card:hover .m-title {
  color: var(--blue);
}

.m-sum {
  display: -webkit-box;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片底部：价格 + 评分 */
.card .m-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price .cur {
  font-size: 0.7em;
  vertical-align: 0.18em;
  margin-right: 1px;
  font-weight: 600;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.rating .star {
  color: #f5a623;
  font-size: 14px;
  line-height: 1;
}

.rating .rev {
  color: var(--muted);
  font-size: 11.5px;
}

.m-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.m-spec em {
  font-style: normal;
}

.m-spec em + em::before {
  content: "·";
  margin: 0 8px;
  opacity: 0.6;
}

.empty {
  padding: 60px 24px;
  border: 1px dashed var(--hairline);
  border-radius: var(--r-lg);
  text-align: center;
  background: var(--surface-tint);
}

.empty h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.empty p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.load-err {
  padding: 26px 0;
  color: var(--muted);
  font-size: 15px;
}

/* ============================== Coming Soon ============================== */

.coming {
  margin-top: clamp(52px, 7vw, 88px);
}

.coming-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: 260px;
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--coming-a), var(--coming-b));
  color: var(--coming-ink);
  overflow: hidden;
}

.coming-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.coming-copy {
  position: relative;
  z-index: 1;
}

.coming-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.coming-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.coming-card p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 30em;
  opacity: 0.86;
}

.coming-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--coming-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.coming-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.coming-fig {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(220px, 60%);
  aspect-ratio: 1;
}

.coming-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--r-lg);
  filter: drop-shadow(0 18px 24px rgba(28, 74, 107, 0.22));
}

.coming-fig .ph {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.3);
  color: var(--coming-ink);
}

/* ============================== 详情页 ============================== */

.work-page {
  padding-block: clamp(22px, 3vw, 36px) clamp(56px, 8vw, 100px);
}

/* 面包屑 */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
  font-size: 15px;
  color: var(--muted);
}

.crumb a {
  color: var(--ink-2);
  transition: color 0.18s var(--ease);
}

.crumb a:hover {
  color: var(--blue);
}

.crumb .sep {
  opacity: 0.5;
}

.crumb .cur {
  color: var(--ink);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(32px, 4vw, 52px);
}

.work-head.no-specs {
  grid-template-columns: minmax(0, 1fr);
}

.wh-idx {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.wh-idx:empty {
  display: none;
}

.wh-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.wh-badges .badge-inline {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-head h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.wh-sum {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
}

.wh-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 4px 0 20px;
}

.wh-price .price {
  font-size: clamp(30px, 3.4vw, 42px);
}

.wh-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
}

.wh-rating .star {
  color: #f5a623;
  font-size: 18px;
}

.wh-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 24px;
  padding: 0;
}

.wh-tags li {
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 12.5px;
}

.wh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 详情页动作栏：宽屏时左侧固定浮动索引 ----------
   滚动到页面任意位置都能一键跳到 3D / 图片 / 更多作品。
   内容区让出一条专属列（见 .work-page 的 padding-left），浮层不压正文。
   窄屏保留标题下方的横排按钮，不牺牲阅读宽度。 */
@media (min-width: 1200px) {
  .work-page {
    padding-left: calc(var(--pad) + 132px);
  }

  .wh-actions {
    position: fixed;
    left: max(16px, calc((100vw - var(--maxw)) / 2));
    top: 50%;
    transform: translateY(-50%);
    z-index: 45; /* 低于吸顶导航的 50 */
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    width: 128px;
    padding: 10px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
  }

  .wh-actions .btn-dark,
  .wh-actions .btn-ghost {
    width: 100%;
    min-height: 44px;
    padding: 0 6px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }

  /* 面包屑并入左侧 dock：改成竖向层级索引，与动作按钮分区 */
  .wh-actions > .crumb {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 2px 4px 11px;
    border-bottom: 1px solid var(--hairline);
    font-size: 13px;
  }

  .wh-actions > .crumb .sep {
    display: none;
  }

  .wh-actions > .crumb a,
  .wh-actions > .crumb .cur {
    display: block;
    width: 100%;
    padding: 6px 7px;
    border-radius: 8px;
    line-height: 1.3;
  }

  .wh-actions > .crumb a:hover,
  .wh-actions > .crumb a:focus-visible {
    background: var(--canvas-2);
  }

  .wh-actions > .crumb .cur {
    background: var(--canvas-2);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
  }
}

/* 参数卡 */
.specs {
  padding: 24px 26px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.specs-h {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs-list {
  margin: 0;
}

.specs-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--divider-soft);
}

.specs-list > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.specs-list dt {
  font-size: 13px;
  color: var(--muted);
}

.specs-list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.source-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--blue);
}

.source-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 展台 */
.stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--canvas-2);
  box-shadow: var(--card-shadow);
}

.viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 300px;
  overflow: hidden;
  touch-action: pan-y;
  background: radial-gradient(circle at 50% 45%, #fbfafc, var(--canvas-2));
}

.viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.viewer-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-size: 11.5px;
  color: var(--muted);
  pointer-events: none;
}

.viewer-bar {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 4px 16px rgba(38, 30, 60, 0.1);
}

.viewer-bar button {
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.viewer-bar button:hover {
  color: var(--ink);
}

.viewer-bar button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--canvas-2);
  font-size: 13px;
  color: var(--muted);
  transition: opacity 0.4s var(--ease);
}

.spin {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--hairline);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* 3D 预览加载：弹跳小爪印 */
.paw-load {
  width: 30px;
  height: 30px;
  flex: none;
}

/* ------------------- 图片加载占位：小爪印 -------------------
   爪印画在图片容器的 ::after 上（img 的 opacity 会连自身背景
   一起隐藏，所以不能画在 img 上）；图片加载完成后容器获得
   .img-loaded，爪印淡出、图片淡入。 */
.ph-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ph-img.ok {
  opacity: 1;
}

.thumb,
.photo-box,
.thumbs button,
.lead-fig,
.coming-fig,
.about-fig {
  position: relative;
}

.thumb::after,
.photo-box::after,
.thumbs button::after,
.lead-fig::after,
.coming-fig::after,
.about-fig::after,
.lightbox::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg%3E%3Cellipse cx='32' cy='40' rx='11.5' ry='9' fill='%23cbb9ea'/%3E%3Cellipse cx='19.5' cy='27' rx='4.6' ry='6' fill='%23cbb9ea'/%3E%3Cellipse cx='27' cy='21.5' rx='4.9' ry='6.5' fill='%23cbb9ea'/%3E%3Cellipse cx='37' cy='21.5' rx='4.9' ry='6.5' fill='%23cbb9ea'/%3E%3Cellipse cx='44.5' cy='27' rx='4.6' ry='6' fill='%23cbb9ea'/%3E%3CanimateTransform attributeName='transform' type='translate' values='0 0;0 -7;0 0' keyTimes='0;0.4;1' dur='0.9s' repeatCount='indefinite' calcMode='spline' keySplines='0.3 0 0.4 1;0.55 0 0.8 1'/%3E%3C/g%3E%3Cellipse cx='32' cy='55' rx='9.5' ry='2.4' fill='%23e6ddf4'%3E%3Canimate attributeName='rx' values='9.5;6.5;9.5' dur='0.9s' repeatCount='indefinite'/%3E%3Canimate attributeName='opacity' values='0.9;0.45;0.9' dur='0.9s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cpath d='M11 12l1.7 3.6 3.6 1.7-3.6 1.7L11 22.6 9.3 19 5.7 17.3l3.6-1.7z' fill='%23eec3dc'%3E%3Canimate attributeName='opacity' values='0;1;0' dur='1.4s' repeatCount='indefinite'/%3E%3C/path%3E%3Cpath d='M53 8l1.3 2.8 2.8 1.3-2.8 1.3L53 16.2 51.7 13.4 48.9 12.1l2.8-1.3z' fill='%23bfd7ee'%3E%3Canimate attributeName='opacity' values='1;0;1' dur='1.6s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E")
    center / min(88px, 30%) no-repeat;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.thumb.img-loaded::after,
.photo-box.img-loaded::after,
.thumbs button.img-loaded::after,
.lead-fig.img-loaded::after,
.coming-fig.img-loaded::after,
.about-fig.img-loaded::after,
.lightbox.img-loaded::after {
  opacity: 0;
}

/* 爪印层不遮住卡片角标 */
.badges {
  z-index: 2;
}

/* 系统减弱动效时：爪印静止，仅作占位底图 */
@media (prefers-reduced-motion: reduce) {
  .ph-img,
  .paw-load {
    animation: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.photo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: clamp(24px, 4vw, 56px);
  background: radial-gradient(circle at 50% 45%, #fbfafc, var(--canvas-2));
  scroll-margin-top: calc(var(--head-h, 44px) + 20px);
}

.photo-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 780px);
  border-radius: var(--r-md);
  box-shadow: var(--product-shadow);
}

.thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 0 2px;
  scrollbar-width: thin;
}

.thumbs button {
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  background: none;
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0.75;
  transition: opacity 0.18s var(--ease), border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.thumbs button:hover {
  opacity: 1;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-body {
  padding-top: clamp(28px, 3.6vw, 44px);
}

.desc {
  white-space: pre-wrap;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
}

.work-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(38px, 5vw, 62px);
}

.wn {
  display: block;
  padding: 20px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: background 0.18s var(--ease), transform 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.wn:hover {
  background: var(--surface-tint);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.wn.next {
  text-align: right;
}

.wn-label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.wn-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.work-nav.only-next,
.work-nav.only-prev {
  grid-template-columns: 1fr;
}

.more {
  margin-top: clamp(48px, 6vw, 76px);
  scroll-margin-top: calc(var(--head-h, 44px) + 20px);
}

/* 点「更多作品」滚动到这里时短暂高亮，提示用户已经到达 */
.more.spotlight {
  animation: more-spotlight 1.6s var(--ease);
}

@keyframes more-spotlight {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
  }
  18% {
    box-shadow: 0 0 0 8px rgba(0, 102, 204, 0.14);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
  }
}

.more-grid .card {
  grid-column: span 1;
}

.more-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.more-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.more-all {
  font-size: 13px;
  color: var(--blue);
}

.more-all:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================== Gallery / About ============================== */

.page-head {
  padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 44px);
}

.page-head .eyebrow {
  margin-bottom: 18px;
}

.page-head h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.page-head p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34em;
}

.gallery-grid {
  padding-bottom: clamp(56px, 8vw, 100px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.about-copy h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.about-copy p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 34em;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.about-stats > div {
  display: flex;
  flex-direction: column;
}

.about-stats b {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.about-stats span {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

.about-fig {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--product-shadow);
  transform: rotate(1.5deg);
}

.about-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================== 页脚 ============================== */

.site-foot {
  background: var(--canvas-2);
  color: var(--ink-2);
  margin-top: auto;
}

.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(42px, 5vw, 68px);
}

.foot-in h2 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.foot-in p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}

.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px 30px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.foot-brand {
  cursor: default;
  user-select: none;
}

/* ============================== 返回顶部 ============================== */

.to-top {
  position: fixed;
  right: clamp(14px, 2.6vw, 30px);
  bottom: calc(clamp(14px, 2.6vw, 30px) + var(--tabbar-safe, 0px));
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--card-shadow);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s,
    border-color 0.18s var(--ease);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--ink);
}

.to-top:active {
  transform: scale(0.94);
}

.secret-hint {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 8px);
  z-index: 90;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}

.secret-hint.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================== 移动端底部 tab bar ============================== */

.tabbar {
  display: none; /* 桌面隐藏，移动端显示 */
}

/* ============================== 灯箱 ============================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 3vmin;
  background: rgba(20, 18, 28, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox img {
  max-width: 94vw;
  max-height: 94vh;
  border-radius: var(--r-md);
  object-fit: contain;
}

html.lb-open {
  overflow: hidden;
}

/* 详情页渐显 */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ============================== 响应式 ============================== */

@media (max-width: 1068px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 40px;
  }

  .work-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }

  .about-layout {
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .lead {
    max-width: 460px;
  }

  .work-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .specs {
    max-width: 460px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-fig {
    max-width: 460px;
  }

  .coming-card {
    grid-template-columns: 1fr;
  }

  .coming-fig {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --head-h: 52px;
  }

  /* 前台有底部 tab bar 承担导航，顶栏的链接挤成竖排反而难看 */
  .head-nav.front-nav {
    display: none;
  }

  .hero {
    padding-block: 44px 108px;
  }

  .sheet {
    margin-top: -74px;
    border-radius: 24px 24px 0 0;
  }

  .sheet-in {
    padding-top: 44px;
  }

  .counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    max-width: none;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .filters {
    order: 2;
    width: 100%;
  }

  .search {
    order: 1;
    margin-left: 0;
    width: 100%;
  }

  .foot-in {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-nav {
    grid-template-columns: 1fr;
  }

  .wn.next {
    text-align: left;
  }

  .viewer-bar button {
    padding: 6px 10px;
    font-size: 11px;
  }

  .viewer-hint {
    display: none;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 底部 tab bar 在移动端出现 */
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--hairline);
  }

  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10.5px;
    color: var(--muted);
    transition: color 0.18s var(--ease);
  }

  .tabbar a.active,
  .tabbar a:hover {
    color: var(--ink);
  }

  .tabbar svg {
    width: 21px;
    height: 21px;
  }

  :root {
    --tabbar-safe: 62px;
  }

  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 440px) {
  .grid,
  .more-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .card .thumb {
    clip-path: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .lead-fig,
  .about-fig {
    transform: none !important;
  }
}
