:root {
  --ink: #25211b;
  --muted: #756e62;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dedbd2;
  --line-strong: #beb8aa;
  --accent: #5c5143;
  --page-margin: 96px;
  --mobile-margin: 24px;
  --header-height: 56px;
  --nav-cell-width: 126px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html.home-document {
  background: #8f8f8f;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Courier New", Courier, ui-monospace, monospace;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.home-page {
  background: var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid rgba(37, 33, 27, 0.55);
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(14px);
}

body:not(.home-page) main {
  padding-top: var(--header-height);
}

.section,
.footer-inner {
  width: calc(100% - (var(--page-margin) * 2));
  margin: 0 auto;
}

.nav-wrap {
  display: grid;
  width: 100%;
  min-height: var(--header-height);
  grid-template-columns: minmax(0, 1fr) calc(var(--nav-cell-width) * 3);
  align-items: stretch;
  margin: 0;
  padding: 0 var(--page-margin);
}

.menu-toggle {
  display: none;
}

.brand,
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--header-height);
  text-decoration: none;
}

.brand {
  padding-right: 24px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(3, var(--nav-cell-width));
  align-items: stretch;
  border-left: 1px solid var(--ink);
}

.site-nav a {
  justify-content: center;
  min-width: 0;
  border-right: 1px solid var(--ink);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.home-page .site-header {
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.home-page .site-nav {
  border-left: 0;
}

.home-page .brand,
.home-page .site-nav a {
  min-height: var(--header-height);
  color: var(--paper);
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(37, 33, 27, 0.78);
}

.home-page .site-nav a {
  border-right: 0;
}

.home-page .site-nav a:hover,
.home-page .site-nav a[aria-current="page"] {
  background: transparent;
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-page.is-scrolled .site-header {
  border-bottom: 1px solid rgba(37, 33, 27, 0.55);
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(14px);
}

.home-page.is-scrolled .brand,
.home-page.is-scrolled .site-nav a,
.home-page.is-scrolled .menu-toggle {
  color: var(--ink);
  text-shadow: none;
}

.home-page.is-scrolled .site-nav a:hover,
.home-page.is-scrolled .site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.2rem, 6vw, 5rem);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1rem;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding: 56px 0;
}

.home-hero {
  position: relative;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  background: var(--ink);
}

.home-hero::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 96px;
  background: linear-gradient(
    to bottom,
    rgba(37, 33, 27, 0.74),
    rgba(37, 33, 27, 0.34) 46%,
    rgba(37, 33, 27, 0)
  );
  content: "";
  pointer-events: none;
}

.hero-rotator {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transform: scale(1.06);
  transition: opacity 1800ms ease;
}

.hero-art--active {
  opacity: 1;
}

.hero-art--moving {
  animation: heroDrift 16s ease-in-out both;
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(var(--from-x, -1.4%), var(--from-y, -1.2%), 0);
  }

  to {
    transform: scale(1.01) translate3d(var(--to-x, 1.4%), var(--to-y, 1.2%), 0);
  }
}

.home-about {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  background: var(--paper);
  padding-top: 72px;
  padding-bottom: 72px;
}

.artist-photo {
  width: 100%;
  max-width: 430px;
  justify-self: end;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-about-copy {
  max-width: 680px;
}

.home-about-copy h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.home-about-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.shop-title {
  padding: 64px 0 24px;
}

.shop-title p,
.page-title p {
  max-width: 680px;
  margin-top: 10px;
  font-size: 1rem;
}

.print-shop {
  padding-top: 18px;
}

.print-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.page-title {
  padding: 64px 0 24px;
}

.gallery-section {
  padding-top: 18px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 44px;
  align-items: start;
}

.statement {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.art-wall {
  display: grid;
  gap: 54px;
}

.art-wall-group--feature-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.art-wall-lead,
.art-wall-stack,
.art-wall-grid {
  display: grid;
  gap: 18px;
}

.art-wall-lead .art-image-link {
  aspect-ratio: 16 / 10;
}

.art-wall-stack .art-image-link {
  aspect-ratio: 16 / 10;
}

.art-wall-stack .art-card-body {
  gap: 6px;
  padding-bottom: 2px;
}

.art-card--compact {
  gap: 8px;
}

.art-card--compact h3 {
  font-size: 0.92rem;
}

.art-card--compact .eyebrow {
  margin-bottom: 6px;
}

.art-card--compact .art-meta {
  font-size: 0.82rem;
  line-height: 1.35;
}

.art-card--compact .art-purchase-row {
  margin-top: 2px;
}

.art-card--compact .art-card-body p:not(.eyebrow):not(.art-meta) {
  display: none;
}

.art-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 46px;
}

.art-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.art-card--wide {
  grid-column: span 2;
}

.art-card--feature {
  grid-column: 1 / -1;
}

.art-image-link {
  display: grid;
  aspect-ratio: var(--art-ratio, 3 / 2);
  place-items: center;
  overflow: hidden;
}

.art-image-link img {
  height: 100%;
  object-fit: contain;
  transition: filter 180ms ease;
}

.print-card .art-image-link {
  aspect-ratio: auto;
  display: block;
  overflow: visible;
  padding: 8px 18px 16px;
}

.print-card .art-image-link img {
  width: 88%;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 18px 34px rgba(37, 33, 27, 0.25);
  object-fit: contain;
}

.art-card:hover img {
  filter: contrast(1.04);
}

.art-card-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-bottom: 12px;
}

.art-card-body p {
  font-size: 0.92rem;
}

.art-meta {
  margin-top: 4px;
}

.art-purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  line-height: 1;
  padding: 0 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary,
.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.button.disabled {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--muted);
  pointer-events: none;
}

span.button {
  cursor: default;
}

.story-copy {
  max-width: 900px;
}

.story-copy h1 {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.story-copy p {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.7;
}

.simple-contact {
  max-width: 760px;
}

.simple-contact .contact-list {
  margin-top: 32px;
}

.callout,
.contact-panel {
  border: 1px solid var(--ink);
  background: var(--panel);
  padding: 24px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--paper);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav-wrap {
    position: relative;
    width: 100%;
    min-height: 54px;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 22;
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.08rem;
    font-weight: 400;
    padding: 0 var(--mobile-margin);
  }

  .brand {
    min-height: 54px;
    border-bottom: 1px solid var(--ink);
    padding: 0 96px 0 var(--mobile-margin);
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 20;
    display: grid;
    width: min(78vw, 300px);
    height: 100svh;
    align-content: start;
    grid-template-columns: 1fr;
    border-left: 1px solid var(--ink);
    background: rgba(251, 250, 246, 0.97);
    box-shadow: -18px 0 42px rgba(37, 33, 27, 0.18);
    padding-top: 82px;
    transform: translateX(105%);
    transition: transform 260ms ease;
  }

  .site-nav a {
    justify-content: flex-start;
    min-width: 0;
    min-height: 58px;
    border-top: 1px solid rgba(37, 33, 27, 0.18);
    border-right: 0;
    font-size: 1.3rem;
    padding: 0 28px;
  }

  .site-nav a:last-child {
    border-bottom: 1px solid rgba(37, 33, 27, 0.18);
  }

  .menu-open .site-nav {
    transform: translateX(0);
  }

  .home-page .brand {
    border-bottom: 0;
  }

  .home-page .menu-toggle,
  .home-page .brand {
    color: var(--paper);
    text-shadow: 0 2px 10px rgba(37, 33, 27, 0.78);
  }

  .home-page.menu-open .menu-toggle {
    color: var(--ink);
    text-shadow: none;
  }

  .home-page .site-nav a {
    color: var(--ink);
    text-shadow: none;
  }

  .home-page .site-nav a:hover,
  .home-page .site-nav a[aria-current="page"] {
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
  }

  .section,
  .page-title {
    padding: 42px 0;
  }

  .section-header,
  .split {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero {
    height: 100svh;
    min-height: 460px;
  }

  .home-hero::before {
    height: 48px;
    background: linear-gradient(
      to bottom,
      rgba(37, 33, 27, 0.68),
      rgba(37, 33, 27, 0.28) 48%,
      rgba(37, 33, 27, 0)
    );
  }

  .hero-art {
    object-fit: cover;
    object-position: center center !important;
    transform: none !important;
  }

  .hero-art--moving {
    animation: none;
  }

  .home-about {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .artist-photo {
    justify-self: start;
    max-width: none;
  }

  .home-about-copy h1 {
    font-size: 2.6rem;
  }

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

  .art-wall-group--feature-stack {
    grid-template-columns: 1fr;
  }

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

  .art-card--wide,
  .art-card--feature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .section,
  .footer-inner,
  .section-separator {
    width: calc(100% - (var(--mobile-margin) * 2));
  }

  .nav-wrap {
    width: 100%;
  }

  h1 {
    font-size: 2.4rem;
  }

  .art-grid,
  .print-grid {
    grid-template-columns: 1fr;
  }

  .art-wall-stack,
  .art-wall-grid {
    grid-template-columns: 1fr;
  }

  .art-card--wide,
  .art-card--feature {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .art-purchase-row {
    align-items: stretch;
    flex-direction: column;
  }
}
