:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-soft: #101013;
  --surface: #151518;
  --surface-2: #1b1b20;
  --text: #f2eee4;
  --muted: #a8a196;
  --faint: #746e64;
  --line: rgba(242, 238, 228, 0.13);
  --line-strong: rgba(242, 238, 228, 0.26);
  --accent: #dcb97b;
  --accent-soft: #eed8b0;
  --sage: #a9c5a5;
  --paper: #efe8da;
  --paper-ink: #1a1916;
  --paper-muted: #625b50;
  --paper-line: rgba(26, 25, 22, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 76px;
  --page-pad: clamp(20px, 4vw, 56px);
  --max-w: 1440px;
}

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

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

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

section[id] {
  scroll-margin-top: 82px;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #111;
}

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

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

button {
  cursor: pointer;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--text);
  color: #111;
  font-size: 12px;
  border-radius: 3px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

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

/* ------------------------------------------------------------------ */
/* buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s,
    transform 0.25s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--text);
  color: #111;
  border-color: var(--text);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  color: var(--text);
  padding-inline: 8px;
}

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

.btn-small {
  padding: 10px 16px;
  font-size: 11px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.45);
  color: var(--text);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

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

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ------------------------------------------------------------------ */
/* header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--nav-h);
  padding: 0 var(--page-pad);
  transition: height 0.35s var(--ease), background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.55), transparent);
  opacity: 1;
  transition: opacity 0.3s;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(9, 9, 11, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 31px;
  height: 31px;
  color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: 0.06em;
}

.brand-text small {
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav a,
.nav-link {
  position: relative;
  border: 0;
  padding: 6px 0;
  background: none;
  color: rgba(242, 238, 228, 0.72);
  transition: color 0.2s;
}

.site-nav a::after,
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.nav-link:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  margin-left: 3px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  color: var(--accent);
  vertical-align: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 6px 0;
  background: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
}

.header-search:hover {
  color: var(--text);
}

.header-search svg {
  width: 16px;
  height: 16px;
}

.header-search kbd {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 9px;
  color: var(--faint);
}

/* ------------------------------------------------------------------ */
/* hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 1000px);
  padding-top: calc(var(--nav-h) + 28px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-scrim {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.86) brightness(0.72);
  transform: scale(1.025);
  animation: heroDrift 22s var(--ease) both;
}

@keyframes heroDrift {
  from {
    transform: scale(1.09);
  }
  to {
    transform: scale(1.025);
  }
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 9, 0.9) 0%, rgba(7, 7, 9, 0.62) 38%, rgba(7, 7, 9, 0.16) 68%, rgba(7, 7, 9, 0.46) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 12, 0.04) 42%, rgba(10, 10, 12, 0.28) 100%),
    radial-gradient(ellipse at 24% 54%, rgba(10, 10, 12, 0.2), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(32px, 5vw, 90px);
  width: 100%;
  max-width: var(--max-w);
  margin: auto;
  padding: clamp(42px, 7vh, 90px) var(--page-pad) clamp(64px, 10vh, 120px);
}

.hero-copy {
  max-width: 840px;
  animation: riseIn 0.9s 0.1s var(--ease) both;
}

.eyebrow,
.kicker {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(220, 185, 123, 0.12);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 9.4vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero-line {
  display: block;
}

.hero-line-accent {
  padding-left: 0.42em;
  color: var(--accent);
  font-style: italic;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  margin: 30px 0 0;
  max-width: 490px;
  font-size: 14px;
  line-height: 1.95;
  color: rgba(242, 238, 228, 0.72);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.hero-stats div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero-stats dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(242, 238, 228, 0.58);
}

.hero-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--text);
}

.hero-stats dd span {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted);
}

.hero-showcase {
  position: relative;
  min-height: 440px;
  animation: riseIn 1s 0.28s var(--ease) both;
}

.hero-card {
  position: absolute;
  width: min(318px, 100%);
  padding: 10px;
  border: 1px solid rgba(242, 238, 228, 0.2);
  background: rgba(18, 18, 21, 0.78);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(12px);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 3px 2px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero-card-back {
  top: 0;
  right: 8%;
  transform: rotate(5.5deg);
  opacity: 0.62;
}

.hero-card-front {
  right: 0;
  bottom: 20px;
  transform: rotate(-3.2deg);
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 14px;
  max-width: 200px;
  padding-bottom: 20px;
}

.hero-note-line {
  flex: 0 0 32px;
  height: 1px;
  margin-top: 7px;
  background: var(--accent);
}

.hero-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  background: rgba(8, 8, 10, 0.36);
  backdrop-filter: blur(10px);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker-track span {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.16em;
  color: rgba(242, 238, 228, 0.72);
}

.ticker-track i {
  font-style: normal;
  font-size: 8px;
  color: var(--accent);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------------ */
/* shared section                                                      */
/* ------------------------------------------------------------------ */
.gallery-section,
.collections-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 136px) var(--page-pad);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(28px, 5vw, 84px);
  margin-bottom: clamp(38px, 5vw, 60px);
}

.section-head h2,
.guide-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-head h2 em,
.guide-head h2 em {
  font-style: normal;
  color: var(--accent);
}

.section-intro {
  margin: 0 0 6px;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

.kicker {
  margin-bottom: 18px;
  color: var(--accent);
}

/* ------------------------------------------------------------------ */
/* filters                                                             */
/* ------------------------------------------------------------------ */
.filter-wrap {
  position: sticky;
  z-index: 30;
  top: 76px;
  margin-bottom: 22px;
  padding: 10px 12px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px) saturate(1.15);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.segmented {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: background 0.25s, color 0.25s;
}

.seg-btn span {
  font-size: 9px;
  color: var(--faint);
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn.is-active {
  background: var(--text);
  color: #121212;
}

.seg-btn.is-active span {
  color: rgba(18, 18, 18, 0.55);
}

.search-field {
  display: flex;
  align-items: center;
  flex: 1 1 210px;
  gap: 9px;
  min-width: 180px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}

.search-field:focus-within {
  border-color: var(--accent);
  background: #19191c;
}

.search-field > svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  color: var(--faint);
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 12px;
  color: var(--text);
}

.search-field input::placeholder {
  color: var(--faint);
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.sort-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--faint);
  letter-spacing: 0.08em;
}

.sort-field select {
  height: 34px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23a8a196' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

.sort-field select:hover {
  border-color: var(--line-strong);
}

.fav-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.fav-filter svg {
  width: 13px;
  height: 13px;
}

.fav-filter span {
  font-size: 9px;
  color: var(--faint);
}

.fav-filter:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.fav-filter.is-active {
  border-color: var(--accent);
  background: rgba(220, 185, 123, 0.1);
  color: var(--accent);
}

.fav-filter.is-active span {
  color: var(--accent);
}

.chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chip-color, var(--faint));
  opacity: 0.8;
}

.chip span {
  font-size: 8px;
  color: var(--faint);
}

.chip:hover {
  border-color: var(--line);
  color: var(--text);
}

.chip.is-active {
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
}

.chip.is-active::before {
  background: var(--chip-color, var(--accent));
  opacity: 1;
}

.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 2px 11px;
  border-top: 1px solid var(--line);
}

.results-line p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.results-line p strong {
  color: var(--muted);
  font-weight: 500;
}

.text-btn {
  border: 0;
  padding: 0;
  background: none;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.text-btn span {
  margin-left: 3px;
  font-size: 13px;
}

.text-btn:hover {
  color: var(--accent-soft);
}

/* ------------------------------------------------------------------ */
/* gallery masonry                                                     */
/* ------------------------------------------------------------------ */
.masonry {
  position: relative;
  width: 100%;
  min-height: 200px;
}

.wall-card {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.68s var(--ease);
  will-change: transform;
}

.wall-card.is-visible {
  opacity: 1;
}

.card-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 228, 0.11);
  border-radius: 4px;
  background: var(--surface);
  cursor: zoom-in;
  transition: border-color 0.3s;
}

.wall-card:hover .card-media {
  border-color: var(--line-strong);
}

.card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease), filter 0.5s;
}

.wall-card:hover .card-media > img {
  transform: scale(1.045);
  filter: brightness(0.92);
}

.card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 4, 6, 0.28) 0%, transparent 26%, transparent 54%, rgba(4, 4, 6, 0.72) 100%),
    linear-gradient(0deg, rgba(4, 4, 6, 0.28), transparent 32%);
  pointer-events: none;
}

.card-top {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.45);
  color: rgba(255, 255, 255, 0.85);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card-like {
  pointer-events: auto;
  width: 33px;
  height: 33px;
  background: rgba(8, 8, 10, 0.42);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-like svg {
  width: 15px;
  height: 15px;
  fill: transparent;
  transition: fill 0.2s, color 0.2s, transform 0.2s;
}

.card-like:hover svg {
  transform: scale(1.12);
}

.card-like.is-liked {
  color: var(--accent);
  border-color: rgba(220, 185, 123, 0.5);
}

.card-like.is-liked svg {
  fill: var(--accent);
}

.card-bottom {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  pointer-events: none;
}

.card-collection {
  margin: 0 0 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 238, 228, 0.62);
}

.card-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.card-title-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.card-download {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.35);
  color: #fff;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  backdrop-filter: blur(8px);
}

.card-download svg {
  width: 15px;
  height: 15px;
}

.card-download:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.wall-card:hover .card-download,
.card-download:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .card-download {
    opacity: 1;
    transform: none;
  }
}

.gallery-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 0 0;
}

.gallery-more p {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.gallery-more .btn {
  min-width: 190px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 50px 20px;
  border: 1px dashed var(--line);
  text-align: center;
}

.empty-mark {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
}

.empty-state h3 {
  margin: 18px 0 4px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.empty-state p {
  margin: 0 0 24px;
  font-size: 12px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* collections                                                         */
/* ------------------------------------------------------------------ */
.collections-section {
  padding-top: 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  text-align: left;
  isolation: isolate;
}

.collection-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.5s;
}

.collection-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 7, 0.88) 0%, rgba(5, 5, 7, 0.22) 52%, rgba(5, 5, 7, 0.06) 100%);
  transition: background 0.3s;
}

.collection-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.86);
}

.collection-card:hover {
  border-color: var(--line-strong);
}

.collection-body {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
}

.collection-no {
  display: block;
  margin-bottom: 28px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(242, 238, 228, 0.55);
}

.collection-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.collection-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(242, 238, 228, 0.62);
}

.collection-meta span:last-child {
  color: var(--accent-soft);
}

/* ------------------------------------------------------------------ */
/* guide                                                               */
/* ------------------------------------------------------------------ */
.guide-section {
  margin-top: clamp(40px, 7vw, 90px);
  padding: clamp(76px, 10vw, 130px) 0;
  background: var(--paper);
  color: var(--paper-ink);
}

.guide-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: clamp(30px, 6vw, 100px);
  margin-bottom: clamp(46px, 7vw, 78px);
}

.kicker-dark {
  color: #a94f38;
}

.guide-head h2 {
  color: var(--paper-ink);
}

.guide-head h2 em {
  color: #a94f38;
}

.guide-head > p {
  margin: 0 0 8px;
  padding-left: 22px;
  border-left: 1px solid var(--paper-line);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--paper-muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.guide-card {
  padding: 30px 26px 34px 0;
  border-right: 1px solid var(--paper-line);
}

.guide-card + .guide-card {
  padding-left: 26px;
}

.guide-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.guide-no {
  display: block;
  margin-bottom: 38px;
  font-family: var(--serif);
  font-size: 15px;
  color: #a94f38;
}

.guide-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.guide-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--paper-muted);
}

.guide-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 26px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--paper-muted);
}

.guide-note > span {
  color: #a94f38;
}

.guide-note p {
  flex: 1;
  margin: 0;
  max-width: 700px;
}

.guide-note strong {
  color: var(--paper-ink);
  font-weight: 600;
}

.guide-note a {
  flex: 0 0 auto;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--paper-ink);
  font-size: 11px;
  color: var(--paper-ink);
}

/* ------------------------------------------------------------------ */
/* footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
  padding: clamp(64px, 8vw, 100px) var(--page-pad) 28px;
  background: #070708;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: clamp(50px, 7vw, 82px);
}

.footer-mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
}

.footer-brand p {
  margin: 24px 0 0;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.footer-nav {
  display: flex;
  gap: clamp(48px, 8vw, 110px);
  padding-top: 10px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-label {
  margin: 0 0 6px;
  font-size: 8px;
  letter-spacing: 0.24em;
  color: var(--faint);
}

.footer-nav a,
.footer-nav button {
  border: 0;
  padding: 0;
  background: none;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom span {
  margin: 0 8px;
  color: var(--accent);
}

/* ------------------------------------------------------------------ */
/* lightbox                                                            */
/* ------------------------------------------------------------------ */
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  padding: 3vh 2vw;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 4, 0.9);
  backdrop-filter: blur(18px) saturate(0.7);
}

.lb-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  width: min(1500px, 100%);
  height: min(900px, 94vh);
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #101013;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: translateY(16px) scale(0.992);
  transition: transform 0.4s var(--ease);
}

.lightbox.is-open .lb-shell {
  transform: translateY(0) scale(1);
}

.lb-close {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.6);
  color: var(--text);
  backdrop-filter: blur(8px);
  transition: background 0.2s, color 0.2s;
}

.lb-close svg {
  width: 17px;
  height: 17px;
}

.lb-close:hover {
  background: var(--accent);
  color: #111;
}

.lb-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.05), transparent 60%),
    #08080a;
}

.lb-stage-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(242, 238, 228, 0.08);
}

.lb-counter {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.lb-orientation {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 20, 23, 0.8);
}

.lb-ori-btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: none;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.lb-ori-btn span {
  margin-left: 3px;
  color: var(--faint);
  font-size: 8px;
}

.lb-ori-btn.is-active {
  background: var(--text);
  color: #111;
}

.lb-ori-btn.is-active span {
  color: rgba(17, 17, 17, 0.55);
}

.lb-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
  padding: 26px 58px 42px;
}

.lb-image-wrap img {
  position: absolute;
  top: 26px;
  right: 58px;
  bottom: 42px;
  left: 58px;
  display: block;
  width: calc(100% - 116px);
  height: calc(100% - 68px);
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.42));
}

.lb-image-wrap img.is-loaded {
  opacity: 1;
}

.lb-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid var(--line-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.8s linear infinite;
  transition: opacity 0.2s;
}

.lb-loader.is-loading {
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.lb-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.45);
  color: var(--text);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lb-nav:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.lb-nav svg {
  width: 18px;
  height: 18px;
}

.lb-prev {
  left: 14px;
}

.lb-next {
  right: 14px;
}

.lb-stage-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--faint);
  white-space: nowrap;
}

.lb-panel {
  min-width: 0;
  border-left: 1px solid var(--line);
  background: #121215;
}

.lb-panel-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 40px 36px 36px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.lb-eyebrow {
  margin: 0 0 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.lb-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 3.6vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.lb-en {
  margin: 10px 0 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.lb-desc {
  margin: 26px 0 0;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

.lb-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lb-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lb-meta span {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--faint);
}

.lb-meta strong {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.lb-palette {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.lb-swatch {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.lb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.lb-tags span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  color: var(--muted);
}

.lb-actions {
  margin-top: 30px;
}

.lb-actions .btn {
  width: 100%;
  padding: 15px 20px;
}

.lb-alt-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 10px;
  color: var(--faint);
}

.lb-alt-download a {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
}

.lb-alt-download a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.lb-like {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lb-like svg {
  width: 15px;
  height: 15px;
}

.lb-like:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.lb-like.is-liked {
  border-color: rgba(220, 185, 123, 0.5);
  background: rgba(220, 185, 123, 0.08);
  color: var(--accent);
}

.lb-like.is-liked svg {
  fill: var(--accent);
}

.lb-note {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.8;
  color: var(--faint);
}

/* ------------------------------------------------------------------ */
/* toast                                                               */
/* ------------------------------------------------------------------ */
.toast {
  position: fixed;
  z-index: 120;
  bottom: 26px;
  left: 50%;
  max-width: min(90vw, 420px);
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18, 18, 21, 0.94);
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  backdrop-filter: blur(12px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  z-index: 300;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  text-align: center;
}

.noscript code {
  color: var(--accent);
}

/* ------------------------------------------------------------------ */
/* responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1240px) {
  .collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-card {
    width: min(285px, 100%);
  }

  .hero-note {
    display: none;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 20px;
  }

  .header-search span,
  .header-search kbd {
    display: none;
  }

  .hero-showcase {
    min-height: 380px;
  }

  .hero-card {
    width: min(258px, 100%);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.6fr);
  }
}

@media (max-width: 940px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-showcase {
    display: none;
  }

  .section-head,
  .guide-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .section-intro,
  .guide-head > p {
    justify-self: start;
    max-width: 600px;
  }

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

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

  .guide-card:nth-child(2) {
    border-right: 0;
  }

  .guide-card:nth-child(3) {
    border-top: 1px solid var(--paper-line);
    padding-left: 0;
  }

  .guide-card:nth-child(4) {
    border-top: 1px solid var(--paper-line);
  }

  .lightbox {
    padding: 0;
  }

  .lb-shell {
    grid-template-columns: minmax(0, 1fr) 360px;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
  }

  .site-header {
    padding: 0 18px;
  }

  .site-header.is-scrolled {
    height: 58px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .brand-text {
    font-size: 19px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-search {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(55px, 15.5vw, 92px);
    line-height: 0.94;
  }

  .hero-line-accent {
    padding-left: 0.24em;
  }

  .hero-lead {
    font-size: 12.5px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-stats {
    gap: 26px;
    margin-top: 34px;
  }

  .hero-stats dd {
    font-size: 29px;
  }

  .hero-ticker {
    padding: 12px 0;
  }

  .ticker-track {
    gap: 24px;
  }

  .ticker-track span {
    font-size: 13px;
  }

  .gallery-section,
  .collections-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-head h2,
  .guide-head h2 {
    font-size: clamp(38px, 10vw, 56px);
  }

  .filter-wrap {
    position: relative;
    top: auto;
    padding: 8px;
    margin-bottom: 18px;
  }

  .filter-bar {
    gap: 8px;
  }

  .segmented {
    width: 100%;
    justify-content: space-between;
  }

  .seg-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 8px;
  }

  .search-field {
    order: 3;
    flex-basis: 100%;
    height: 40px;
  }

  .filter-right {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .sort-field {
    flex: 1;
  }

  .sort-field select {
    flex: 1;
    width: 100%;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .collection-card {
    min-height: 230px;
  }

  .collection-no {
    margin-bottom: 18px;
  }

  .collection-card h3 {
    font-size: 25px;
  }

  .collection-meta {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

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

  .guide-card,
  .guide-card + .guide-card {
    padding: 24px 0 27px;
    border-right: 0;
  }

  .guide-card:nth-child(n + 2) {
    border-top: 1px solid var(--paper-line);
  }

  .guide-no {
    margin-bottom: 18px;
  }

  .guide-note {
    flex-wrap: wrap;
  }

  .guide-note a {
    margin-left: 30px;
  }

  .footer-top {
    flex-direction: column;
    gap: 42px;
  }

  .footer-nav {
    gap: 60px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .lightbox {
    padding: 0;
  }

  .lb-shell {
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    border: 0;
    transform: none;
  }

  .lb-stage {
    height: auto;
    min-height: 0;
  }

  .lb-stage-top {
    padding: 10px 14px 10px 58px;
  }

  .lb-image-wrap {
    flex: none;
    padding: 8px 38px 20px;
  }

  .lb-image-wrap img {
    position: static;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 50dvh;
  }

  .lb-nav {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }

  .lb-prev {
    left: 8px;
  }

  .lb-next {
    right: 8px;
  }

  .lb-stage-hint {
    display: none;
  }

  .lb-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lb-panel-scroll {
    height: auto;
    overflow: visible;
    padding: 26px 22px 34px;
  }

  .lb-close {
    position: absolute;
    top: 10px;
    right: auto;
    left: 12px;
    width: 36px;
    height: 36px;
  }

  .lb-panel h2 {
    font-size: 38px;
  }

  .lb-meta {
    gap: 8px;
  }

  .lb-actions {
    margin-top: 24px;
  }
}

@media (max-width: 420px) {
  .hero-stats {
    gap: 18px;
  }

  .hero-stats div {
    gap: 7px;
  }

  .hero-stats dt {
    font-size: 8px;
  }

  .hero-stats dd {
    font-size: 26px;
  }

  .collection-card {
    min-height: 210px;
  }

  .collection-meta span:first-child {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker-track {
    animation: none;
  }
}
