:root {
  --ink: #f4efe5;
  --paper: #0a0a0a;
  --muted: #b7ada0;
  --soft: #1c1a18;
  --line: rgba(244, 239, 229, 0.16);
  --gold: #d6a64d;
  --red: #c64b39;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 166, 77, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 24%, rgba(139, 187, 211, 0.14), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

.identity-home {
  min-height: 100vh;
}

.home-main {
  padding-bottom: 5rem;
}

.identity-hero {
  width: 100%;
  min-height: calc(100vh - 10rem);
  display: grid;
  align-content: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.identity-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.identity-copy {
  display: grid;
  min-width: 0;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}

.identity-mark {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-title h1 {
  font-size: clamp(4.8rem, 13vw, 12rem);
  letter-spacing: -0.09em;
}

.identity-statement {
  max-width: 50rem;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-portrait-card {
  width: min(100%, 23rem);
  justify-self: end;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  overflow: hidden;
  background: rgba(244, 239, 229, 0.04);
}

.home-portrait-card img {
  width: 100%;
  height: auto;
  filter: saturate(0.82) contrast(1.04);
}

.home-nav-large {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 1vw, 0.85rem);
  padding-top: 1rem;
}

.home-nav-large a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.8rem 0.6rem;
  text-align: center;
  color: var(--ink);
  background: rgba(244, 239, 229, 0.04);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  overflow-wrap: anywhere;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-nav-large a:hover {
  background: var(--ink);
  color: #111;
}

.home-work-preview {
  padding: 1rem 0 0;
}

.home-work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.2rem;
}

.home-work-heading h2 {
  max-width: 42rem;
  text-align: right;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.page-head {
  padding: 5rem 0 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: end;
}

.birds-head {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: clamp(3rem, 7vw, 5rem) 2.5rem;
}

.birds-head h1 {
  font-size: clamp(3rem, 6.8vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.birds-head .intro {
  max-width: 60ch;
  margin: 0;
}

.birds-head > *,
.contact-head > * {
  min-width: 0;
}

.birds-head h1,
.contact-head h1 {
  overflow-wrap: break-word;
}

.birds-head h1 span {
  display: block;
}

.moments-head {
  grid-template-columns: 1fr;
  gap: 1.2rem;
  padding-bottom: 1.6rem;
}

.moments-head h1 {
  max-width: 62rem;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.moments-head .intro {
  max-width: 46rem;
  margin-left: auto;
}

.kicker {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-weight: 500;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 9vw, 8rem);
  letter-spacing: -0.06em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 44rem;
}

.about-head {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  align-items: center;
}

.about-title-copy .intro {
  margin-top: 1.8rem;
}

.about-portrait {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  overflow: hidden;
  background: rgba(244, 239, 229, 0.04);
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(1.03);
}

.rule {
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.72rem 1rem;
  color: var(--ink);
  background: rgba(244, 239, 229, 0.04);
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #15110b;
}

.feature-image {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  overflow: hidden;
  background: rgba(244, 239, 229, 0.035);
  margin: 0 0 2rem;
}

.feature-image img {
  width: 100%;
  height: auto;
}

.illustration-head {
  grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 0.62fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.illustration-head-side {
  display: grid;
  gap: 1rem;
}

.illustration-hero-art {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  overflow: hidden;
  background: #030303;
}

.illustration-hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.work-index-head {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.work-index-head h1,
.contact-head h1 {
  max-width: 24ch;
  font-size: clamp(3.8rem, 7.2vw, 8rem);
  line-height: 0.98;
}

.work-index-head .intro,
.contact-head .intro {
  max-width: 48rem;
  margin: 0 0 0 auto;
}

.contact-head {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.work-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0 5rem;
}

.work-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  overflow: hidden;
  background: rgba(244, 239, 229, 0.035);
}

.work-entry.illustration-entry {
  grid-row: auto;
  min-height: unset;
}

.work-entry img {
  width: 100%;
  height: 62%;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  filter: saturate(0.92) contrast(1.02);
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.work-entry:hover img {
  filter: saturate(1.05) contrast(1.05);
}

.work-entry::after {
  content: none;
}

.work-entry-copy {
  position: static;
  margin-top: auto;
  padding: 0 1.15rem 1.2rem;
}

.work-entry-copy span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.work-entry-copy h2 {
  max-width: 42rem;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  letter-spacing: -0.045em;
}

.bird-entry img {
  object-position: center;
}

.tattoo-entry img {
  object-position: 52% center;
}

.gallery,
.works-gallery,
.tattoo-design-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.card,
.bird-card,
.work-card,
.tattoo-design-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(244, 239, 229, 0.035);
  overflow: hidden;
}

.bird-card,
.card {
  padding: 0.9rem;
}

.bird-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.bird-card span,
.caption {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 0.65rem;
}

.work-card img,
.tattoo-design-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.illustration-collection {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.illustration-collection--first {
  margin-top: 1rem;
}

.collection-heading {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.collection-heading .kicker {
  flex: none;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.collection-heading h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  text-wrap: balance;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3.5vw, 2.5rem);
  align-items: start;
}

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

.illustration-collection .work-card {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}

.illustration-collection .work-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.illustration-collection .work-card--wide {
  grid-column: 1 / -1;
  width: min(100%, 58rem);
  justify-self: center;
  margin-block: clamp(0.5rem, 2vw, 1.5rem);
}

.collection-grid--archive .work-card--wide {
  width: min(100%, 48rem);
}

@media (max-width: 1000px) {
  .collection-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .collection-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
  }

  .illustration-collection .work-card--wide {
    margin-block: 0;
  }
}

.tattoo-design-card img {
  aspect-ratio: 1 / 1;
}

.tattoo-design-gallery {
  display: block;
  columns: 4 14rem;
  column-gap: clamp(1rem, 2vw, 1.45rem);
}

.tattoo-design-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(1rem, 2vw, 1.45rem);
  padding: clamp(0.45rem, 1vw, 0.7rem);
}

.tattoo-design-card--pause {
  margin-top: clamp(1.2rem, 3vw, 2.2rem);
}

.tattoo-design-card--spread {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.tattoo-design-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0.85rem;
  background: rgba(244, 239, 229, 0.04);
}

.tattoo-flash-group {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.tattoo-flash-row {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: start;
}

/* Proportional columns align the original drawings without cropping them. */
.tattoo-flash-row--stems {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.789fr);
}

.tattoo-flash-row--botanicals {
  grid-template-columns: minmax(0, 1.693fr) minmax(0, 1fr);
}

.tattoo-flash-group--birds {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.tattoo-flash-row--birds {
  grid-template-columns: minmax(0, 0.9605fr) minmax(0, 1fr);
}

.tattoo-flash-group .tattoo-design-card {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.tattoo-flash-group .tattoo-design-card img {
  border-radius: 0;
}

@media (max-width: 560px) {
  .tattoo-flash-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(244, 239, 229, 0.045);
  padding: 1.35rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.tattoo-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2rem;
  overflow: hidden;
  background: var(--soft);
}

.tattoo-note {
  max-width: 76ch;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.tattoo-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.tattoo-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.tattoo-effect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  min-height: 0;
  /* Let the full-height lead photo size the row, not the four thumbnails. */
  contain: size;
}

.tattoo-effect-grid figure {
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.tattoo-effect-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.statement,
.cv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.moments-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.moments-cover-index {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.moment-module {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(194, 143, 45, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--cream);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.moment-module-with-cover {
  min-height: 0;
  height: 100%;
  justify-content: flex-start;
  padding: 0;
  overflow: hidden;
}

.moment-module:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 143, 45, 0.72);
}

.moment-module-cover {
  width: 100%;
  margin: 0;
  padding: 1rem 1rem 0;
}

.moment-module-cover img {
  display: block;
  width: 100%;
  height: clamp(13rem, 22vw, 17rem);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  object-fit: contain;
}

.moment-module-copy {
  display: flex;
  flex: 1;
  min-height: 15rem;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.25rem;
}

.moment-module span {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.moment-module h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 0.98;
}

.moment-module p {
  color: var(--muted);
  font-size: 0.95rem;
}

.moment-section {
  scroll-margin-top: 6rem;
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 0.65fr);
  gap: 1rem;
  padding: 1rem 0;
}

.moment-section-head {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.35rem;
}

.moment-section-head h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.moment-section-head p:not(.kicker) {
  color: var(--muted);
}

.moment-empty {
  min-height: 16rem;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(242, 237, 226, 0.2);
  border-radius: 1.5rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
  padding: 1.25rem;
}

.moment-gallery {
  column-count: 3;
  column-gap: 1rem;
}

.moment-gallery-wide {
  column-count: 4;
}

.moment-photo {
  display: block;
  break-inside: avoid;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.moment-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.moment-detail-head {
  grid-template-columns: minmax(0, 0.84fr) minmax(19rem, 0.68fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: end;
  padding-bottom: 1.5rem;
}

.moment-detail-head .intro {
  max-width: 44rem;
  margin-bottom: clamp(0.2rem, 1.5vw, 1rem);
}

.moment-detail-head h1.split-title {
  display: grid;
  gap: 0.05em;
  max-width: 12ch;
  font-size: clamp(4.4rem, 9.5vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.moment-detail-head h1.split-title span,
.moment-detail-head h1.split-title em {
  display: block;
}

.moment-detail-head h1.split-title em {
  font-style: normal;
  font-size: 0.52em;
  line-height: 1.02;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.moment-detail-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--muted);
}

.moment-detail-tools a {
  color: var(--cream);
  text-decoration: none;
}

.moment-detail-tools a:hover {
  color: var(--gold);
}

.cv-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cv-section {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.35rem;
}

.cv-section:nth-child(n + 4) {
  grid-column: 1 / -1;
}

.cv-section h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.cv-rows {
  display: grid;
  gap: 0.72rem;
}

.item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.year {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  color: var(--muted);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}

[data-lang="zh"] {
  display: none;
}

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

body.zh [data-lang="zh"] {
  display: revert;
}

@media (max-width: 900px) {
  .birds-head,
  .contact-head {
    gap: 1.25rem;
  }

  .tattoo-effect-grid {
    contain: none;
    grid-template-rows: auto;
  }

  .tattoo-effect-grid figure {
    aspect-ratio: 4 / 5;
  }

  .page-head,
  .about-head,
  .work-index-head,
  .moment-detail-head,
  .illustration-head,
  .identity-hero-grid,
  .split,
  .statement,
  .cv,
  .cv-list,
  .moments-index,
  .moment-section,
  .work-entry-grid {
    grid-template-columns: 1fr;
  }

  .cv-section:nth-child(n + 4) {
    grid-column: auto;
  }

  .home-work-heading {
    display: block;
  }

  .home-work-heading h2 {
    text-align: left;
  }

  .home-portrait-card {
    justify-self: start;
    width: min(100%, 20rem);
  }

  .work-index-head h1,
  .moment-detail-head h1.split-title {
    max-width: none;
    font-size: clamp(3.3rem, 14vw, 6.4rem);
  }

  .moment-detail-head h1.split-title em {
    white-space: normal;
  }

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

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

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

  .moment-gallery {
    column-count: 2;
  }

  .tattoo-design-gallery {
    columns: 2 13rem;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .home-nav-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gallery,
  .works-gallery,
  .moments-index,
  .tattoo-design-gallery {
    grid-template-columns: 1fr;
  }

  .tattoo-design-gallery {
    columns: 1;
  }

  .identity-mark {
    align-items: stretch;
    flex-direction: column;
  }

  main {
    padding-inline: 1rem;
  }

  .item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .moment-gallery {
    column-count: 1;
  }
}
