/* ============================================================
   Moments — A Photography Wall
   纯静态站点样式：设计变量 → 布局 → 交互 → 响应式
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --paper: #f4f2ee;
  --paper-2: #eae7e0;
  --ink: #111110;
  --ink-2: #57544f;
  --ink-3: #8c8881;
  --line: rgba(17, 17, 16, 0.10);
  --line-strong: rgba(17, 17, 16, 0.18);
  --pill: rgba(255, 255, 255, 0.52);
  --pill-edge: rgba(255, 255, 255, 0.55);
  --tint: rgba(17, 17, 16, 0.055);
  --accent: #8aa4d6;
  --focus: #2f6fdb;
  --shadow-soft: 0 14px 34px -14px rgba(20, 20, 20, 0.32);
  --shadow-lift: 0 26px 54px -18px rgba(0, 0, 0, 0.42);
  --grain: 0.035;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'HarmonyOS Sans SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-serif: 'Playfair Display', 'Songti SC', 'Noto Serif SC', 'Times New Roman', serif;

  --ease-out: cubic-bezier(0.22, 0.9, 0.26, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme='dark'] {
  --paper: #0e0f11;
  --paper-2: #16181b;
  --ink: #f3f1ec;
  --ink-2: #b3afa7;
  --ink-3: #837f78;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --pill: rgba(24, 25, 28, 0.55);
  --pill-edge: rgba(255, 255, 255, 0.10);
  --tint: rgba(255, 255, 255, 0.07);
  --accent: #7f9bd1;
  --focus: #8ab4ff;
  --shadow-soft: 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 26px 54px -18px rgba(0, 0, 0, 0.8);
  --grain: 0.05;
}

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

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease-soft), color 0.5s var(--ease-soft);
}

body.is-locked { overflow: hidden; }

::selection { background: rgba(138, 164, 214, 0.45); }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--focus) 72%, transparent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  transform: translate(-50%, -160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

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

/* ---------- header ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: clamp(14px, 2.2vh, 24px) clamp(14px, 2.4vw, 34px);
  pointer-events: none;
}

.nav__wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  height: 58px;
  padding: 0 8px 0 9px;
  border-radius: 999px;
  background: var(--pill);
  border: 1px solid var(--pill-edge);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  pointer-events: auto;
}

[data-theme='dark'] .nav__bar {
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.3s var(--ease-soft), transform 0.4s var(--ease-out);
}
.brand:hover { transform: rotate(-6deg); background: color-mix(in srgb, var(--ink) 84%, var(--paper)); }

.brand__mark {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1;
  padding-bottom: 3px;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  display: inline-block;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: 15.5px;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s, background-color 0.25s;
}
.nav__link:hover { color: var(--ink); background: var(--tint); }

.theme {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 4px;
  border-radius: 999px;
  background: var(--tint);
}

.theme__btn {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-soft), color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.theme__btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.theme__btn:hover { color: var(--ink); transform: translateY(-1px); }
.theme__btn[aria-pressed='true'] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.nav__about {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid var(--pill-edge);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 30%, var(--paper));
  color: color-mix(in srgb, var(--ink) 82%, transparent);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.nav__about svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; }
.nav__about:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 46%, var(--paper)); }

/* ---------- photo wall ---------- */
.wall {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.wall::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: clamp(90px, 16vh, 170px);
  background: linear-gradient(to bottom, var(--paper) 0%, color-mix(in srgb, var(--paper) 55%, transparent) 55%, transparent 100%);
  opacity: 0.86;
  pointer-events: none;
}

.wall::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 120px;
  background: linear-gradient(to top, var(--paper) 0%, color-mix(in srgb, var(--paper) 60%, transparent) 45%, transparent 100%);
  pointer-events: none;
}

.wall__canvas {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.tile {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--w, 200px);
  height: var(--h, 140px);
  padding: 0;
  border: 0;
  background: none;
  border-radius: 7px;
  cursor: zoom-in;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
}
.tile.is-in { opacity: 1; }

.tile__in {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background-color: var(--c, #d6d2cb);
  transform: translate3d(var(--push-x, 0px), var(--push-y, 0px), 0) scale(var(--scale, 1));
  transition: transform 0.55s var(--ease-out), box-shadow 0.45s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.6s var(--ease-soft), transform 0.9s var(--ease-out), filter 0.4s;
  user-select: none;
  -webkit-user-drag: none;
}
.tile img.is-loaded { opacity: 1; transform: none; }

.tile:hover,
.tile:focus-visible { z-index: 40; }

.tile:hover .tile__in,
.tile:focus-visible .tile__in {
  --scale: 1.12;
  box-shadow: var(--shadow-lift);
  transition-duration: 0.34s, 0.34s;
}

.tile:hover img { filter: brightness(1.03) saturate(1.04); }

.wall.is-pointing .tile { cursor: zoom-in; }

/* hero */
.hero {
  position: absolute;
  left: 0;
  right: 0;
  top: min(100vh, 100%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 clamp(20px, 3.4vw, 56px) clamp(30px, 6vh, 62px);
  transform: translateY(-100%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 72vh;
  background:
    radial-gradient(50% 78% at 15% 96%,
      var(--paper) 0%,
      var(--paper) 48%,
      color-mix(in srgb, var(--paper) 72%, transparent) 66%,
      transparent 84%),
    radial-gradient(26% 46% at 30% 100%,
      color-mix(in srgb, var(--paper) 86%, transparent) 0%,
      transparent 78%);
  pointer-events: none;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(14px, 2.4vh, 26px);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__eyebrow::before {
  content: '';
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

.hero__title {
  margin: 0 0 clamp(12px, 2.2vh, 24px);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(58px, 8.6vw, 146px);
  line-height: 0.86;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.hero__copy {
  margin: 0;
  max-width: 22em;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.95;
  color: var(--ink-2);
  font-weight: 400;
}

.hero__hint {
  margin: clamp(16px, 2.6vh, 30px) 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- copy button ---------- */
.copy {
  position: fixed;
  right: clamp(16px, 2.2vw, 34px);
  bottom: clamp(16px, 2.6vh, 34px);
  z-index: 95;
  display: grid;
  place-items: center;
  width: clamp(74px, 5.4vw, 94px);
  height: clamp(74px, 5.4vw, 94px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #0c0c0c;
  color: #fff;
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease-out), background-color 0.3s;
}
.copy:hover { transform: scale(1.05); background: #1b1b1b; }
.copy:active { transform: scale(0.97); }

.copy__check {
  display: none;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.copy.is-copied .copy__text { display: none; }
.copy.is-copied .copy__check { display: block; }

.copy.is-veiled {
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  pointer-events: none;
}

/* ---------- footer ---------- */
.foot {
  position: relative;
  z-index: 8;
  padding: 24px clamp(20px, 3.4vw, 56px) 26px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  max-width: 1560px;
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.foot p { margin: 0; }

.foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.foot a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.foot a:hover { color: var(--ink); border-bottom-color: currentColor; }

.foot .icp { color: var(--ink-2); }

.foot__dot { opacity: 0.5; }

/* ---------- viewer ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.viewer.is-open { display: block; }

.viewer__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.viewer.is-ready .viewer__backdrop { opacity: 1; }

.viewer__figure {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #101010;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.6);
  transform-origin: 0 0;
  will-change: transform;
}

.viewer__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.32s var(--ease-soft);
}
.viewer__img.is-loaded { opacity: 1; }

.viewer__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: clamp(20px, 8%, 40px) clamp(20px, 4.4%, 34px) clamp(18px, 4%, 26px);
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 45%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-soft) 0.12s, transform 0.5s var(--ease-out) 0.12s;
}
.viewer.is-ready .viewer__caption { opacity: 1; transform: none; }

.viewer__cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.82;
}

.viewer__title {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.005em;
}

.viewer__ui { position: absolute; inset: 0; pointer-events: none; }
.viewer__ui > * { pointer-events: auto; }

.vbtn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  transition: background-color 0.25s, transform 0.3s var(--ease-out), opacity 0.3s;
}
.vbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vbtn:hover { background: var(--paper); transform: scale(1.06); }
.vbtn:disabled { opacity: 0.3; cursor: default; }
.vbtn:disabled:hover { transform: none; }

.vbtn--close { top: clamp(14px, 2.4vh, 26px); right: clamp(14px, 2.4vw, 30px); }
.vbtn--prev { top: 50%; left: clamp(10px, 2vw, 28px); transform: translateY(-50%); }
.vbtn--next { top: 50%; right: clamp(10px, 2vw, 28px); transform: translateY(-50%); }
.vbtn--prev:hover { transform: translateY(-50%) scale(1.06); }
.vbtn--next:hover { transform: translateY(-50%) scale(1.06); }

.viewer__count {
  position: absolute;
  left: clamp(16px, 2.4vw, 30px);
  bottom: clamp(14px, 2.4vh, 26px);
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- dialogs ---------- */
.sheet {
  width: min(680px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 50px 90px -28px rgba(0, 0, 0, 0.45);
  overflow: auto;
}
.sheet::backdrop {
  background: color-mix(in srgb, var(--paper) 55%, rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sheet[open] { animation: sheet-in 0.4s var(--ease-out) both; }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.sheet__head { position: relative; margin-bottom: 26px; }

.sheet__eyebrow {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.sheet__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
}

.sheet__close {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  cursor: pointer;
  transition: background-color 0.25s;
}
.sheet__close:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.sheet__close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.plans {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.plan {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 60%, transparent);
}
.plan--featured { border-color: var(--line-strong); background: var(--paper-2); }

.plan__name { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.plan__price { margin: 0 0 12px; font-family: var(--font-serif); font-size: 26px; line-height: 1; }
.plan__price span { font-family: var(--font-sans); font-size: 12px; color: var(--ink-3); }
.plan__desc { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }

.sheet__body p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.sheet__body p:last-child { margin-bottom: 0; }

.sheet__note {
  margin: 22px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}
.sheet__note code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--tint);
  font-size: 11.5px;
}

.meta {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.meta > div { display: flex; justify-content: space-between; gap: 16px; }
.meta dt { color: var(--ink-3); }
.meta dd { margin: 0; color: var(--ink); text-align: right; }
.meta a { color: inherit; }

/* ---------- first paint choreography ---------- */
body:not(.is-ready) .nav__bar,
body:not(.is-ready) .nav__about { opacity: 0; transform: translateY(-12px); }
body:not(.is-ready) .copy { opacity: 0; transform: translateY(12px); }
body:not(.is-ready) .hero > * { opacity: 0; transform: translateY(22px); }

.nav__bar { transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }

.hero__eyebrow,
.hero__title,
.hero__copy,
.hero__hint { transition: opacity 1s var(--ease-out), transform 1.15s var(--ease-out); }
.hero__title { transition-delay: 0.06s; }
.hero__copy { transition-delay: 0.14s; }
.hero__hint { transition-delay: 0.24s; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- responsive ---------- */
.copy-mobile,
.hint-mobile { display: none; }

@media (max-width: 900px) {
  .nav__bar { height: 54px; gap: 6px; padding-right: 6px; }
  .nav__about { width: 54px; height: 54px; }
  .nav__link { padding: 8px 10px; font-size: 14.5px; }
  .theme__btn { width: 34px; height: 34px; }
  .hero { padding-bottom: clamp(92px, 14vh, 120px); }
  .copy { right: 16px; bottom: 16px; }
}

@media (max-width: 700px) {
  .copy-desktop { display: none; }
  .copy-mobile { display: inline; }
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }

  .hero::before {
    height: 62vh;
    background:
      linear-gradient(to top,
        var(--paper) 0%,
        var(--paper) 34%,
        color-mix(in srgb, var(--paper) 82%, transparent) 62%,
        transparent 94%),
      radial-gradient(90% 52% at 6% 100%, color-mix(in srgb, var(--paper) 66%, transparent) 0%, transparent 82%);
  }
}

@media (max-width: 640px) {
  .nav { padding: 10px 10px 0; }
  .nav__bar { height: 50px; padding-left: 6px; }
  .brand { width: 38px; height: 38px; }
  .brand__mark { font-size: 21px; }
  .nav__link { font-size: 13.5px; padding: 7px 8px; }
  .nav__about { display: none; }
  .theme__btn { width: 31px; height: 31px; }
  .theme__btn svg { width: 17px; height: 17px; }

  .hero { padding-bottom: clamp(84px, 13vh, 108px); }
  .hero__title { font-size: clamp(52px, 16vw, 76px); }
  .hero__copy { font-size: 14px; line-height: 1.9; }
  .hero__hint { font-size: 10px; letter-spacing: 0.12em; }

  .viewer__figure { border-radius: 6px; }
  .vbtn { width: 38px; height: 38px; }
  .vbtn svg { width: 17px; height: 17px; }
  .vbtn--prev { left: 6px; }
  .vbtn--next { right: 6px; }
  .viewer__count { display: none; }

  .foot { padding: 22px 18px 28px; }
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; }
  .foot__links { gap: 6px; }
}

@media (hover: none) {
  .tile:hover .tile__in { --scale: 1; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
  .tile { cursor: pointer; }
}
