/* Amiao — a cat's photo journal */

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193, U+2212;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #eae6dc;
  --surface: #faf8f3;
  --ink: #17150f;
  --ink-2: #423d33;
  --muted: #6e675b;
  --line: rgba(23, 21, 15, 0.14);
  --line-strong: rgba(23, 21, 15, 0.32);
  --accent: #b4512b;
  --accent-soft: #ded0c0;
  --lb-bg: #0d0c0a;
  --lb-ink: #f4f1ea;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia,
    "Times New Roman", serif;
  --wrap: 1440px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
  --paper: #12110e;
  --paper-2: #1c1a15;
  --surface: #191712;
  --ink: #f2eee4;
  --ink-2: #c9c2b4;
  --muted: #938b7c;
  --line: rgba(242, 238, 228, 0.15);
  --line-strong: rgba(242, 238, 228, 0.36);
  --accent: #e2825a;
  --accent-soft: #3a2a20;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--paper);
  border-radius: 999px;
}

html.lb-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand-cn {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-en {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
}

.site-nav a {
  position: relative;
  padding-block: 6px;
  color: var(--ink-2);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  transform: rotate(12deg);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: end;
  padding-block: clamp(44px, 7vh, 92px) clamp(72px, 11vh, 150px);
}

.hero-copy {
  padding-bottom: clamp(6px, 2vw, 28px);
}

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(3.4rem, 8.6vw, 8.2rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-title span {
  display: block;
}

.hero-script {
  margin: 20px 0 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.005em;
}

.hero-lede {
  max-width: none;
  margin: 26px 0 0;
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-stats b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hero-scroll span {
  transition: transform 0.3s var(--ease);
}

.hero-scroll:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-scroll:hover span {
  transform: translateY(3px);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: clamp(440px, 62vh, 690px);
}

.hero-collage figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-2);
}

.hero-collage figure:first-child {
  grid-row: 1 / 3;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.hero-collage figure:hover img {
  transform: scale(1.025);
}

/* Statement */

.statement {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(64px, 10vh, 128px);
  border-top: 1px solid var(--line);
}

.statement-text {
  max-width: none;
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

/* Collections */

.collections {
  padding-bottom: clamp(72px, 12vh, 150px);
  scroll-margin-top: 84px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.chip span {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.chip:hover {
  border-color: var(--line-strong);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip.is-active span {
  color: color-mix(in srgb, var(--paper) 65%, transparent);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 42px);
}

.album-card {
  display: block;
  min-width: 0;
}

.album-card[hidden] {
  display: none;
}

.album-card.is-featured {
  grid-column: 1 / -1;
}

.album-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-2);
  aspect-ratio: 4 / 5;
}

.album-card.is-featured .album-cover {
  aspect-ratio: 16 / 9;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1s var(--ease);
}

.album-card:hover .album-cover img {
  transform: scale(1.03);
}

.album-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 11, 9, 0.34), transparent 42%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.album-card:hover .album-cover::after {
  opacity: 1;
}

.album-cover-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.album-card:hover .album-cover-label {
  opacity: 1;
  transform: none;
}

.album-body {
  padding-top: 18px;
}

.album-main {
  min-width: 0;
}

.album-card.is-featured .album-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
}

.album-card.is-featured .album-main {
  flex: 1;
}

.album-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.album-no {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.album-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.album-card.is-featured .album-title {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

.album-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  transition: color 0.2s var(--ease), transform 0.3s var(--ease);
}

.album-card:hover .album-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.album-desc {
  max-width: none;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.album-card.is-featured .album-desc {
  max-width: none;
  margin-top: 16px;
  font-size: 15px;
}

.album-card.is-featured .album-arrow {
  display: none;
}

.album-meta {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.album-meta .dot {
  margin-inline: 8px;
  opacity: 0.6;
}

.album-card.is-featured .album-meta {
  margin-top: 14px;
}

/* About teaser */

.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding-block: clamp(72px, 11vh, 140px);
  border-top: 1px solid var(--line);
}

.about-teaser figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}

.about-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser h2 {
  margin: 20px 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.about-teaser p {
  max-width: none;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 44px 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-mark {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-2);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.footer-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer-links a {
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-icp {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease);
}

.footer-icp:hover {
  color: var(--ink);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.2s var(--ease);
}

.to-top:hover {
  color: var(--ink);
}

/* Album page */

.album-page {
  padding-top: clamp(24px, 4vh, 48px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.album-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(36px, 6vh, 72px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.album-head h1 {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.album-lede {
  max-width: none;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
}

.album-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.album-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.album-facts li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  padding-block: clamp(24px, 4vw, 48px) clamp(64px, 9vw, 120px);
}

.g-item {
  position: relative;
  width: calc(33.333% - 4px);
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: var(--ar);
  background-color: var(--paper-2);
  background-size: cover;
  background-position: center;
}

.no-js .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.no-js .g-item {
  aspect-ratio: var(--ar);
}

.g-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.4s var(--ease);
}

.g-item:hover img {
  transform: scale(1.018);
  filter: brightness(0.96);
}

/* Pager */

.album-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pager-link.next {
  align-items: flex-end;
  text-align: right;
}

.pager-link span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pager-link strong {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}

.pager-link:hover strong {
  color: var(--accent);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lb-ink);
}

.lightbox::backdrop {
  background: rgba(10, 9, 7, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lb-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: clamp(14px, 2.4vw, 30px);
}

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.lb-album {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.68);
}

.lb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-btn {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(244, 241, 234, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--lb-ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.lb-btn:hover {
  background: var(--lb-ink);
  border-color: var(--lb-ink);
  color: #12110e;
}

.lightbox :focus-visible {
  outline-color: var(--lb-ink);
}

.lb-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 10px clamp(8px, 4vw, 64px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.lb-stage::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: inherit;
  filter: blur(56px) brightness(0.26);
  opacity: 0.42;
  z-index: 0;
  pointer-events: none;
}

.lb-stage img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.lb-stage img.is-loaded {
  opacity: 1;
}

.lb-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(38px, 4.4vw, 52px);
  height: clamp(38px, 4.4vw, 52px);
  padding: 0;
  border: 1px solid rgba(244, 241, 234, 0.24);
  border-radius: 50%;
  background: rgba(18, 17, 14, 0.45);
  color: var(--lb-ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lb-nav:hover {
  background: var(--lb-ink);
  color: #12110e;
  border-color: var(--lb-ink);
}

.lb-nav.prev {
  left: clamp(8px, 2vw, 26px);
}

.lb-nav.next {
  right: clamp(8px, 2vw, 26px);
}

.lb-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  color: rgba(244, 241, 234, 0.62);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lb-count {
  font-variant-numeric: tabular-nums;
}

.lb-hint {
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* About page */

.about-page {
  padding-block: clamp(48px, 8vh, 96px) clamp(72px, 10vw, 140px);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.about-body {
  max-width: none;
  margin-top: 28px;
}

.about-body p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
}

.about-hero figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-quote {
  margin: clamp(64px, 10vw, 128px) 0 0;
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.about-quote blockquote {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.about-quote .eyebrow {
  margin-bottom: 24px;
}

/* 404 */

.notfound {
  display: grid;
  place-content: center;
  min-height: calc(100vh - 66px);
  padding: var(--gutter);
  text-align: center;
}

.notfound .code {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 12rem);
  font-style: italic;
  line-height: 1;
}

.notfound h1 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.notfound p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notfound .text-link {
  margin-top: 32px;
  justify-content: center;
}

/* Entrance */

.hero-copy {
  animation: rise 0.9s var(--ease) both;
}

.hero-collage {
  animation: rise 1s var(--ease) 0.08s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-collage {
    height: clamp(380px, 52vh, 560px);
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .album-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero figure {
    order: -1;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .statement {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-teaser figure {
    aspect-ratio: 4 / 3;
  }

  .album-pager {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pager-link.next {
    align-items: flex-start;
    text-align: left;
  }

  .lb-hint {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-collage {
    display: flex;
    height: auto;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 4px;
  }

  .hero-collage::-webkit-scrollbar {
    display: none;
  }

  .hero-collage figure {
    flex: 0 0 64vw;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }

  .hero-collage figure:first-child {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 60px;
  }

  .brand-en {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-stats {
    margin-top: 30px;
  }

  .hero-scroll {
    margin-top: 34px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 90%, transparent);
    mask-image: linear-gradient(to right, #000 90%, transparent);
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
  }

  .album-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .album-card.is-featured {
    grid-column: auto;
  }

  .album-card.is-featured .album-cover,
  .album-cover {
    aspect-ratio: 4 / 5;
  }

  .album-card.is-featured .album-body {
    display: block;
  }

  .album-card.is-featured .album-desc {
    margin-top: 9px;
    font-size: 14.5px;
  }

  .album-card.is-featured .album-title {
    font-size: clamp(1.35rem, 6vw, 1.9rem);
  }

  .album-card.is-featured .album-meta {
    margin-top: 13px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .lb-btn {
    min-width: 40px;
    padding: 0;
  }

  .lb-stage {
    padding: 6px;
  }

  .lb-nav {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

}
