@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --header-height: 108px;
  --night: #151b1a;
  --night-soft: #202925;
  --canvas: #eee8dc;
  --surface: #f7f3eb;
  --paper: #eee8dc;
  --paper-light: #f7f3eb;
  --stone: #ded5c5;
  --moss: #687b6b;
  --moss-dark: #405449;
  --ember: #b97858;
  --mist: #aeb9b0;
  --ink: #1f2924;
  --muted: #69716b;
  --line: rgb(31 41 36 / 20%);
  --action-bg: #1f2924;
  --action-text: #f7f3eb;
  --display: 'Manrope', Arial, Helvetica, sans-serif;
  --sans: 'Manrope', Arial, Helvetica, sans-serif;
  --content-width: 1360px;
  --section-padding: clamp(40px, 6vw, 88px);
  --type-caption: clamp(0.6875rem, 0.67rem + 0.08vw, 0.75rem);
  --type-small: clamp(0.75rem, 0.71rem + 0.18vw, 0.875rem);
  --type-body: clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
  --type-lead: clamp(1rem, 0.92rem + 0.45vw, 1.25rem);
  --type-subheading: clamp(1.25rem, 1.08rem + 0.8vw, 1.75rem);
  --type-heading: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --type-display: clamp(1.75rem, 1.15rem + 3vw, 3.5rem);
  --type-hero: clamp(2.5rem, 1.35rem + 5.4vw, 5.75rem);
  --type-contact: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

:root[data-palette="clay"] {
  --night: #2f2c27;
  --night-soft: #44453a;
  --canvas: #e9e1d3;
  --surface: #f5f0e8;
  --paper: #f5f0e8;
  --paper-light: #f5f0e8;
  --stone: #cfc3af;
  --moss: #68705c;
  --moss-dark: #2f2c27;
  --ember: #a8664d;
  --mist: #c1c2b5;
  --ink: #2f2c27;
  --muted: #625d53;
  --line: rgb(47 44 39 / 20%);
  --action-bg: #2f2c27;
  --action-text: #f5f0e8;
}

:root[data-palette="nocturne"] {
  --night: #171817;
  --night-soft: #292b27;
  --canvas: #171817;
  --surface: #292b27;
  --paper: #e4ded1;
  --paper-light: #e4ded1;
  --stone: #292b27;
  --moss: #526257;
  --moss-dark: #526257;
  --ember: #b79a63;
  --mist: #b8baaf;
  --ink: #e4ded1;
  --muted: #b8baaf;
  --line: rgb(228 222 209 / 20%);
  --action-bg: #b79a63;
  --action-text: #171817;
}

:root[data-palette="earth"] {
  --night: #20241f;
  --night-soft: #31483c;
  --canvas: #e2d7c2;
  --surface: #f0e8da;
  --paper: #f5efe2;
  --paper-light: #f5efe2;
  --stone: #c8aa63;
  --moss: #31483c;
  --moss-dark: #31483c;
  --ember: #96553f;
  --mist: #bac5bb;
  --ink: #20241f;
  --muted: #596158;
  --line: rgb(32 36 31 / 20%);
  --action-bg: #31483c;
  --action-text: #f5efe2;
}

:root[data-palette="veil"] {
  --night: #2d312b;
  --night-soft: #3c433c;
  --canvas: #f4f0e6;
  --surface: #d9ddd3;
  --paper: #f4f0e6;
  --paper-light: #f4f0e6;
  --stone: #87928c;
  --moss: #87928c;
  --moss-dark: #2d312b;
  --ember: #a76d63;
  --mist: #c1c8bf;
  --ink: #2d312b;
  --muted: #59625c;
  --line: rgb(45 49 43 / 20%);
  --action-bg: #2d312b;
  --action-text: #f4f0e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.5;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

img,
video {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper-light);
  background: var(--night);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: var(--header-height);
  padding: 16px 2.4vw 12px;
  color: var(--paper-light);
  --header-gradient-color: var(--night);
  background: linear-gradient(180deg, var(--header-gradient-color) 0%, color-mix(in srgb, var(--header-gradient-color) 90%, transparent) 22%, color-mix(in srgb, var(--header-gradient-color) 74%, transparent) 46%, color-mix(in srgb, var(--header-gradient-color) 52%, transparent) 68%, color-mix(in srgb, var(--header-gradient-color) 28%, transparent) 86%, transparent 100%);
}

.header-brand {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 0;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 64px;
  height: 52px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url('gage-kelsey-logo.png') center / contain no-repeat;
  mask: url('gage-kelsey-logo.png') center / contain no-repeat;
}

.brand-copy {
  display: grid;
}

.brand-name,
.footer-name {
  margin: 0;
  font-family: var(--display);
  font-size: var(--type-subheading);
  font-weight: 500;
}

.brand-tagline,
.footer-tagline {
  margin: 0;
  font-size: var(--type-small);
}

.site-nav {
  display: flex;
  align-self: end;
  align-items: center;
  justify-self: end;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav-link {
  position: relative;
  padding: 8px 0 10px;
  color: inherit;
  font-size: var(--type-body);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: inherit;
}

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

.cart-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 18;
  display: none;
  place-items: center;
  width: 96px;
  height: 104px;
  --ink: var(--paper-light);
  --action-bg: var(--paper-light);
  --action-text: var(--night);
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.cart-toggle::before {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 320px;
  height: 320px;
  background:
    linear-gradient(to top, rgb(0 0 0 / 55%), transparent 180px),
    linear-gradient(to left, rgb(0 0 0 / 55%), transparent 180px);
  mask-image: linear-gradient(to left, #000 40%, transparent), linear-gradient(to top, #000 40%, transparent);
  mask-composite: intersect;
  content: '';
  pointer-events: none;
}

.cart-toggle.is-visible {
  display: grid;
}

.cart-flyer {
  position: fixed;
  z-index: 19;
  margin: 0;
  pointer-events: none;
  transform-origin: center;
}

.cart-stack {
  position: relative;
  display: block;
  width: 72px;
  height: 84px;
}

.cart-stack-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 3px solid var(--paper);
  border-radius: 10px;
  background: var(--product-color, var(--moss));
  box-shadow: 0 6px 16px rgb(31 41 36 / 24%);
  transform: rotate(-2deg);
  transition: transform 260ms ease;
}

.cart-stack-card[data-stack-depth="1"] {
  transform: translate(7px, -4px) rotate(5deg);
}

.cart-stack-card[data-stack-depth="2"] {
  transform: translate(-7px, -6px) rotate(-7deg);
}

.cart-stack-card.is-empty {
  border: 2px dashed color-mix(in srgb, var(--ink) 60%, transparent);
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow: none;
}

.cart-stack-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--paper);
  background: rgb(16 16 16 / 65%);
  font-size: var(--type-small);
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.cart-stack-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px;
  color: var(--action-text);
  background: var(--action-bg);
  font-size: var(--type-caption);
  line-height: 1;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  min-height: clamp(560px, 100svh, 920px);
  overflow: hidden;
  color: var(--paper);
  --hero-overlay-rgb: 21 27 26;
  background: var(--night);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 40px 6vw;
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  color: var(--ember);
  font-size: var(--type-caption);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  line-height: 1.3;
}

.hero h1,
.practice-copy h2,
.commission-copy h2,
.home-contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 1000px;
  font-size: var(--type-hero);
}

.hero-title-break {
  display: block;
  transition: filter 1200ms ease, opacity 1200ms ease, transform 1200ms ease;
}

.hero-title-break.is-transitioning {
  filter: blur(12px);
  opacity: 0;
  transform: translateY(4px);
}

.hero h1 em,
.section-heading h2 em,
.practice-copy h2 em,
.commission-copy h2 em {
  color: var(--ember);
  font-style: normal;
  font-weight: 400;
}

.hero-summary {
  max-width: 380px;
  margin: 34px 0 0;
  color: var(--mist);
  font-size: var(--type-body);
  line-height: 1.7;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 20%;
  min-height: 0;
  margin: 0;
  overflow: visible;
  background: var(--night);
}

.hero-media::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 -25%;
  --hero-scrim-start: 20%;
  --hero-scrim-span: calc(100% - var(--hero-scrim-start));
  background: linear-gradient(90deg, rgb(var(--hero-overlay-rgb) / 100%) var(--hero-scrim-start), rgb(var(--hero-overlay-rgb) / 76%) calc(var(--hero-scrim-start) + var(--hero-scrim-span) * 0.38), rgb(var(--hero-overlay-rgb) / 24%) calc(var(--hero-scrim-start) + var(--hero-scrim-span) * 0.68), transparent 100%), linear-gradient(0deg, rgb(var(--hero-overlay-rgb) / 62%), transparent 28%);
  content: '';
  opacity: 0;
  transition: background 1400ms ease;
}

.hero.has-hero-artwork .hero-media::before {
  opacity: 1;
}

.hero:not(.has-hero-artwork) .hero-media img,
.hero:not(.has-hero-artwork) .hero-title-break {
  visibility: hidden;
}

.hero-title-break:empty::before {
  content: '\00a0';
}

.hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  opacity: 0;
  transition: opacity 1400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-media img.is-active {
  opacity: 0.72;
}

.hero-media figcaption {
  position: absolute;
  right: 5vw;
  bottom: 42px;
  z-index: 2;
  width: 210px;
  color: rgb(238 232 220 / 72%);
  font-size: var(--type-caption);
  text-align: right;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  right: 5vw;
  z-index: 3;
  display: flex;
  gap: 8px;
  width: 210px;
  justify-content: flex-end;
}

.hero-dot {
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: rgb(238 232 220 / 72%);
  background: transparent;
  opacity: 0.65;
  transition: background-color 1400ms ease, opacity 1400ms ease, transform 1400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-dot.is-active {
  border: 0;
  background: currentColor;
  opacity: 1;
  transform: scale(1.35);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 3;
  width: 24px;
  height: 42px;
  color: rgb(238 232 220 / 72%);
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-scroll-cue span {
  position: relative;
  display: block;
  width: 24px;
  height: 14px;
  animation: hero-scroll-slide 1.6s ease-in-out infinite;
}

.hero-scroll-cue span::before,
.hero-scroll-cue span::after {
  position: absolute;
  top: 2px;
  width: 15px;
  height: 1px;
  background: currentColor;
  content: '';
}

.hero-scroll-cue span::before {
  right: 50%;
  transform: rotate(35deg);
  transform-origin: right center;
}

.hero-scroll-cue span::after {
  left: 50%;
  transform: rotate(-35deg);
  transform-origin: left center;
}

@keyframes hero-scroll-slide {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(-5px);
  }

  50% {
    opacity: 1;
    transform: translateY(7px);
  }
}

.content-width {
  width: min(calc(100% - 10vw), var(--content-width));
  margin: 0 auto;
}

.home-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  padding-block: var(--section-padding);
}

.home-intro .section-kicker {
  margin-top: 10px;
}

.intro-statement {
  max-width: 750px;
  margin: 0;
  font-family: var(--display);
  font-size: var(--type-display);
  line-height: 0.98;
}

.intro-note {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-caption);
  line-height: 1.6;
}

.works-section {
  padding-block: var(--section-padding);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin-bottom: 70px;
}

.section-heading .section-kicker {
  align-self: start;
  letter-spacing: normal;
  margin: 0 0 12px;
}

.section-heading h2 {
  letter-spacing: normal;
  font-size: var(--type-display);
}

#works-title,
#works-title em {
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 12px 16px;
  border: 0;
  color: var(--action-text);
  background: var(--action-bg);
  font-size: var(--type-small);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.text-link span {
  color: var(--ember);
  font-size: var(--type-lead);
  line-height: 0.5;
  transition: transform 180ms ease;
}

.text-link:hover {
  color: var(--action-text);
  background: var(--action-bg);
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.text-link--light {
  border-color: rgb(238 232 220 / 55%);
  color: var(--paper-light);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 24px;
  aspect-ratio: auto;
  align-items: stretch;
}

.works-shop-link {
  display: flex;
  margin: 64px 0 0;
}

.work-feature,
.work-tile {
  display: block;
  min-width: 0;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.work-feature {
  grid-column: auto;
  grid-row: auto;
}

.work-tile--top-right {
  grid-column: auto;
  grid-row: auto;
}

.work-tile--bottom-left {
  grid-column: auto;
  grid-row: auto;
}

.work-tile--bottom-right {
  grid-column: auto;
  grid-row: auto;
}

.work-feature figure,
.work-tile figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: auto;
  margin: 0;
}

.work-image {
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
}

.work-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 500ms ease;
}

.work-feature:hover .work-image img,
.work-tile:hover .work-image img {
  filter: saturate(1.05);
  transform: scale(1.018);
}

.work-feature figcaption,
.work-tile figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  color: var(--muted);
  font-size: var(--type-caption);
}

.work-feature figcaption span:first-child,
.work-tile figcaption span:first-child {
  color: var(--ink);
}

.practice-section,
.commission-section {
  display: grid;
  grid-template-columns: minmax(0, clamp(8.5rem, 42vw, 33rem)) minmax(0, 1fr);
  min-height: clamp(300px, 36vw, 420px);
  color: var(--paper);
  background: var(--night-soft);
}

.practice-image,
.commission-image {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.section-photo {
  height: 100%;
  margin: 0;
}

.practice-image img,
.commission-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.practice-image img {
  object-position: center 48%;
}

.commission-image img {
  object-position: center 44%;
}

.practice-image:hover img,
.commission-image:hover img {
  transform: scale(1.025);
}

.image-stamp {
  position: absolute;
  right: 26px;
  bottom: 26px;
  padding: 7px 10px;
  border: 1px solid rgb(238 232 220 / 48%);
  color: var(--night);
  background: rgb(255 255 255 / 80%);
  font-size: var(--type-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-copy,
.commission-copy {
  align-self: center;
  min-height: 0;
  min-width: 0;
  width: 100%;
  padding: clamp(20px, 3vw, 36px) clamp(12px, 3vw, 42px);
}

.practice-copy h2,
.commission-copy h2 {
  font-size: var(--type-subheading);
}

.practice-copy p:not(.section-kicker),
.commission-copy p:not(.section-kicker) {
  max-width: 380px;
  margin: clamp(14px, 2vw, 24px) 0;
  color: var(--mist);
  font-size: var(--type-body);
  line-height: 1.55;
}

.practice-copy .text-link,
.commission-copy .text-link {
  border: 0;
  color: var(--ink);
  background: var(--surface);
}

.practice-copy .text-link:hover {
  color: var(--ink);
  background: var(--surface);
}

.commission-section {
  grid-template-columns: minmax(0, clamp(7rem, 30vw, 21rem)) minmax(0, 1fr);
  color: var(--ink);
  background: var(--stone);
}

.commission-copy p:not(.section-kicker) {
  color: var(--muted);
}

.commission-copy .text-link {
  border: 0;
  color: var(--action-text);
  background: var(--action-bg);
}

.commission-copy .text-link:hover {
  color: var(--action-text);
  background: var(--action-bg);
}

:root[data-palette="nocturne"] .practice-copy .text-link,
:root[data-palette="nocturne"] .practice-copy .text-link:hover,
:root[data-palette="nocturne"] .commission-copy .text-link,
:root[data-palette="nocturne"] .commission-copy .text-link:hover {
  color: var(--action-text);
  background: var(--action-bg);
}

.home-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: var(--section-padding);
  text-align: center;
}

.home-contact h2 {
  font-size: var(--type-contact);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-size: var(--type-contact);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-email span {
  color: var(--ember);
  font-family: var(--sans);
  font-size: var(--type-lead);
  transition: transform 180ms ease;
}

.contact-email:hover {
  color: var(--ember);
  border-color: var(--ember);
}

.contact-email:hover span {
  transform: translate(4px, 4px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px 30px;
  align-items: center;
  min-height: 170px;
  padding: 28px 5vw;
  color: var(--paper);
  background: var(--night);
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0;
  align-items: start;
}

.footer-brand-copy {
  min-width: 0;
}

.footer-mark {
  display: block;
  width: 64px;
  height: 52px;
  background: currentColor;
  -webkit-mask: url('gage-kelsey-logo.png') center / contain no-repeat;
  mask: url('gage-kelsey-logo.png') center / contain no-repeat;
}

.footer-copy {
  margin: 0;
  color: var(--mist);
  font-size: var(--type-small);
  line-height: 1.6;
  text-align: left;
}

.footer-tagline {
  color: var(--mist);
}

.brand-tagline {
  color: inherit;
  font-weight: 500;
}

.site-footer .social-row,
.site-footer .palette-switcher {
  justify-self: end;
}

.palette-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.palette-option {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}

.palette-option::before {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--mist);
  border-radius: 50%;
  background: conic-gradient(var(--swatch-paper) 0 33.33%, var(--swatch-ink) 33.33% 66.66%, var(--swatch-accent) 66.66% 100%);
  content: '';
}

.palette-option[data-palette="clay"] {
  --swatch-paper: #e9e1d3;
  --swatch-ink: #2f2c27;
  --swatch-accent: #a8664d;
}

.palette-option[data-palette="nocturne"] {
  --swatch-paper: #171817;
  --swatch-ink: #e4ded1;
  --swatch-accent: #b79a63;
}

.palette-option[data-palette="earth"] {
  --swatch-paper: #e2d7c2;
  --swatch-ink: #31483c;
  --swatch-accent: #96553f;
}

.palette-option[data-palette="veil"] {
  --swatch-paper: #d9ddd3;
  --swatch-ink: #2d312b;
  --swatch-accent: #c49c58;
}

.palette-option[aria-pressed="true"]::before {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.social-row {
  display: flex;
  gap: 9px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  color: rgb(174 185 176 / 78%);
  font-size: var(--type-caption);
  text-decoration: none;
  transition: color 180ms ease;
}

.social-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(1) brightness(1.45);
  transition: opacity 180ms ease, filter 180ms ease;
}

.social-icon--facebook {
  fill: currentColor;
  stroke: none;
}

.social-link:hover {
  color: var(--ember);
}

.social-link:hover .social-icon {
  opacity: 1;
  filter: grayscale(1) brightness(1.7);
}

.site-footer .social-link {
  color: var(--paper);
}

.site-footer .social-icon {
  width: 28px;
  height: 28px;
  background: currentColor;
  opacity: 1;
  filter: none;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}

.site-footer .social-icon--instagram {
  --social-icon: url('instagram-logo.svg');
}

.site-footer .social-icon--facebook {
  --social-icon: url('facebook-logo.svg');
}

.site-footer .social-link:hover .social-icon {
  filter: none;
}

.contact-panel .social-link {
  border-color: var(--line);
  color: var(--ink);
}

.page-main {
  min-height: calc(100vh - var(--header-height));
  background: var(--canvas);
}

.portfolio-main {
  background: var(--canvas);
}

.shop-main {
  background: var(--surface);
}

.page-heading-row {
  width: 100%;
  max-width: none;
  padding: 154px 5vw 58px;
  color: var(--paper);
  background-color: var(--night);
  background-image: none;
  background-position: center;
  background-size: cover;
}

.page-heading-row.has-heading-artwork {
  background-color: rgb(var(--page-heading-overlay-rgb) / 100%);
  background-image: linear-gradient(90deg, rgb(var(--page-heading-overlay-rgb) / 100%) 0%, rgb(var(--page-heading-overlay-rgb) / 76%) 38%, rgb(var(--page-heading-overlay-rgb) / 24%) 68%, transparent 100%), var(--page-heading-image);
}

.about-page-heading,
.murals-page-heading {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.about-page-heading {
  overflow: visible;
}

.about-page-heading:not(.has-heading-artwork) {
  background-color: transparent;
}

.about-page-heading:not(.has-heading-artwork)::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(to bottom, var(--night) 0%, transparent 100%);
  content: '';
}

.page-heading-row.about-page-heading {
  padding-bottom: 88px;
}

body:has(.about-page-heading) .site-header,
body:has(.murals-page-heading) .site-header {
  background: transparent;
}

body:has(.about-page-heading) .brand-copy,
body:has(.about-page-heading) .nav-link {
  text-shadow: 0 1px 5px rgb(0 0 0 / 10%);
}

body:has(.about-page-heading) .brand-mark {
  filter: drop-shadow(0 1px 5px rgb(0 0 0 / 10%));
}

.about-page-heading.has-heading-artwork {
  background-color: transparent;
  --page-heading-scrim-opacity: 50%;
}

.about-page-heading.has-heading-artwork,
.murals-page-heading.has-heading-artwork {
  background-image: none;
}

.about-page-heading.has-heading-artwork::before,
.murals-page-heading.has-heading-artwork::before {
  background: var(--page-heading-image) center / cover no-repeat;
  content: '';
  filter: blur(32px);
  inset: -40px;
  position: absolute;
  transform: scale(1.08);
  z-index: 0;
}

.about-page-heading.has-heading-artwork::before {
  filter: blur(32px) saturate(2.7);
}

.about-page-heading.has-heading-artwork::before,
.about-page-heading.has-heading-artwork::after {
  -webkit-mask-image: linear-gradient(to bottom, #fff 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #fff 0%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.about-page-heading.has-heading-artwork::after,
.murals-page-heading.has-heading-artwork::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image:
    linear-gradient(rgb(0 0 0 / var(--page-heading-scrim-opacity, 36%)), rgb(0 0 0 / var(--page-heading-scrim-opacity, 36%))),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.14'/%3E%3C/svg%3E");
  background-blend-mode: normal, soft-light;
  content: '';
  pointer-events: none;
}

.about-page-heading .page-heading,
.murals-page-heading .page-heading {
  position: relative;
  z-index: 2;
}

.about-page-heading .page-heading {
  text-shadow: 0 1px 5px rgb(0 0 0 / 10%);
}

.page-heading {
  margin: 0;
  font-family: var(--display);
  font-size: var(--type-hero);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.page-heading::after {
  display: none;
}

.page-note {
  max-width: 190px;
  margin: 18px 0 0 auto;
  color: var(--mist);
  font-size: var(--type-small);
  line-height: 1.55;
  text-align: right;
}

.art-gallery,
.environment-gallery {
  width: min(calc(100% - 10vw), var(--content-width));
  margin: 0 auto;
}

.art-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 48px;
  padding-bottom: 100px;
}

.art-placeholder {
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  color: var(--paper);
  background: var(--moss);
  font-size: var(--type-small);
}

.art-placeholder.tall {
  aspect-ratio: 4 / 5;
}

.art-placeholder.short {
  aspect-ratio: 5 / 4;
}

.media-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--moss);
}

.media-card.tall {
  aspect-ratio: 4 / 5;
}

.media-card.short {
  aspect-ratio: 5 / 4;
}

.media-card img,
.about-photo img,
.portrait-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.media-card:hover img {
  transform: scale(1.02);
}

.environment-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding-top: 48px;
  padding-bottom: 100px;
}

.environment-gallery .media-card {
  aspect-ratio: 1 / 1;
}

.murals-content {
  width: min(calc(100% - 10vw), var(--content-width));
  margin: 0 auto;
  padding: 60px 0 100px;
}

.mural-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 3vw, 42px);
}

.mural-video {
  min-width: 0;
}

.mural-video .media-subheading {
  margin: 0 0 18px;
  font-size: var(--type-subheading);
  line-height: 1.2;
}

.mural-video .local-video {
  margin: 0;
}

.video-placeholder,
.local-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 58px;
  background: var(--night);
  object-fit: cover;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
}

.video-play {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: auto;
  border: 1px solid rgb(238 232 220 / 55%);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
}

.media-subheading {
  margin: 70px 0 22px;
  font-family: var(--display);
  font-size: var(--type-heading);
  font-weight: 400;
}

.mural-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

.mural-card {
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.mural-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.mural-card:hover img {
  transform: scale(1.025);
}

.mural-card figcaption {
  padding: 11px 12px 13px;
  color: var(--muted);
  background: var(--surface);
  font-size: var(--type-caption);
}

.about-content,
.contact-content {
  width: min(calc(100% - 10vw), var(--content-width));
  margin: 0 auto;
  padding: 74px 0 110px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  column-gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.about-intro {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
  align-items: start;
  padding-bottom: 0;
}

.about-photos {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

.about-photo-group,
.portrait-slot {
  display: contents;
}

.about-photo,
.portrait-media {
  min-width: 0;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--moss-dark);
}

.about-photo--wide {
  max-width: none;
}

.about-copy {
  max-width: none;
  padding-top: 7px;
}

.about-content > .about-section,
.about-list-grid {
  grid-column: 1 / -1;
}

.about-content > .about-section {
  width: 100%;
  max-width: none;
  margin: clamp(56px, 6vw, 90px) 0 0;
}

.about-content > .about-section > * {
  max-width: min(100%, 1200px);
  margin-right: auto;
  margin-left: auto;
}

.about-copy h2,
.about-section h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: var(--type-heading);
  font-weight: 600;
  line-height: 0.95;
}

.about-copy h2:not(:first-child) {
  margin-top: 60px;
}

.about-copy p,
.about-section p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.75;
}

.about-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 0 0;
  border-top: 1px solid var(--line);
}

.list-copy {
  --timeline-label-width: 3.5rem;
  --timeline-node-width: 1.5rem;
  --timeline-gap: 0.75rem;
  --timeline-center: calc(var(--timeline-label-width) + var(--timeline-gap) + (var(--timeline-node-width) / 2));
  position: relative;
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 14px 0 0;
  list-style: none;
}

.list-copy li {
  position: relative;
  display: grid;
  grid-template-columns: var(--timeline-label-width) var(--timeline-node-width) minmax(0, 1fr);
  column-gap: var(--timeline-gap);
  align-items: start;
  padding: 16px 0;
}

.list-copy li:not(:last-child)::after {
  position: absolute;
  top: 26px;
  right: auto;
  bottom: -26px;
  left: var(--timeline-center);
  width: 1px;
  background: var(--line);
  content: '';
  transform: translateX(-50%);
}

.list-copy li::before {
  position: absolute;
  top: 22px;
  left: calc(var(--timeline-center) - 4px);
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 2px solid var(--ember);
  border-radius: 50%;
  background: var(--ember);
  content: '';
  z-index: 1;
}

.list-year {
  grid-column: 1;
  padding-top: 2px;
  color: var(--ember);
  font-size: var(--type-small);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.6;
}

.list-detail {
  grid-column: 3;
  display: grid;
  min-width: 0;
  gap: 2px;
}

.list-detail strong {
  color: var(--ink);
  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.4;
}

.list-detail span {
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.5;
}

.pilgrimage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pilgrimage-entry {
  padding: 24px 20px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pilgrimage-entry dt {
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--type-lead);
  font-weight: 600;
  line-height: 1;
}

.pilgrimage-entry dd {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.6;
}

.about-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  max-width: 1080px;
  margin: 90px auto 0;
}

.about-list-grid .about-section {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.about-list-grid .about-section h2 {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-panel {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: clamp(30px, 7vw, 90px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-intro {
  max-width: 650px;
  margin: 28px 0 50px;
  font-family: var(--display);
  font-size: var(--type-heading);
  line-height: 1.02;
}

.contact-form {
  display: grid;
  gap: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--muted);
  font-size: var(--type-small);
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 34px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  resize: vertical;
}

.form-field textarea {
  min-height: 76px;
}

.contact-page .page-heading-row {
  padding: 154px 5vw 30px;
}

.contact-page .contact-content {
  padding: 32px 0 52px;
}

.contact-page .contact-panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.5fr);
  grid-template-rows: auto auto 1fr;
  align-items: start;
  column-gap: clamp(24px, 4vw, 52px);
  row-gap: 0;
  width: min(100%, 1160px);
  padding: clamp(24px, 3.5vw, 44px);
}

.contact-page .contact-panel > .social-row {
  grid-column: 1;
  grid-row: 1;
}

.contact-page .contact-intro {
  grid-column: 1;
  grid-row: 2;
  margin: 18px 0 0;
  font-size: var(--type-body);
  line-height: 1.5;
}

.contact-details {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: var(--type-body);
  font-style: normal;
}

.contact-details a {
  color: var(--ink);
}

.contact-page .contact-details {
  grid-column: 1;
  grid-row: 3;
  margin-top: 24px;
}

.contact-page .contact-form {
  grid-column: 2;
  grid-row: 1 / span 3;
  gap: 14px;
}

.contact-page .form-row {
  gap: 20px;
}

.contact-page .form-field {
  gap: 2px;
}

.contact-page .form-field textarea {
  min-height: 40px;
}

@media (max-width: 820px) {
  .contact-page .page-heading-row {
    padding: 138px 7vw 28px;
  }

  .contact-page .contact-content {
    padding: 24px 0 40px;
  }

  .contact-page .contact-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: 0;
    padding: clamp(22px, 4vw, 34px);
  }

  .contact-page .contact-panel > .social-row,
  .contact-page .contact-intro,
  .contact-page .contact-details,
  .contact-page .contact-form {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-page .contact-intro {
    margin-top: 14px;
  }

  .contact-page .contact-form {
    margin-top: 24px;
  }
}

@media (max-width: 680px) {
  .contact-page .page-heading-row {
    padding: 112px 7vw 24px;
  }

  .contact-page .contact-content {
    padding: 18px 0 32px;
  }

  .contact-page .contact-panel {
    padding: 20px 6vw 24px;
  }

  .contact-page .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-page .contact-form {
    gap: 12px;
    margin-top: 20px;
  }
}

.submit-button,
.add-button {
  width: max-content;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--action-text);
  background: var(--action-bg);
  font-size: var(--type-small);
  transition: color 180ms ease, background 180ms ease;
}

.submit-button:hover {
  color: var(--ink);
  background: transparent;
}

.add-button {
  border: 0;
}

.added-check-icon {
  width: 1.1em;
  height: 1.1em;
  margin-left: 0.4em;
  vertical-align: -0.2em;
}

.form-success {
  display: none;
  margin: -8px 0 0;
  color: var(--moss-dark);
  font-size: var(--type-small);
}

.form-success.visible {
  display: block;
}

.shop-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  width: min(calc(100% - 10vw), var(--content-width));
  margin: 0 auto;
  padding: 60px 0 120px;
}

.filters {
  position: sticky;
  top: 24px;
}

.filters h2 {
  margin: 0 0 17px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: var(--type-heading);
  font-weight: 600;
}

.filter-group {
  border-bottom: 1px solid var(--line);
}

.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: var(--type-small);
  text-align: left;
}

.filter-symbol {
  font-size: var(--type-lead);
}

.filter-options {
  display: grid;
  gap: 7px;
  padding: 0 0 17px;
}

.filter-options[hidden] {
  display: none;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: var(--type-small);
}

.filter-options input {
  accent-color: var(--ember);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 22px;
}

.product-card {
  min-width: 0;
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 0.86;
  overflow: hidden;
  color: var(--paper);
  background: var(--product-color, var(--moss));
}

.product-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-art > span {
  font-size: var(--type-caption);
}

.product-name {
  min-height: 40px;
  margin: 16px 0 2px;
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--type-subheading);
  font-weight: 600;
  line-height: 1.05;
}

.product-price {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--type-small);
}

.load-more {
  display: block;
  margin: 48px auto 0;
  padding: 12px 32px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: var(--type-small);
}

.load-more:hover {
  color: var(--action-text);
  background: var(--action-bg);
}

.product-card-link {
  display: block;
}

.product-card[hidden],
.load-more[hidden] {
  display: none;
}

.add-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-name a {
  color: inherit;
  text-decoration: none;
}

a.add-button {
  display: inline-block;
  text-decoration: none;
}

.product-page {
  padding: 154px 0 120px;
}

.product-main.has-product-backdrop {
  --ink: var(--paper-light);
  --muted: rgb(247 243 235 / 72%);
  --line: rgb(247 243 235 / 22%);
  --action-bg: var(--paper-light);
  --action-text: var(--night);
}

.product-main.has-product-backdrop {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--ink);
  background: rgb(var(--product-backdrop-rgb));
}

.product-backdrop-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgb(var(--layer-rgb) / 72%), rgb(var(--layer-rgb) / 72%)),
    var(--layer-image) center / cover no-repeat;
  filter: blur(36px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.15);
  transition: opacity 600ms ease;
}

.product-backdrop-layer.is-visible {
  opacity: 1;
}

.product-main.has-product-backdrop .product-page-option select option {
  color: var(--night);
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--ink);
  font-size: var(--type-small);
  text-decoration: none;
  text-underline-offset: 4px;
}

.product-back:hover,
.product-back:focus-visible {
  text-decoration: underline;
}

.product-back-icon {
  width: 18px;
  height: 18px;
}

.product-page-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "media info"
    "story info";
  gap: 40px 60px;
  align-items: start;
}

.product-page-media {
  grid-area: media;
  min-width: 0;
}

.product-page-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78svh;
  margin-inline: auto;
}

.product-page-image--empty {
  aspect-ratio: 0.86;
  background: var(--moss);
}

.product-page-thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.product-page-thumbnail {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.product-page-thumbnail.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.product-page-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-page-info {
  position: sticky;
  top: 24px;
  grid-area: info;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-page-name {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--type-heading);
  font-weight: 600;
  line-height: 1.1;
}

.product-page-price {
  margin: -6px 0 0;
  color: var(--ink);
  font-size: var(--type-lead);
}

.product-page-option {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: var(--type-small);
}

.product-page-option select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.product-page-option-error {
  margin: -10px 0 0;
  color: var(--ember);
  font-size: var(--type-small);
}

.product-page-option-error[hidden] {
  display: none;
}

.product-page-add {
  width: 100%;
}

.product-page-section {
  border-top: 1px solid var(--line);
}

.product-page-section:last-child {
  border-bottom: 1px solid var(--line);
}

.product-page-section summary {
  padding: 14px 0;
  color: var(--ink);
  font-size: var(--type-body);
  cursor: pointer;
}

.product-page-section-body,
.product-page-story {
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.7;
}

.product-page-section-body {
  padding-bottom: 14px;
}

.product-page-section-body p,
.product-page-story p {
  margin: 0 0 10px;
}

.product-page-story {
  grid-area: story;
  max-width: 720px;
}

.product-page-message {
  color: var(--muted);
}

@media (max-width: 820px) {
  .product-page {
    padding-top: 112px;
  }

  .product-page-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "info"
      "story";
  }

  .product-page-info {
    position: static;
  }
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 19;
  border: 0;
  background: rgb(21 27 26 / 68%);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-rows: 74px 1fr auto;
  width: min(430px, 100%);
  background: var(--surface);
  box-shadow: -12px 0 30px rgb(21 27 26 / 18%);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
}

.cart-heading {
  margin: 0;
  font-family: var(--display);
  font-size: var(--type-heading);
  font-weight: 600;
}

.cart-heading span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: var(--type-small);
}

.cart-close,
.cart-remove {
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: var(--type-heading);
  line-height: 1;
}

.cart-body {
  overflow-y: auto;
  padding: 26px;
}

.cart-empty {
  color: var(--muted);
  font-size: var(--type-small);
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-item-art {
  width: 58px;
  height: 72px;
  background: var(--product-color, var(--moss));
}

.cart-item-name,
.cart-item-price {
  margin: 0;
}

.cart-item-name {
  font-family: var(--display);
  font-size: var(--type-lead);
  line-height: 0.95;
}

.cart-item-option {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--type-caption);
}

.cart-item-price {
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--type-small);
}

.cart-footer {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--line);
}

.cart-demo-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: var(--type-caption);
}

.cart-checkout {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

[data-lightbox-group] img {
  cursor: zoom-in;
}

[data-lightbox-group] [data-action] img {
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  color: #f2efe9;
  background: #000;
}

.lightbox:focus {
  outline: none;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 160ms ease;
}

.lightbox-button[hidden] {
  display: none;
}

.lightbox-button:hover,
.lightbox-button:focus-visible {
  opacity: 1;
}

.lightbox-button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.lightbox-icon {
  width: 28px;
  height: 28px;
}

.lightbox-fullscreen,
.lightbox-close {
  position: absolute;
  top: 20px;
  z-index: 1;
}

.lightbox-fullscreen {
  left: 20px;
}

.lightbox-close {
  right: 20px;
}

.lightbox-close .lightbox-icon {
  width: 36px;
  height: 36px;
}

.lightbox-nav {
  justify-self: center;
}

.lightbox-nav .lightbox-icon {
  width: 40px;
  height: 40px;
}

.lightbox-nav--previous {
  grid-column: 1;
  grid-row: 1;
}

.lightbox-nav--next {
  grid-column: 3;
  grid-row: 1;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
  gap: 32px;
  height: 100svh;
  min-height: 0;
  margin: 0;
  padding: 88px 0 40px;
}

.lightbox-image {
  display: block;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: default;
}

.lightbox-caption {
  flex: 0 0 auto;
  text-align: center;
}

.lightbox-caption[hidden] {
  display: none;
}

.lightbox-thumbnails {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lightbox-thumbnails[hidden] {
  display: none;
}

.lightbox-thumbnail {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgb(242 239 233 / 40%);
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lightbox-thumbnail.is-active {
  border-color: #f2efe9;
  box-shadow: 0 0 0 1px #f2efe9;
}

.lightbox-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-title {
  margin: 0;
  font-size: var(--type-subheading);
  line-height: 1.2;
}

.lightbox-details {
  margin: 8px 0 0;
  white-space: pre-line;
  color: rgb(242 239 233 / 72%);
  font-size: var(--type-body);
}

@media (max-width: 680px) {
  .lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .lightbox-fullscreen {
    left: 10px;
  }

  .lightbox-close {
    right: 10px;
  }

  .lightbox-figure {
    gap: 20px;
    padding: 76px 0 28px;
  }

  .lightbox-nav .lightbox-icon {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}

@media (min-width: 981px) {
  .practice-copy h2,
  .commission-copy h2 {
    font-size: var(--type-heading);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: var(--header-height);
    gap: clamp(20px, 3vw, 40px);
  }

  .page-main {
    min-height: calc(100vh - var(--header-height));
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 5vw;
    left: 5vw;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px 20px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--surface);
  }

  .site-nav.open {
    display: flex;
  }

  .site-header::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgb(0 0 0 / 70%);
    content: '';
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .site-header:has(.site-nav.open)::before {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 0;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .mobile-menu-toggle {
    display: block;
    justify-self: end;
  }

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

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

  .hero-copy {
    min-height: 0;
    padding: 40px 8vw;
  }

  .home-intro,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading {
    row-gap: 0;
  }

  .section-heading .section-kicker {
    margin: 0;
  }

  .intro-note {
    margin: 0;
  }

  .works-shop-link {
    margin: 56px 0 0;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    aspect-ratio: auto;
    align-items: start;
  }

  .work-feature,
  .work-tile {
    grid-column: auto;
    grid-row: auto;
  }

  .work-feature figure,
  .work-tile figure {
    display: block;
    height: auto;
  }

  .about-intro {
    grid-template-columns: minmax(0, 680px);
  }

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

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

@media (max-width: 680px) {
  :root {
    --header-height: 80px;
  }

  .site-header {
    min-height: var(--header-height);
    gap: 12px;
    padding: 10px 4vw;
  }

  .page-main {
    min-height: calc(100vh - var(--header-height));
  }

  .brand-mark {
    height: 44px;
  }

  .brand-name {
    font-size: var(--type-subheading);
  }

  .brand-tagline {
    font-size: var(--type-small);
  }

  .hero-copy {
    min-height: 0;
    padding: 36px 7vw;
  }

  .hero h1 {
    font-size: var(--type-hero);
  }

  .hero-summary {
    margin-top: 28px;
    font-size: var(--type-body);
  }

  .hero-media {
    inset: 0;
  }

  .hero-media::before {
    left: 0;
    --hero-scrim-start: 0%;
  }

  .hero-media img {
    opacity: 0;
  }

  .hero-media img.is-active {
    opacity: 0.55;
  }

  .hero-media figcaption {
    right: 7vw;
  }

  .hero-dots {
    right: 7vw;
  }

  .content-width,
  .art-gallery,
  .environment-gallery,
  .about-content,
  .contact-content,
  .shop-layout {
    width: min(calc(100% - 14vw), var(--content-width));
  }

  .home-intro {
    padding-block: var(--section-padding);
  }

  .intro-statement {
    font-size: var(--type-display);
  }

  .works-section {
    padding-block: var(--section-padding);
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2 {
    font-size: var(--type-display);
  }

  .works-grid,
  .about-intro,
  .about-list-grid,
  .form-row,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 70px;
  }

  .about-photos {
    grid-column: 1;
    grid-row: 2;
  }

  .practice-image .image-stamp {
    right: 12px;
    bottom: 12px;
    padding: 6px 7px;
    font-size: var(--type-caption);
  }

  .home-contact {
    padding-block: var(--section-padding);
  }

  .home-contact h2 {
    font-size: var(--type-contact);
  }

  .contact-email {
    font-size: var(--type-contact);
  }

  .site-footer {
    gap: 28px 20px;
    padding: 28px 7vw;
  }

  .footer-mark {
    width: 54px;
    height: 44px;
  }

  .page-heading-row {
    width: 100%;
    padding: clamp(112px, 18vw, 132px) 7vw 40px;
  }

  .page-heading {
    font-size: var(--type-hero);
  }

  .art-gallery,
  .environment-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 30px;
    padding-bottom: 80px;
  }

  .murals-content {
    width: min(calc(100% - 14vw), var(--content-width));
    padding-top: 36px;
  }

  .mural-video-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-photos {
    grid-template-columns: repeat(4, minmax(180px, 72vw));
    gap: 14px;
    margin-bottom: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
  }

  .about-photo,
  .portrait-media {
    scroll-snap-align: start;
  }

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

  .about-content,
  .contact-content {
    padding-top: 46px;
    padding-bottom: 80px;
  }

  .about-intro {
    gap: 42px;
    padding-bottom: 18px;
  }

  .about-content > .about-section {
    margin-top: 40px;
    padding-top: 32px;
  }

  .about-list-grid {
    margin-top: 70px;
  }

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

  .contact-panel {
    padding: 24px 6vw 32px;
  }

  .contact-intro {
    font-size: var(--type-heading);
  }

  .shop-layout {
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 80px;
  }

  .filters {
    position: static;
  }

  .products-grid {
    gap: 42px 14px;
  }

  .product-name {
    font-size: var(--type-subheading);
  }

  .cart-toggle {
    right: 7vw;
    bottom: 20px;
  }

}
