@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  --font-display: "Space Mono", monospace;
  --font-body: "Space Mono", monospace;
  --font-mono: "Space Mono", monospace;
  --bg: oklch(15% 0.008 65);
  --surface: oklch(19% 0.01 65);
  --fg: oklch(92% 0.012 75);
  --muted: oklch(67% 0.014 70);
  --border: oklch(29% 0.012 65);
  --accent: oklch(72% 0.16 55);
  --accent-fg: oklch(15% 0.008 65);
  --radius: 2px;
  --pill: 999px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  border-radius: var(--radius);
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(100%, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 52px) 36px;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.page-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 132px;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-switch::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: 4px;
  left: 13px;
  width: 40px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  transform: translateX(var(--marker-x, 0));
  transition: transform 240ms var(--ease-out);
  z-index: 2;
}

[data-page="me"] .page-switch {
  --marker-x: 66px;
}

.page-switch a {
  position: relative;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  font-size: .875rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}

.page-switch a[aria-current="page"] {
  color: var(--fg);
}

.page-switch a:hover:not([aria-current="page"]) {
  color: var(--accent);
}

.folio-layout {
  display: grid;
  gap: 32px;
  padding-top: clamp(44px, 7vw, 76px);
}

.folio {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: lowercase;
}

.folio::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.hero {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .98;
}

.hero-copy {
  max-width: 54ch;
  margin: clamp(22px, 4vw, 34px) 0 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.6;
}

.accent-mark {
  color: inherit;
  font-style: normal;
}

.chapters,
.collections {
  margin-top: clamp(72px, 10vw, 110px);
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -.02em;
}

.section-heading::after {
  content: "";
  height: 1px;
  background: var(--border);
}

.chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chapter {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--border);
}

.chapter-number {
  padding-top: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.chapter-place {
  margin: 0 0 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chapter h3,
.collection h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.chapter h3 a {
  text-decoration-color: color-mix(in oklch, var(--accent) 60%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms var(--ease-out), text-decoration-color 160ms var(--ease-out);
}

.chapter h3 a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.chapter-point {
  grid-column: 2;
  max-width: 58ch;
  margin: 12px 0 0;
  padding-left: 1.15rem;
  color: color-mix(in oklch, var(--fg) 82%, var(--muted));
  font-size: 1rem;
}

.chapter-point li::marker {
  color: var(--accent);
}

.collection-grid {
  display: grid;
  gap: 48px;
}

.collection {
  min-height: 180px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.collection-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.empty-note {
  max-width: 27ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.site-footer {
  display: grid;
  gap: 28px;
  margin-top: clamp(80px, 12vw, 130px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.work-shell {
  position: relative;
  display: flex;
  flex-direction: column;
}

.profile-photo-wrap {
  position: absolute;
  top: 92px;
  left: clamp(20px, 4vw, 52px);
  width: clamp(96px, 9vw, 124px);
  line-height: 0;
}

.profile-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  filter: saturate(.8) contrast(1.04);
}

.profile-dither {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius);
  image-rendering: pixelated;
  pointer-events: none;
}

.water-stone {
  --water-active: 0;
  --water-shift-x: 0px;
  --water-shift-y: 0px;
  --water-x: 50%;
  --water-y: 50%;
  position: relative;
  width: 128px;
  display: block;
  aspect-ratio: 8 / 5;
  margin: clamp(28px, 3.5vh, 40px) auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .82;
  mix-blend-mode: lighten;
}

.water-stone:disabled {
  cursor: default;
}

.water-stone > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.water-flow-mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .26;
  mix-blend-mode: screen;
  -webkit-mask-image: url("/water-stone-dither.webp");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: url("/water-stone-dither.webp");
  mask-mode: luminance;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: cover;
  transform: translate(var(--water-shift-x), var(--water-shift-y));
  transition: transform 240ms var(--ease-out);
}

.water-flow-mask > span {
  position: absolute;
  inset: -18px;
  background-image: radial-gradient(circle, var(--fg) 0 1px, transparent 1.2px);
  background-size: 5px 6px;
  transform: translateY(-12px);
}

.water-ripple {
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(
    circle at var(--water-x) var(--water-y),
    transparent 0 7px,
    color-mix(in oklch, var(--accent) 72%, transparent) 8px 9px,
    transparent 10px 15px
  );
  opacity: var(--water-active);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out);
  -webkit-mask-image: url("/water-stone-dither.webp");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: url("/water-stone-dither.webp");
  mask-mode: luminance;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: cover;
}

@keyframes water-fall {
  to {
    transform: translateY(0);
  }
}

.work-minimal {
  width: min(100%, 820px);
  margin: clamp(96px, 20vh, 208px) 0 72px;
}

.work-points {
  display: grid;
  gap: clamp(14px, 2.6vh, 24px);
  margin: 0;
  padding-left: 1.2rem;
  font-size: clamp(.9rem, 1.25vw, 1rem);
  line-height: 1.55;
}

.work-points li {
  padding-left: .35rem;
}

.work-points li::marker {
  color: var(--accent);
}

.work-points a,
.spotify-link,
.contact-links a,
.page-switch a {
  position: relative;
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}

.work-points a::after,
.spotify-link::after,
.contact-links a::after,
.page-switch a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 3px;
  background: linear-gradient(
    to bottom,
    transparent 1px,
    color-mix(in oklch, var(--accent) 64%, transparent) 1px 2px,
    transparent 2px
  );
  opacity: .78;
  transform: translateX(0);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
  pointer-events: none;
}

.page-switch a::after {
  bottom: 6px;
  opacity: 0;
}

.work-points a:hover,
.work-points a:focus-visible,
.spotify-link:hover,
.spotify-link:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible,
.page-switch a:hover,
.page-switch a:focus-visible {
  color: var(--accent);
}

.work-points a:hover::after,
.work-points a:focus-visible::after,
.spotify-link:hover::after,
.spotify-link:focus-visible::after,
.contact-links a:hover::after,
.contact-links a:focus-visible::after,
.page-switch a:hover::after,
.page-switch a:focus-visible::after {
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 2px,
    transparent 2px 4px
  );
  opacity: 1;
  transform: translateX(1px);
}

.me-shell {
  display: flex;
  flex-direction: column;
}

.me-shelves {
  width: 100%;
  margin: clamp(44px, 7vh, 72px) 0 72px;
}

.shelf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 7vw, 76px) clamp(28px, 5vw, 56px);
}

.shelf {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: 116px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.shelf h2 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.clothes-list,
.other-list,
.visited-list {
  display: grid;
  gap: 0 clamp(28px, 5vw, 56px);
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.clothes-list li,
.other-list li,
.visited-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(.78rem, 1.25vw, .9rem);
  line-height: 1.5;
}

.visited-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
}

.visited-list time {
  color: var(--muted);
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
}

.shelf-heading,
.wheel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.spotify-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .7rem;
}

.music-wheel {
  margin-top: 30px;
}

.wheel-heading {
  align-items: center;
  margin-bottom: 12px;
}

.wheel-heading h3 {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: lowercase;
}

.wheel-controls {
  display: flex;
  gap: 2px;
}

.wheel-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  transition: color 160ms var(--ease-out);
}

.wheel-controls button:hover:not(:disabled) {
  color: var(--accent);
}

.wheel-controls button:focus-visible {
  border-radius: var(--radius);
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.wheel-controls button:disabled {
  cursor: default;
  opacity: .24;
}

.album-wheel {
  --album-size: clamp(112px, 13vw, 144px);
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
  padding: 6px calc((100% - var(--album-size)) / 2) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  perspective: 720px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.album-wheel::-webkit-scrollbar {
  display: none;
}

.album-wheel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.album-wheel.is-jumping {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.album-wheel:focus-visible {
  border-radius: var(--radius);
  outline: none;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.album-card {
  width: var(--album-size);
  flex: 0 0 var(--album-size);
  scroll-snap-align: center;
  transform-origin: center bottom;
  transition: opacity 160ms linear, transform 160ms var(--ease-out);
}

.album-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  pointer-events: none;
  filter: saturate(.88) contrast(1.02);
}

.album-title,
.album-artist {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: .92rem;
  line-height: 1.2;
  min-height: 3.6em;
  overflow: visible;
  text-overflow: clip;
  text-transform: lowercase;
  white-space: normal;
}

.album-artist {
  margin-top: 3px;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.3;
  text-transform: lowercase;
}

.song-index {
  margin-top: clamp(36px, 5vw, 52px);
}

.song-index h3 {
  max-width: min(68ch, calc(100% - 100px));
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.55;
  text-transform: lowercase;
}

.song-wheel {
  --song-size: clamp(108px, 12vw, 136px);
  display: flex;
  gap: clamp(18px, 3vw, 30px);
  margin: 0;
  padding: 6px calc((100% - var(--song-size)) / 2) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  perspective: 720px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.song-wheel::-webkit-scrollbar {
  display: none;
}

.song-wheel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.song-wheel.is-jumping {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.song-wheel:focus-visible {
  border-radius: var(--radius);
  outline: none;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.song-card {
  width: var(--song-size);
  display: flex;
  flex: 0 0 var(--song-size);
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  scroll-snap-align: center;
  transform-origin: center bottom;
  transition: opacity 160ms linear, transform 160ms var(--ease-out);
}

.song-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  pointer-events: none;
  filter: saturate(.84) contrast(1.03);
}

.song-title {
  margin-top: 10px;
  font-size: .78rem;
  line-height: 1.35;
}

.song-artist {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.35;
}

.book-wheel {
  --book-size: clamp(110px, 12vw, 138px);
  display: flex;
  gap: clamp(18px, 3vw, 30px);
  margin: 24px 0 0;
  padding: 6px calc((100% - var(--book-size)) / 2) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  perspective: 720px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.book-wheel::-webkit-scrollbar {
  display: none;
}

.book-wheel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.book-wheel.is-jumping {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.book-wheel:focus-visible {
  border-radius: var(--radius);
  outline: none;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.book-card {
  width: var(--book-size);
  flex: 0 0 var(--book-size);
  scroll-snap-align: center;
  transform-origin: center bottom;
  transition: opacity 160ms linear, transform 160ms var(--ease-out);
}

.book-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  filter: saturate(.86) contrast(1.02);
}

.album-wheel.is-dragging .album-card,
.book-wheel.is-dragging .book-card,
.song-wheel.is-dragging .song-card {
  transition: none;
  will-change: transform, opacity;
}

.album-card img,
.book-card img,
.song-card img {
  filter: grayscale(1) saturate(0) contrast(1.06) brightness(.86);
  transition: filter 240ms var(--ease-out);
}

.album-card.is-centered img,
.book-card.is-centered img,
.song-card.is-centered img {
  filter: grayscale(0) saturate(.88) contrast(1.02) brightness(1);
}

@media (hover: hover) and (pointer: fine) {
  .album-card:hover img,
  .book-card:hover img,
  .song-card:hover img {
    filter: grayscale(0) saturate(.88) contrast(1.02) brightness(1);
  }
}

.book-title,
.book-author {
  margin: 0;
  text-transform: lowercase;
}

.book-title {
  margin-top: 10px;
  font-size: .78rem;
  line-height: 1.35;
}

.book-author {
  margin-top: 7px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.35;
}

.me-footer {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: auto;
  padding-top: 20px;
}

.me-footer .contact-links {
  justify-content: flex-start;
}

.work-footer {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: 20px;
  padding-top: 20px;
}

.work-footer .contact-links {
  justify-content: flex-start;
}

.fire-strip {
  position: relative;
  width: 100%;
  height: clamp(190px, 26vw, 280px);
  display: block;
  flex: 0 0 auto;
  margin: auto auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-shadow: none;
}

.fire-strip canvas {
  width: 100%;
  height: 100%;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 78% 100% at 50% 100%, black 0 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 100% at 50% 100%, black 0 58%, transparent 100%);
}

.fire-strip:active {
  transform: translateY(1px);
}

.fire-strip:focus-visible {
  outline: none;
  box-shadow: none;
}

.fire-strip::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}

.fire-strip:focus-visible::after {
  opacity: 1;
}

.fire-strip:disabled {
  cursor: default;
}

.footer-note {
  max-width: 33ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.contact-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-location {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .68rem;
  line-height: 1.35;
  text-align: right;
}

.footer-location time {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.footer-small {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
}

@media (min-width: 720px) {
  .shell {
    padding-top: 28px;
  }

  .folio-layout {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .folio {
    align-self: start;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .folio::before {
    width: 1px;
    height: 34px;
  }

  .chapter {
    grid-template-columns: 46px minmax(210px, .72fr) minmax(300px, 1.28fr);
    gap: 22px;
  }

  .chapter-point {
    grid-column: 3;
    margin-top: 5px;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .work-minimal {
    margin-left: min(8vw, 88px);
  }

  .profile-photo-wrap {
    top: 112px;
  }

  .water-stone {
    width: clamp(160px, 17vw, 196px);
  }

  .footer-small {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1040px) {
  .hero-copy {
    margin-left: 0;
  }
}

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

  .page-switch::before,
  .page-switch a {
    transition: none;
  }

  .fire-strip:active {
    transform: none;
  }

  .album-wheel {
    scroll-behavior: auto;
  }

  .album-card,
  .book-card,
  .song-card,
  .album-card img,
  .book-card img,
  .song-card img,
  .wheel-controls button,
  .water-flow-mask,
  .water-ripple,
  .work-points a,
  .work-points a::after,
  .spotify-link,
  .spotify-link::after,
  .contact-links a,
  .contact-links a::after,
  .page-switch a::after {
    transition: none;
  }

  .profile-dither {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .water-flow-mask > span {
    animation: water-fall 2.8s linear infinite;
  }

  .water-stone.is-paused .water-flow-mask > span {
    animation-play-state: paused;
  }
}
