:root {
  --bg: #f7f3eb;
  --fg: #59409b;
  --muted: #8c7aa9;
  --accent: #f68e5f;
  --tone-white: #fffdf8;
  --tone-purple: #59409b;
  --tone-orange: #f68e5f;
  --font-sans: system-ui, sans-serif;
  --font-serif: Georgia, serif;
  --border: color-mix(in srgb, var(--fg) 18%, transparent);
  --content-width: min(110rem, calc(100vw - 2rem));
  --focus: 3px solid color-mix(in srgb, var(--accent) 78%, black);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 20%, transparent), transparent 22rem),
    linear-gradient(180deg, color-mix(in srgb, white 18%, var(--bg)), var(--bg));
  color: var(--fg);
  font-family: var(--font-sans);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

a:focus-visible,
button:focus-visible {
  outline: var(--focus);
  outline-offset: 0.2rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  background: var(--fg);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

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

.site-header,
.site-footer {
  width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 0;
}

.site-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 4;
}

.site-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.9rem);
  text-decoration: none;
}

.site-title--logo {
  display: inline-flex;
  align-items: center;
}

.site-logo-mark {
  display: block;
  width: var(--site-logo-width, clamp(8rem, 14vw, 12rem));
  max-width: 100%;
  flex: 0 0 auto;
  aspect-ratio: var(--site-logo-aspect, 3 / 1);
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.site-logo-mark--gallery-mobile {
  display: none;
}

.site-title--logo img {
  display: block;
  height: auto;
  width: min(100%, var(--site-logo-width, clamp(8rem, 14vw, 12rem)));
}

.site-nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: color-mix(in srgb, var(--accent) 82%, var(--fg));
}

#main-content {
  width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 3rem;
}

.home-page #main-content {
  width: 100%;
  max-width: none;
}

.gallery-page #main-content {
  width: 100%;
  max-width: none;
}

.home-collage {
  position: relative;
  min-height: max(100vh, 84rem);
  width: 100%;
  padding: 2rem 0 6rem;
  overflow: clip;
}

.home-collage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--bg) 94%, transparent) 0%,
      color-mix(in srgb, var(--bg) 76%, transparent) 14%,
      color-mix(in srgb, var(--bg) 30%, transparent) 30%,
      transparent 46%
    ),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 88%, transparent) 0%,
      color-mix(in srgb, var(--bg) 34%, transparent) 14%,
      transparent 28%
    );
}

.home-shell {
  position: relative;
  z-index: 2;
  width: min(112rem, calc(100vw - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.home-intro {
  position: relative;
  padding: 0.5rem 0 0;
  max-width: 40rem;
  margin-left: clamp(0rem, 6vw, 6rem);
}

.home-intro::before {
  content: "";
  position: absolute;
  inset: -1rem -1.5rem -0.75rem -1.5rem;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--bg) 88%, transparent),
      color-mix(in srgb, var(--bg) 64%, transparent) 62%,
      transparent
    );
  filter: blur(6px);
}

.home-eyebrow,
.page-kicker,
.gallery-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

.home-arrow {
  display: inline-block;
  margin-inline: 0.4rem;
  color: color-mix(in srgb, var(--accent) 88%, var(--fg));
}

.home-headline {
  margin: 0.4rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8.2vw, 7.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 12ch;
}

.home-logo-wrap {
  margin-top: 0.55rem;
  width: min(100%, var(--home-logo-width, 58rem));
  max-width: 82vw;
}

.home-logo {
  display: block;
  width: 100%;
  height: auto;
}

.home-visual-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 22rem),
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--fg) 7%, transparent), transparent 26rem),
    linear-gradient(180deg, color-mix(in srgb, white 58%, transparent), transparent 70%);
  isolation: isolate;
}

.home-stage-copy {
  position: fixed;
  inset: auto 1.25rem 1rem 1.25rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: none;
}

.home-stage-copy::before {
  content: "";
  position: absolute;
  inset: -0.65rem -0.75rem -0.5rem -0.75rem;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--bg) 90%, transparent) 0%,
      color-mix(in srgb, var(--bg) 68%, transparent) 55%,
      color-mix(in srgb, var(--bg) 8%, transparent) 100%
    );
  border-radius: 0.9rem;
  filter: blur(6px);
}

.home-stage-note,
.home-stage-caption {
  margin: 0;
}

.home-stage-note {
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--fg) 84%, black);
  text-wrap: balance;
}

.home-stage-note span {
  display: block;
  color: color-mix(in srgb, var(--muted) 92%, black);
}

.home-stage-caption {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  text-align: right;
  max-width: 18rem;
  color: color-mix(in srgb, var(--fg) 88%, black);
  text-shadow: 0 0.08rem 0.55rem color-mix(in srgb, var(--bg) 82%, transparent);
}

.home-stage-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.home-stage-image {
  position: fixed;
  left: var(--stage-left, calc(var(--seed-x) * 1vw));
  top: var(--stage-top, calc(var(--seed-y) * 1vh));
  width: clamp(12rem, calc(var(--seed-width) * 1vw), 24rem);
  max-width: 28vw;
  border: 1px solid color-mix(in srgb, var(--fg) 15%, white);
  background: white;
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.12);
  opacity: var(--stage-opacity, 0);
  pointer-events: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: none;
  will-change: left, top;
}

.home-stage-image.is-seeded {
  --stage-opacity: 0.9;
}

[data-home-stage][data-enhanced="true"] .home-stage-image {
  --stage-opacity: 0;
}

[data-home-stage][data-enhanced="true"] .home-stage-image.is-visible {
  --stage-opacity: 1;
  pointer-events: auto;
}

.home-menu {
  list-style: none;
  width: min(96rem, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: clamp(0.8rem, 2.6vh, 2.1rem);
}

.home-menu-item {
  animation: rise-in 560ms ease both;
  animation-delay: var(--item-delay);
}

.home-menu-link {
  position: relative;
  display: grid;
  grid-template-columns: clamp(2.7rem, 5vw, 5.5rem) minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 1rem;
  text-decoration: none;
  font-size: clamp(2.4rem, 7.4vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0;
  padding-left: clamp(0rem, 1vw, 1rem);
  transform: translateX(var(--item-shift));
  transition: color 180ms ease;
}

.home-menu-link--serif {
  font-family: var(--font-serif);
}

.home-menu-link--sans {
  font-family: var(--font-sans);
  font-weight: 700;
}

.home-number {
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: color-mix(in srgb, var(--accent) 56%, var(--muted));
  align-self: start;
  padding-top: 1.05em;
  letter-spacing: 0.08em;
}

.home-label-wrap {
  display: block;
  min-width: 0;
  overflow: visible;
}

.home-label {
  display: inline-block;
  white-space: nowrap;
}

.home-chip {
  display: inline-flex;
  align-self: center;
  justify-self: end;
  width: clamp(4.2rem, 10vw, 10rem);
  height: clamp(3.1rem, 7vw, 6.8rem);
  overflow: hidden;
  border-radius: 999px;
  transform: translate(var(--chip-x), var(--chip-y));
  border: 1px solid var(--border);
}

.home-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .home-menu-link:hover {
    color: var(--accent);
    text-shadow: 0 0.22rem 0.95rem rgba(255, 255, 255, 0.4);
  }
}

.home-collage--gallery-grid .home-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.home-collage--gallery-grid .home-menu-item {
  transform: none;
}

.home-collage--gallery-grid .home-menu-link {
  border: 1px solid var(--border);
  padding: 1rem;
  min-height: 14rem;
  align-items: flex-end;
  background: color-mix(in srgb, white 42%, transparent);
}

.gallery-page {
  --gallery-hero-tone: var(--tone-purple);
  --gallery-hero-title-shadow:
    0 0 1.1rem rgba(255, 253, 248, 0.44),
    0 0 2.4rem rgba(255, 253, 248, 0.2);
  --gallery-hero-copy-shadow:
    0 0 0.85rem rgba(255, 253, 248, 0.4),
    0 0 1.9rem rgba(255, 253, 248, 0.18);
  --gallery-hero-small-text-shadow:
    0 0 0.8rem rgba(255, 253, 248, 0.54),
    0 0 1.9rem rgba(255, 253, 248, 0.34),
    0 0 3.2rem rgba(255, 253, 248, 0.2),
    0 0 4.6rem rgba(255, 253, 248, 0.1);
  --gallery-hero-panel:
    radial-gradient(circle at 26% 74%,
      rgba(255, 253, 248, 0.46) 0%,
      rgba(255, 253, 248, 0.2) 24%,
      rgba(255, 253, 248, 0.06) 42%,
      rgba(255, 253, 248, 0) 68%
    ),
    linear-gradient(135deg,
      rgba(255, 253, 248, 0.3) 0%,
      rgba(255, 253, 248, 0.12) 32%,
      rgba(255, 253, 248, 0) 62%
    );
  --gallery-hero-top-wash:
    linear-gradient(180deg,
      rgba(255, 253, 248, 0.52) 0%,
      rgba(255, 253, 248, 0.3) 13%,
      rgba(255, 253, 248, 0.09) 28%,
      rgba(255, 253, 248, 0.02) 42%,
      rgba(255, 253, 248, 0) 62%
    );
  --gallery-hero-bottom-wash:
    linear-gradient(180deg,
      rgba(255, 253, 248, 0) 54%,
      rgba(255, 253, 248, 0.05) 70%,
      rgba(255, 253, 248, 0.16) 86%,
      rgba(255, 253, 248, 0.3) 100%
    );
  --gallery-hero-side-wash:
    linear-gradient(90deg,
      rgba(255, 253, 248, 0.08) 0%,
      rgba(255, 253, 248, 0.02) 16%,
      rgba(255, 253, 248, 0) 38%,
      rgba(255, 253, 248, 0) 62%,
      rgba(255, 253, 248, 0.03) 84%,
      rgba(255, 253, 248, 0.08) 100%
    );
}

.gallery-page[data-gallery-hero-tone="white"] {
  --gallery-hero-tone: var(--tone-white);
  --gallery-hero-title-shadow:
    0 0 1rem rgba(11, 8, 20, 0.46),
    0 0 2.2rem rgba(11, 8, 20, 0.24);
  --gallery-hero-copy-shadow:
    0 0 0.8rem rgba(11, 8, 20, 0.42),
    0 0 1.75rem rgba(11, 8, 20, 0.2);
  --gallery-hero-small-text-shadow:
    0 0 0.86rem rgba(11, 8, 20, 0.6),
    0 0 1.95rem rgba(11, 8, 20, 0.38),
    0 0 3.25rem rgba(11, 8, 20, 0.22),
    0 0 4.7rem rgba(11, 8, 20, 0.12);
  --gallery-hero-panel:
    radial-gradient(circle at 26% 74%,
      rgba(11, 8, 20, 0.4) 0%,
      rgba(11, 8, 20, 0.18) 24%,
      rgba(11, 8, 20, 0.06) 42%,
      rgba(11, 8, 20, 0) 68%
    ),
    linear-gradient(135deg,
      rgba(11, 8, 20, 0.26) 0%,
      rgba(11, 8, 20, 0.1) 32%,
      rgba(11, 8, 20, 0) 62%
    );
  --gallery-hero-top-wash:
    linear-gradient(180deg,
      rgba(11, 8, 20, 0.54) 0%,
      rgba(11, 8, 20, 0.3) 14%,
      rgba(11, 8, 20, 0.1) 30%,
      rgba(11, 8, 20, 0.02) 46%,
      rgba(11, 8, 20, 0) 62%
    );
  --gallery-hero-bottom-wash:
    linear-gradient(180deg,
      rgba(11, 8, 20, 0) 54%,
      rgba(11, 8, 20, 0.05) 70%,
      rgba(11, 8, 20, 0.16) 86%,
      rgba(11, 8, 20, 0.32) 100%
    );
  --gallery-hero-side-wash:
    linear-gradient(90deg,
      rgba(11, 8, 20, 0.1) 0%,
      rgba(11, 8, 20, 0.03) 18%,
      rgba(11, 8, 20, 0) 38%,
      rgba(11, 8, 20, 0) 62%,
      rgba(11, 8, 20, 0.04) 84%,
      rgba(11, 8, 20, 0.1) 100%
    );
}

.gallery-page[data-gallery-hero-tone="purple"] {
  --gallery-hero-tone: var(--tone-purple);
}

.gallery-page[data-gallery-hero-tone="orange"] {
  --gallery-hero-tone: var(--tone-orange);
  --gallery-hero-title-shadow:
    0 0 1rem rgba(18, 12, 26, 0.44),
    0 0 2.2rem rgba(18, 12, 26, 0.22);
  --gallery-hero-copy-shadow:
    0 0 0.82rem rgba(18, 12, 26, 0.38),
    0 0 1.7rem rgba(18, 12, 26, 0.18);
  --gallery-hero-small-text-shadow:
    0 0 0.88rem rgba(18, 12, 26, 0.58),
    0 0 2rem rgba(18, 12, 26, 0.36),
    0 0 3.3rem rgba(18, 12, 26, 0.2),
    0 0 4.75rem rgba(18, 12, 26, 0.11);
  --gallery-hero-panel:
    radial-gradient(circle at 26% 74%,
      rgba(18, 12, 26, 0.44) 0%,
      rgba(18, 12, 26, 0.2) 24%,
      rgba(18, 12, 26, 0.07) 42%,
      rgba(18, 12, 26, 0) 68%
    ),
    linear-gradient(135deg,
      rgba(18, 12, 26, 0.28) 0%,
      rgba(18, 12, 26, 0.12) 32%,
      rgba(18, 12, 26, 0) 62%
    );
  --gallery-hero-top-wash:
    linear-gradient(180deg,
      rgba(18, 12, 26, 0.56) 0%,
      rgba(18, 12, 26, 0.32) 14%,
      rgba(18, 12, 26, 0.12) 30%,
      rgba(18, 12, 26, 0.03) 46%,
      rgba(18, 12, 26, 0) 62%
    );
  --gallery-hero-bottom-wash:
    linear-gradient(180deg,
      rgba(18, 12, 26, 0) 54%,
      rgba(18, 12, 26, 0.06) 70%,
      rgba(18, 12, 26, 0.18) 86%,
      rgba(18, 12, 26, 0.34) 100%
    );
  --gallery-hero-side-wash:
    linear-gradient(90deg,
      rgba(18, 12, 26, 0.1) 0%,
      rgba(18, 12, 26, 0.03) 18%,
      rgba(18, 12, 26, 0) 38%,
      rgba(18, 12, 26, 0) 62%,
      rgba(18, 12, 26, 0.04) 84%,
      rgba(18, 12, 26, 0.1) 100%
    );
}

.gallery-page .site-header {
  position: absolute;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
  width: min(112rem, calc(100vw - 2rem));
  padding: 1.1rem 0;
  z-index: 6;
  color: var(--gallery-hero-tone);
  text-shadow: var(--gallery-hero-copy-shadow);
}

.gallery-page .site-nav a {
  text-decoration: none;
}

.gallery-page .site-nav a:hover,
.gallery-page .site-nav a:focus-visible {
  color: color-mix(in srgb, var(--gallery-hero-tone) 88%, white);
}

.home-doodle-field {
  position: relative;
  z-index: 1;
  min-height: clamp(18rem, 28vw, 28rem);
  margin: 4rem auto 0;
  width: min(116rem, calc(100vw - 1rem));
  pointer-events: none;
}

.home-squiggle {
  position: absolute;
  left: 0;
  width: max(56rem, 72vw);
  overflow: visible;
  stroke: color-mix(in srgb, var(--accent) 86%, white);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.9;
}

.home-squiggle path {
  vector-effect: non-scaling-stroke;
}

.home-squiggle--one {
  top: 1.2rem;
  animation: drift-squiggle-a 17s ease-in-out infinite alternate;
}

.home-squiggle--two {
  top: 8rem;
  width: max(64rem, 86vw);
  stroke: color-mix(in srgb, var(--fg) 82%, white);
  stroke-width: 10;
  opacity: 0.36;
  animation: drift-squiggle-b 23s ease-in-out infinite alternate;
}

.home-squiggle--three {
  top: 13.5rem;
  width: max(42rem, 54vw);
  stroke: color-mix(in srgb, var(--accent) 72%, white);
  stroke-width: 8;
  opacity: 0.7;
  animation: drift-squiggle-c 19s ease-in-out infinite alternate;
}

.home-doodle-note {
  position: absolute;
  right: clamp(1rem, 6vw, 5rem);
  bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 32rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  color: color-mix(in srgb, var(--accent) 66%, var(--fg));
  text-shadow: 0 0.08rem 0.55rem color-mix(in srgb, var(--bg) 84%, transparent);
}

.home-doodle-note span:nth-child(even) {
  color: color-mix(in srgb, var(--fg) 84%, var(--accent));
}

.text-page,
.gallery-index,
.list-page,
.gallery {
  padding: 2rem 0 3rem;
}

.gallery-index {
  max-width: min(78rem, calc(100vw - 2rem));
  margin: 0 auto;
}

.text-page {
  max-width: min(78rem, calc(100vw - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

.page-header {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.page-header h1,
.gallery-index-header h1,
.list-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.96;
  margin: 0.3rem 0 1rem;
}

.page-body,
.gallery-copy,
.gallery-summary {
  max-width: 42rem;
  color: color-mix(in srgb, var(--fg) 88%, black);
  line-height: 1.75;
}

.page-body {
  max-width: 48rem;
  margin: 0 auto;
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.55rem);
  text-wrap: pretty;
  text-align: center;
}

.gallery {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 4rem;
}

.gallery-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 10vw, 8rem) clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  overflow: clip;
  background: #130f1e;
  color: var(--gallery-hero-tone);
}

.gallery-hero-media,
.gallery-hero-media img,
.gallery-hero-scrim {
  position: absolute;
  inset: 0;
}

.gallery-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.gallery-hero-scrim {
  background:
    var(--gallery-hero-top-wash),
    var(--gallery-hero-bottom-wash),
    var(--gallery-hero-side-wash);
  z-index: 1;
}

.gallery-hero-inner,
.gallery-hero-jump {
  position: relative;
  z-index: 2;
}

.gallery-hero-inner {
  display: grid;
  gap: 0.85rem;
  align-content: end;
  max-width: min(78rem, 92vw);
}

.gallery-hero-inner::before {
  content: "";
  position: absolute;
  inset: -3.4rem -4rem -3rem -3.2rem;
  z-index: -1;
  pointer-events: none;
  background: var(--gallery-hero-panel);
  filter: blur(12px);
}

.gallery-hero .gallery-kicker {
  color: color-mix(in srgb, var(--gallery-hero-tone) 74%, white);
  text-shadow: var(--gallery-hero-small-text-shadow);
}

.gallery-hero h1 {
  margin: 0;
  max-width: 6.2ch;
  font-family: var(--font-sans);
  font-size: clamp(4.8rem, 17vw, 15rem);
  font-weight: 700;
  line-height: 0.83;
  letter-spacing: -0.085em;
  text-transform: lowercase;
  text-wrap: balance;
  text-shadow: var(--gallery-hero-title-shadow);
}

.gallery-summary--hero {
  max-width: 27rem;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1rem + 0.36vw, 1.35rem);
  line-height: 1.35;
  color: color-mix(in srgb, var(--gallery-hero-tone) 90%, white);
  text-shadow: var(--gallery-hero-small-text-shadow);
  text-wrap: pretty;
}

.gallery-hero-jump {
  align-self: flex-end;
  margin-left: auto;
  margin-bottom: 0.35rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--gallery-hero-tone) 32%, white);
  border-radius: 999px;
  background: color-mix(in srgb, black 12%, transparent);
  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.gallery-hero-jump:hover,
.gallery-hero-jump:focus-visible {
  background: color-mix(in srgb, var(--gallery-hero-tone) 18%, transparent);
}

.gallery-intro {
  position: relative;
  z-index: 3;
  width: min(52rem, calc(100vw - 2rem));
  margin: clamp(-4.5rem, -6vw, -3rem) auto 0;
  padding: clamp(1.3rem, 3vw, 2.1rem);
  background: color-mix(in srgb, white 82%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--fg) 10%, white);
  border-radius: 1.8rem;
  box-shadow: 0 1.5rem 4rem rgba(21, 14, 44, 0.11);
}

.gallery-copy {
  max-width: 48rem;
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.16rem);
  text-wrap: pretty;
}

.gallery-copy > :first-child {
  margin-top: 0;
}

.gallery-copy > :last-child {
  margin-bottom: 0;
}

.gallery-track {
  display: grid;
  gap: 1rem;
  width: min(104rem, calc(100vw - 2rem));
  margin: 2rem auto 0;
}

.gallery--horizontal-scroll .gallery-track {
  grid-auto-flow: column;
  grid-auto-columns: minmax(18rem, 44vw);
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x proximity;
}

.gallery--grid .gallery-track {
  display: block;
  column-count: 2;
  column-gap: 1rem;
}

.gallery--stacked .gallery-track {
  grid-template-columns: 1fr;
}

.gallery--masonry .gallery-track {
  columns: 18rem;
}

.gallery--masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item {
  margin: 0;
}

.gallery--grid .gallery-item {
  break-inside: avoid;
  margin: 0 0 1rem;
}

.gallery-image-button {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  cursor: zoom-in;
}

.gallery-item img {
  display: block;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--fg) 10%, white);
  background: white;
  box-shadow: 0 1.35rem 2.8rem rgba(21, 14, 44, 0.08);
  transition: transform 260ms ease, opacity 260ms ease, filter 260ms ease;
}

.gallery--grid .gallery-image-button {
  background: color-mix(in srgb, white 90%, var(--bg));
}

.gallery--grid .gallery-item img {
  height: auto;
  object-fit: contain;
}

.gallery-image-button:hover img,
.gallery-image-button:focus-visible img {
  transform: scale(1.014);
  filter: saturate(1.03);
}

.gallery-item figcaption {
  margin-top: 0.55rem;
  padding-inline: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--muted) 72%, var(--accent));
}

.gallery-lightbox {
  border: none;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--fg);
  padding: 0;
  margin: 0;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-lightbox::backdrop {
  background: color-mix(in srgb, var(--bg) 72%, rgba(18, 14, 28, 0.48));
  backdrop-filter: blur(10px);
}

.gallery-lightbox[open] {
  opacity: 1;
}

.gallery-lightbox-meta {
  position: absolute;
  left: 2rem;
  bottom: 1.8rem;
  max-width: 22rem;
  z-index: 3;
}

.gallery-lightbox-kicker,
.gallery-lightbox-meta p {
  margin: 0;
}

.gallery-lightbox-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 64%, var(--muted));
  margin-bottom: 0.35rem;
}

.gallery-lightbox-meta [data-lightbox-caption] {
  font-size: 1rem;
  line-height: 1.45;
}

.gallery-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding:
    max(2rem, env(safe-area-inset-top))
    max(2rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom))
    max(2rem, env(safe-area-inset-left));
}

.gallery-lightbox-figure {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.gallery-lightbox-stage img {
  max-width: min(100%, 82rem);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.975);
  transform-origin: var(--lightbox-origin-x, 50%) var(--lightbox-origin-y, 50%);
  box-shadow: 0 1.75rem 4rem rgba(16, 10, 26, 0.12);
  transition: opacity 180ms ease, transform 240ms ease;
}

.gallery-lightbox-stage img.is-ready {
  opacity: 1;
  transform: scale(1);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  background: transparent;
  color: inherit;
  border: 0;
}

.gallery-lightbox-close {
  position: absolute;
  right: 2rem;
  top: 1.8rem;
  z-index: 4;
  padding: 0;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: color-mix(in srgb, var(--accent) 58%, var(--fg));
}

.gallery-lightbox-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14vw;
  min-width: 5rem;
  cursor: pointer;
}

.gallery-lightbox-nav--prev {
  left: 0;
}

.gallery-lightbox-nav--next {
  right: 0;
}

.gallery-lightbox-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-lightbox-nav--prev::after {
  left: 1.75rem;
  transform: translateY(-50%) rotate(-135deg);
}

.gallery-lightbox-nav--next::after {
  right: 1.75rem;
  transform: translateY(-50%) rotate(45deg);
}

.gallery-lightbox:hover .gallery-lightbox-nav::after,
.gallery-lightbox:focus-within .gallery-lightbox-nav::after {
  opacity: 1;
}

.gallery-index-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery-index-item,
.plain-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

.gallery-index-link {
  display: grid;
  grid-template-columns: auto 1fr 6rem;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
}

.gallery-index-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 2.1rem);
}

.gallery-index-link img {
  width: 6rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-page {
  width: min(72rem, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.page-header--about,
.about-body {
  text-align: center;
  margin: 0;
}

.page-header--about {
  max-width: 40rem;
  margin: 0 auto;
}

.about-body {
  max-width: 40rem;
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.35rem);
  margin: 0 auto;
}

.about-body p:first-child {
  margin-top: 0;
}

.about-contact-inline {
  margin: 1.2rem 0 0;
  max-width: 42rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--fg) 88%, black);
  text-align: center;
  margin-inline: auto;
}

.about-contact-inline a {
  font-weight: 700;
}

.review-card,
.review-empty-state {
  background: color-mix(in srgb, white 84%, var(--bg));
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  box-shadow: 0 1.2rem 2.8rem rgba(32, 20, 46, 0.08);
}

.about-reviews h2 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2vw, 2.5rem);
  line-height: 1.02;
}

.about-section-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 2rem 0 1rem;
  text-align: center;
}

.about-reviews-link {
  color: color-mix(in srgb, var(--fg) 88%, black);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.reviews-carousel {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 56rem);
  margin: 0 auto;
}

.review-card {
  padding: 1.4rem;
  display: grid;
  align-content: start;
  gap: 1rem;
  display: none;
  min-height: 0;
}

.review-card.is-active {
  display: grid;
}

.review-copy {
  display: grid;
  gap: 0.75rem;
}

.review-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1rem + 0.28vw, 1.45rem);
  line-height: 1.35;
  text-wrap: pretty;
}

.review-text.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.review-expand-button {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--accent) 70%, var(--fg));
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.review-card figcaption {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  color: color-mix(in srgb, var(--muted) 76%, black);
}

.review-author {
  font-weight: 700;
  color: color-mix(in srgb, var(--fg) 88%, black);
}

.review-stars {
  font-size: 0.98rem;
  letter-spacing: 0.16em;
}

.review-stars-fill {
  color: color-mix(in srgb, var(--accent) 80%, var(--fg));
}

.review-stars-empty {
  color: color-mix(in srgb, var(--fg) 18%, transparent);
}

.reviews-controls {
  display: flex;
  justify-content: center;
}

.reviews-dot {
  border: 1px solid var(--border);
  background: color-mix(in srgb, white 76%, transparent);
  color: inherit;
}

.reviews-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.reviews-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.reviews-dot:hover,
.reviews-dot:focus-visible {
  transform: scale(1.08);
}

.reviews-dot.is-active {
  background: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 78%, black);
}

.reviews-meta {
  margin: 0;
  color: color-mix(in srgb, var(--muted) 80%, black);
  font-size: 0.95rem;
  text-align: center;
}

.review-empty-state {
  padding: 1.2rem;
  line-height: 1.65;
}

.review-empty-state p {
  margin: 0;
}

.review-empty-state p + p {
  margin-top: 0.7rem;
}

.site-footer {
  color: color-mix(in srgb, var(--muted) 84%, var(--fg));
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes drift-squiggle-a {
  from { transform: translateX(-6%); }
  to { transform: translateX(16%); }
}

@keyframes drift-squiggle-b {
  from { transform: translateX(22%); }
  to { transform: translateX(-10%); }
}

@keyframes drift-squiggle-c {
  from { transform: translateX(-2%); }
  to { transform: translateX(28%); }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 64rem) {
  .home-collage {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .home-collage::before {
    background:
      linear-gradient(180deg,
        color-mix(in srgb, var(--bg) 88%, transparent) 0%,
        color-mix(in srgb, var(--bg) 26%, transparent) 20%,
        transparent 34%
      );
  }

  .home-shell {
    width: min(40rem, calc(100vw - 1.5rem));
    gap: 1.25rem;
  }

  .home-visual-stage {
    display: none;
  }

  .home-menu {
    gap: 1rem;
    padding-top: 0.5rem;
  }

  .home-menu-link {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    font-size: clamp(2.4rem, 14vw, 5.6rem);
    transform: none;
  }

  .home-chip {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.35rem;
    transform: none;
    width: 4.2rem;
    height: 3rem;
  }

  .home-label {
    white-space: normal;
  }

  .home-doodle-field {
    min-height: 10rem;
    margin-top: 2rem;
  }

  .home-squiggle--one {
    top: 0.5rem;
  }

  .home-squiggle--two,
  .home-squiggle--three,
  .home-doodle-note {
    display: none;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-title--logo img {
    width: min(100%, var(--site-logo-width, clamp(8rem, 42vw, 12rem)));
  }

  .site-logo-mark {
    width: min(var(--site-logo-width, clamp(8rem, 42vw, 12rem)), 100%);
  }

  .home-logo-wrap {
    width: min(100%, var(--home-logo-width, 32rem));
    max-width: 92vw;
  }

  .gallery-page .site-header {
    width: min(42rem, calc(100vw - 1.5rem));
    padding-top: max(1rem, env(safe-area-inset-top));
  }

  .gallery-hero {
    min-height: 82svh;
    align-items: end;
    padding: clamp(5.5rem, 16vw, 7.5rem) 0.75rem 1.2rem;
  }

  .gallery-hero-media img {
    object-position: var(--gallery-hero-mobile-position, var(--gallery-hero-position, center center));
  }

  .gallery-hero-inner {
    gap: 0.7rem;
    max-width: calc(100vw - 1.5rem);
  }

  .gallery-hero-inner::before {
    inset: -2.4rem -1.2rem -2.2rem -1.2rem;
    filter: blur(10px);
  }

  .gallery-hero h1 {
    max-width: 100%;
    font-size: clamp(3.75rem, 15vw, 6rem);
  }

  .gallery-hero--long-title h1 {
    font-size: clamp(3.2rem, 11vw, 4.85rem);
    letter-spacing: -0.075em;
  }

  .gallery-summary--hero {
    max-width: 22rem;
  }

  .gallery-hero-jump {
    display: none;
  }

  .gallery-intro {
    width: min(42rem, calc(100vw - 1.5rem));
    margin-top: -1.5rem;
    border-radius: 1.35rem;
  }

  .gallery-track {
    width: min(42rem, calc(100vw - 1.5rem));
    margin-top: 1.25rem;
  }

  .gallery--grid .gallery-track {
    column-count: 1;
  }

  .gallery-lightbox {
    padding: 0;
  }

  .gallery-lightbox-meta {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .gallery-lightbox-figure {
    padding: 0;
  }

  .gallery-lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
  }

  .gallery-lightbox-close {
    right: 1rem;
    top: 1rem;
  }

  .gallery-lightbox-nav {
    width: 22vw;
  }

  .about-page {
    width: min(42rem, calc(100vw - 1.5rem));
  }

  .about-section-head {
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 40rem) {
  .about-template .site-header {
    width: calc(100vw - 1rem);
    padding-inline: 0.25rem;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
  }

  .about-template .site-title--logo {
    flex: 0 0 auto;
  }

  .about-template .site-logo-mark--default {
    display: none;
  }

  .about-template .site-logo-mark--gallery-mobile {
    display: block;
    width: var(--site-logo-mobile-width, 2.6rem);
  }

  .about-template .site-nav {
    flex: 1 1 auto;
    gap: 0.8rem;
    font-size: 0.88rem;
    justify-content: flex-end;
    text-align: right;
  }

  .about-template .site-nav a {
    text-decoration: none;
  }

  .gallery-index-page .site-header {
    width: calc(100vw - 1rem);
    padding-inline: 0.25rem;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
  }

  .gallery-index-page .site-title--logo {
    flex: 0 0 auto;
  }

  .gallery-index-page .site-logo-mark--default {
    display: none;
  }

  .gallery-index-page .site-logo-mark--gallery-mobile {
    display: block;
    width: var(--site-logo-mobile-width, 2.6rem);
  }

  .gallery-index-page .site-nav {
    flex: 1 1 auto;
    gap: 0.8rem;
    font-size: 0.88rem;
    justify-content: flex-end;
    text-align: right;
  }

  .gallery-index-page .site-nav a {
    text-decoration: none;
  }

  .gallery-page .site-header {
    width: calc(100vw - 1rem);
    padding-inline: 0.25rem;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
  }

  .gallery-page .site-logo-mark--default {
    display: none;
  }

  .gallery-page .site-logo-mark--gallery-mobile {
    display: block;
    width: var(--site-logo-mobile-width, 2.6rem);
  }

  .gallery-page .site-title--logo {
    flex: 0 0 auto;
  }

  .gallery-page .site-nav {
    flex: 1 1 auto;
    gap: 0.8rem;
    font-size: 0.88rem;
    justify-content: flex-end;
    text-align: right;
  }

  .gallery-hero {
    padding: clamp(5rem, 18vw, 6.5rem) 0.55rem 0.9rem;
  }

  .gallery-hero-inner::before {
    inset: -2rem -0.75rem -1.7rem -0.85rem;
    filter: blur(9px);
  }

  .gallery-hero h1 {
    font-size: clamp(3.15rem, 16vw, 4.9rem);
    line-height: 0.86;
  }

  .gallery-hero--long-title h1 {
    font-size: clamp(2.6rem, 12vw, 3.95rem);
    letter-spacing: -0.06em;
  }

  .gallery-summary--hero {
    max-width: 15rem;
    font-size: 0.96rem;
  }
}

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

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

  .home-menu-item,
  .home-chip,
  .home-menu-link {
    transform: none !important;
  }

  .home-squiggle {
    animation: none !important;
  }
}
