/* OUT GALLERY — original artwork, generous space, a precise editorial rhythm. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/outgallery/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/outgallery/assets/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/outgallery/assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #ffffff;
  --paper: #f5f5f1;
  --paper-soft: #fafaf7;
  --ink: #1c1c1c;
  --ink-2: #484844;
  --muted: #65655e;
  --rule: #deded7;
  --rule-strong: #b9b9b0;
  --sans: "Instrument Sans", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --gutter: clamp(24px, 4.5vw, 72px);
  --content-width: 1440px;
  --header-height: 102px;
  --section-space: clamp(76px, 8vw, 128px);
  --ease: cubic-bezier(.2, .65, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-lightbox-open,
body.menu-open {
  overflow: hidden;
}

body,
main,
section,
article,
figure,
div {
  min-width: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  font-family: var(--serif);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .25em;
}

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

button {
  color: inherit;
  cursor: pointer;
}

button,
input,
select,
textarea {
  border-radius: 0;
}

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

button:disabled {
  cursor: default;
  opacity: .5;
}

button svg,
a svg {
  flex: 0 0 auto;
}

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

img {
  height: auto;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}

::selection {
  color: var(--ground);
  background: var(--ink);
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: var(--gutter);
  z-index: 200;
  padding: 12px 20px;
  color: var(--ground);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.mobile-only,
.menu-toggle {
  display: none;
}

.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .17em;
  text-transform: uppercase;
}

/* The original PNG's painted bounds are 1009 × 646 inside a 1067 square. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--content-width);
  min-height: var(--header-height);
  margin-inline: auto;
  padding: 18px var(--gutter);
}

.brand {
  position: relative;
  display: block;
  flex: 0 0 104px;
  width: 104px;
  height: 66px;
  margin-right: auto;
  overflow: hidden;
}

.brand-image {
  position: absolute;
  top: -21.5px;
  left: -3px;
  display: block;
  width: 110px;
  max-width: none;
  height: 110px;
  object-fit: contain;
}

.brand-image.is-framed,
svg.brand-image {
  inset: 0;
  width: 104px;
  height: 66px;
}

.nav,
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 34px);
}

.nav a,
.site-nav a,
.selection-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .025em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav a,
.site-nav a {
  position: relative;
}

.nav a::after,
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}

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

.nav a:hover::after,
.site-nav a:hover::after,
.nav a[aria-current="page"]::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.selection-link {
  gap: 8px;
  padding-left: 26px;
  border-left: 1px solid var(--rule);
}

.selection-link svg {
  width: 17px;
  height: 17px;
}

.selection-link [data-selection-count],
.selection-count {
  font-variant-numeric: tabular-nums;
}

/* Homepage */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding-top: clamp(56px, 5.5vw, 86px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

.hero-copy {
  padding-bottom: 18px;
}

.hero-copy .eyebrow {
  margin-bottom: clamp(26px, 3vw, 44px);
}

.hero-title {
  max-width: 11.5ch;
  font-size: clamp(64px, 7.15vw, 106px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.065em;
}

.hero-title em {
  font-size: 1.075em;
  line-height: .9;
  letter-spacing: -.055em;
}

.hero-description {
  max-width: 39ch;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 32px;
}

.hero-art {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  padding: clamp(28px, 3vw, 46px) clamp(24px, 3vw, 44px) 20px;
  background: var(--paper);
}

.hero-art > a {
  display: block;
  margin-block: auto;
}

.hero-art-image {
  display: block;
  width: 100%;
  height: clamp(350px, 34vw, 500px);
  margin-block: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-strong);
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.6;
}

.hero-caption strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.hero-caption em {
  font-family: var(--serif);
  font-size: 16px;
}

.hero-caption a {
  min-height: 44px;
  text-decoration: underline;
}

.hero-index {
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .035em;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
}

.button-dark {
  color: var(--ground);
  background: var(--ink);
}

.button-dark:hover {
  border-color: #42423d;
  background: #42423d;
}

.button-outline {
  border-color: var(--rule-strong);
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 44px;
  padding-block: 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .035em;
}

.text-link::after {
  content: "↗";
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms var(--ease);
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.text-link:has(svg)::after {
  display: none;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--rule);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-title {
  max-width: 19ch;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.section-subtitle {
  max-width: 44ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.art-grid,
.selection-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 56px clamp(22px, 3vw, 44px);
}

.art-grid.is-editorial > .art-card:nth-child(3n + 2),
.art-grid[data-editorial] > .art-card:nth-child(3n + 2) {
  margin-top: 64px;
}

.art-card {
  position: relative;
  min-width: 0;
}

.art-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  aspect-ratio: 4 / 5;
  padding: clamp(20px, 2.3vw, 34px);
  background: var(--paper-soft);
  transition: background-color 200ms ease;
}

.art-media:hover {
  background-color: var(--paper);
}

.art-media > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.art-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}

.favorite-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  color: var(--ink);
  background: var(--ground);
  transition: background 180ms ease, border-color 180ms ease;
}

.favorite-button:hover {
  border-color: var(--rule-strong);
}

.favorite-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.favorite-button.is-saved,
.favorite-button[aria-pressed="true"] {
  color: var(--ground);
  background: var(--ink);
}

.favorite-button.is-saved svg,
.favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.art-meta {
  display: grid;
  gap: 3px;
}

.art-artist {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.art-title {
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.art-detail {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.art-price {
  margin-top: 8px;
  color: var(--ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.art-meta a:hover,
.art-artist a:hover {
  text-decoration: underline;
}

.art-meta .text-link {
  margin-top: 8px;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.artist-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  padding-top: 24px;
  border-top: 1px solid var(--rule-strong);
}

.artist-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.15;
  padding: 20px;
  background: var(--paper-soft);
  object-fit: contain;
}

.artist-card-body .eyebrow {
  margin-bottom: 14px;
}

.artist-card-body h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.artist-card-body p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.artist-card-body .text-link {
  margin-top: 16px;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.manifesto-copy .eyebrow {
  margin-bottom: 26px;
}

.manifesto-copy h2,
.manifesto-copy blockquote {
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 78px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.manifesto-copy p:not(.eyebrow) {
  max-width: 42ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.manifesto-copy .text-link {
  margin-top: 20px;
}

.manifesto-image {
  width: 100%;
  height: auto;
  max-height: 620px;
  aspect-ratio: 4 / 5;
  padding: clamp(26px, 4vw, 60px);
  background: var(--paper);
  object-fit: contain;
}

.inquiry-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px 60px;
  padding: clamp(32px, 5vw, 72px);
  background: var(--paper);
}

.inquiry-panel h2 {
  max-width: 20ch;
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.inquiry-panel p:not(.eyebrow) {
  max-width: 48ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.inquiry-panel .button {
  flex: 0 0 auto;
}

/* Shared inner-page opening */
.page-header {
  padding-block: clamp(46px, 6vw, 88px) clamp(44px, 6vw, 80px);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumbs span[aria-hidden] {
  color: var(--rule-strong);
}

.page-header > .eyebrow,
.page-header .eyebrow {
  margin-bottom: 22px;
}

.page-title {
  max-width: 17ch;
  font-size: clamp(56px, 7vw, 98px);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.page-intro {
  max-width: 57ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.catalog-controls {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 26px;
  padding-block: 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.filter-field {
  display: flex;
  flex: 1 1 170px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.filter-field label,
.filter-field > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--ground);
  font-size: 13px;
  line-height: 1.5;
}

.filter-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.filter-field select {
  cursor: pointer;
}

.catalog-toolbar,
.selection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 30px;
  min-height: 92px;
  padding-block: 22px;
  color: var(--muted);
  font-size: 11px;
}

.catalog-toolbar button,
.selection-toolbar button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-toolbar .filter-field {
  flex: 0 1 230px;
}

.empty-state {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 22px auto 70px;
  padding: 64px 36px;
  border-block: 1px solid var(--rule);
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  margin-bottom: 16px;
  font-size: 30px;
  letter-spacing: -.03em;
}

.empty-state p {
  color: var(--muted);
  font-size: 14px;
}

.empty-state .button {
  margin-top: 26px;
}

/* Artwork page */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  align-items: start;
  gap: clamp(42px, 6vw, 88px);
  padding-bottom: var(--section-space);
}

.product-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: clamp(26px, 4vw, 60px);
  background: var(--paper-soft);
}

.product-gallery > button:not(.zoom-button),
.product-gallery > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-main-image {
  display: block;
  width: 100%;
  height: 600px;
  max-height: 68vh;
  aspect-ratio: 1 / 1.1;
  object-fit: contain;
}

.zoom-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  background: var(--ground);
  font-size: 10px;
}

.zoom-button svg {
  width: 16px;
  height: 16px;
}

.product-info {
  position: sticky;
  top: calc(var(--header-height) + 36px);
  padding-top: 4px;
}

.product-info > .eyebrow {
  margin-bottom: 18px;
}

.product-info > .art-artist,
.product-info > h2 {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.product-info > .art-artist:hover {
  text-decoration: underline;
}

.product-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 64px);
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.product-price {
  margin-top: 26px;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.product-facts {
  margin: 32px 0 0;
  padding: 22px 0;
  border-block: 1px solid var(--rule);
}

.product-facts > div {
  display: grid;
  grid-template-columns: minmax(90px, .42fr) minmax(0, 1fr);
  gap: 16px;
  padding-block: 8px;
  font-size: 12px;
  line-height: 1.7;
}

.product-facts dt {
  color: var(--muted);
}

.product-facts dd {
  margin: 0;
  color: var(--ink);
}

.product-description {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.product-description p + p {
  margin-top: 16px;
}

.product-actions {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.product-actions .favorite-button {
  position: static;
  width: 100%;
  min-height: 48px;
  gap: 10px;
  border-color: var(--rule-strong);
  font-size: 11px;
}

.product-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.product-note a {
  text-decoration: underline;
}

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

/* Artists, editorial, and information */
.artist-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding-block: 24px var(--section-space);
}

.artist-profile-copy .eyebrow {
  margin-bottom: 24px;
}

.artist-profile-copy .page-title {
  max-width: 9ch;
}

.artist-profile-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  aspect-ratio: 4 / 5;
  padding: clamp(24px, 4vw, 56px);
  background: var(--paper);
  object-fit: contain;
}

.bio-text {
  max-width: 52ch;
  margin-top: 30px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.9;
}

.bio-text p + p {
  margin-top: 20px;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(40px, 8vw, 120px);
  padding-bottom: var(--section-space);
}

.editorial-layout > .eyebrow,
.editorial-layout > aside {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.prose {
  max-width: 700px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.95;
}

.prose > * + * {
  margin-top: 22px;
}

.prose h2 {
  margin-top: 54px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.prose h3 {
  margin-top: 36px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

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

.prose blockquote {
  margin-block: 42px;
  padding-left: 26px;
  border-left: 1px solid var(--rule-strong);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  line-height: 1.35;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 10px;
}

.prose img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: var(--section-space);
}

.contact-card {
  padding: clamp(28px, 4.5vw, 60px);
  border: 1px solid var(--rule);
}

.contact-card .eyebrow {
  margin-bottom: 24px;
}

.contact-card h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.contact-card p:not(.eyebrow) {
  max-width: 43ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.contact-card .button {
  margin-top: 30px;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.contact-details div {
  display: grid;
  gap: 4px;
}

.contact-details dt {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

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

.contact-details a:hover {
  text-decoration: underline;
}

.selection-grid {
  padding-bottom: var(--section-space);
}

.selection-toolbar {
  margin-bottom: 28px;
  border-block: 1px solid var(--rule);
}

.selection-toolbar .button {
  min-height: 46px;
  padding: 12px 22px;
  text-decoration: none;
}

.privacy {
  max-width: 800px;
  padding-bottom: var(--section-space);
}

.not-found {
  min-height: 60vh;
  padding-block: clamp(70px, 10vw, 150px);
}

.not-found .page-title {
  max-width: 10ch;
}

.not-found .button {
  margin-top: 32px;
}

/* Footer */
.site-footer {
  padding-top: clamp(46px, 6vw, 88px);
  border-top: 1px solid var(--rule);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 60px;
  padding-bottom: 64px;
}

.footer-brand .brand {
  margin-bottom: 26px;
}

.footer-brand > p {
  max-width: 29ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.footer-links h2,
.footer-links h3,
.footer-links .eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 36px;
  width: fit-content;
  max-width: 100%;
  color: var(--ink-2);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-links a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-left: 8px;
}

.footer-links p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding-block: 23px 28px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Lightbox never crops or recolors the supplied artwork. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 64px clamp(22px, 5vw, 80px) 32px;
  border: 0;
  color: var(--ink);
  background: rgba(250, 250, 247, .98);
}

dialog.lightbox:not([open]) {
  display: none;
}

.lightbox::backdrop {
  background: rgba(250, 250, 247, .98);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: clamp(16px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  background: var(--ground);
  font-size: 11px;
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Content remains visible whether JavaScript is available or not. */
[data-reveal] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  .site-header .brand-image {
    animation: outgallery-logo-arrive 850ms cubic-bezier(.22, 1, .36, 1) both;
  }
  @keyframes outgallery-logo-arrive {
    from { opacity: .2; clip-path: inset(0 100% 0 0); }
    to { opacity: 1; clip-path: inset(0 0 0 0); }
  }
}

@media (min-width: 1600px) {
  .hero-title {
    font-size: 110px;
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 36px;
    --header-height: 94px;
  }

  .header-inner {
    gap: 28px;
    padding-block: 14px;
  }

  .nav,
  .site-nav {
    gap: 20px;
  }

  .selection-link {
    padding-left: 20px;
  }

  .hero {
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(62px, 7.5vw, 82px);
  }

  .hero-art {
    min-height: 540px;
    padding-inline: 28px;
  }

  .hero-art-image {
    height: 370px;
  }

  .artist-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .artist-card-image {
    max-height: 410px;
    aspect-ratio: 1 / 1;
  }

  .artist-card-body h3 {
    font-size: 30px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px;
  }

  .product-gallery {
    min-height: 520px;
    padding: 28px;
  }

  .product-main-image {
    height: 480px;
  }

  .footer-top {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 28px;
    --header-height: 90px;
  }

  .header-inner {
    gap: 22px;
    padding-block: 12px;
  }

  .nav,
  .site-nav {
    gap: 16px;
  }

  .nav a,
  .site-nav a,
  .selection-link {
    font-size: 10px;
  }

  .header-actions {
    gap: 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    padding-top: 52px;
  }

  .hero-copy {
    padding-top: 22px;
  }

  .hero-copy .eyebrow {
    max-width: 29ch;
    font-size: 9px;
  }

  .hero-title {
    font-size: clamp(54px, 7.3vw, 66px);
    letter-spacing: -.055em;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    gap: 10px 20px;
  }

  .hero-art {
    min-height: 500px;
    padding: 30px 22px 18px;
  }

  .hero-art-image {
    height: 330px;
  }

  .hero-caption {
    display: block;
    margin-top: 24px;
  }

  .hero-caption > * + * {
    margin-top: 8px;
  }

  .art-grid,
  .selection-grid,
  .related-grid {
    gap: 44px 22px;
  }

  .art-media {
    padding: 18px;
  }

  .favorite-button {
    top: 6px;
    right: 6px;
  }

  .art-title {
    font-size: 20px;
  }

  .manifesto {
    gap: 36px;
  }

  .manifesto-copy h2,
  .manifesto-copy blockquote {
    font-size: 48px;
  }

  .manifesto-copy p:not(.eyebrow) {
    font-size: 13px;
  }

  .inquiry-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-layout {
    gap: 32px;
  }

  .product-gallery {
    min-height: 460px;
    padding: 24px;
  }

  .product-main-image {
    height: 420px;
  }

  .product-info {
    position: static;
  }

  .product-title {
    font-size: 44px;
  }

  .product-facts > div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    font-size: 11px;
  }

  .artist-profile,
  .editorial-layout {
    gap: 40px;
  }

  .artist-profile-copy .page-title {
    font-size: 64px;
  }

  .contact-card {
    padding: 30px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 24px;
    --header-height: 86px;
    --section-space: 72px;
  }

  .header-inner {
    gap: 16px;
    min-height: var(--header-height);
    padding-block: 10px;
  }

  .header-actions {
    gap: 14px;
  }

  .selection-link {
    gap: 6px;
    padding-left: 0;
    border-left: 0;
    font-size: 10px;
  }

  .selection-link svg {
    width: 16px;
    height: 16px;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .menu-toggle svg {
    width: 24px;
    height: 24px;
  }

  .site-header .nav,
  .site-header .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - var(--header-height));
    padding: 16px var(--gutter) 28px;
    overflow-y: auto;
    border-bottom: 1px solid var(--rule);
    background: var(--ground);
  }

  .site-header .nav.is-open,
  .site-header .site-nav.is-open {
    display: flex;
  }

  .site-header .nav a,
  .site-header .site-nav a {
    justify-content: flex-start;
    min-height: 55px;
    border-bottom: 1px solid var(--rule);
    font-size: 17px;
    letter-spacing: -.01em;
  }

  .site-header .nav a::after,
  .site-header .site-nav a::after {
    display: none;
  }

  .mobile-only {
    display: initial;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy .eyebrow {
    max-width: none;
    margin-bottom: 28px;
    font-size: 9px;
    letter-spacing: .15em;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(48px, 11.8vw, 76px);
    line-height: 1.02;
    letter-spacing: -.06em;
  }

  .hero-description {
    max-width: 44ch;
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 12px 24px;
    margin-top: 26px;
  }

  .hero-art {
    min-height: 0;
    padding: 32px 26px 16px;
  }

  .hero-art-image {
    height: clamp(300px, 85vw, 490px);
    aspect-ratio: 1 / 1.15;
  }

  .hero-caption {
    display: flex;
    gap: 12px 16px;
    margin-top: 26px;
    font-size: 10px;
  }

  .hero-caption > * + * {
    margin-top: 0;
  }

  .hero-index {
    margin-top: 16px;
  }

  .button {
    min-height: 48px;
    padding-inline: 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 34px;
  }

  .section-heading .eyebrow {
    margin-bottom: 15px;
  }

  .section-title {
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.1;
  }

  .section-subtitle {
    font-size: 13px;
  }

  .section-heading > .text-link {
    padding-top: 0;
  }

  .art-grid,
  .selection-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .art-grid.is-editorial > .art-card:nth-child(3n + 2),
  .art-grid[data-editorial] > .art-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .art-grid.is-editorial > .art-card:nth-child(even),
  .art-grid[data-editorial] > .art-card:nth-child(even) {
    margin-top: 44px;
  }

  .art-media {
    margin-bottom: 16px;
    padding: 16px;
  }

  .art-artist {
    font-size: 12px;
  }

  .art-title {
    font-size: 19px;
  }

  .art-detail {
    font-size: 10px;
    line-height: 1.7;
  }

  .art-price {
    margin-top: 7px;
    font-size: 11px;
  }

  .favorite-button {
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .94);
  }

  .favorite-button svg {
    width: 17px;
    height: 17px;
  }

  .artist-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .artist-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding-top: 22px;
  }

  .artist-card-image {
    aspect-ratio: 4 / 5;
    padding: 16px;
  }

  .artist-card-body h3 {
    font-size: 27px;
  }

  .artist-card-body p {
    font-size: 11px;
  }

  .artist-card-body .text-link {
    gap: 10px;
    margin-top: 12px;
    font-size: 10px;
  }

  .manifesto {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .manifesto-copy h2,
  .manifesto-copy blockquote {
    max-width: 13ch;
    font-size: clamp(44px, 11vw, 64px);
  }

  .manifesto-copy p:not(.eyebrow) {
    margin-top: 24px;
    font-size: 13px;
  }

  .manifesto-image {
    max-height: 520px;
    aspect-ratio: 1 / 1.1;
    padding: 36px;
  }

  .inquiry-panel {
    gap: 26px;
    padding: 32px 26px;
  }

  .inquiry-panel h2 {
    font-size: 34px;
  }

  .inquiry-panel p:not(.eyebrow) {
    font-size: 13px;
  }

  .page-header {
    padding-block: 32px 44px;
  }

  .breadcrumbs {
    margin-bottom: 28px;
    font-size: 9px;
  }

  .page-header .eyebrow {
    margin-bottom: 18px;
  }

  .page-title {
    font-size: clamp(46px, 11vw, 70px);
    line-height: 1.04;
    letter-spacing: -.055em;
  }

  .page-intro {
    margin-top: 22px;
    font-size: 13px;
  }

  .catalog-controls {
    gap: 18px 16px;
    padding-block: 22px;
  }

  .filter-field {
    flex-basis: calc(50% - 8px);
  }

  .filter-field input,
  .filter-field select {
    min-height: 46px;
    font-size: 12px;
  }

  .filter-field label,
  .filter-field > span {
    font-size: 9px;
  }

  .catalog-toolbar,
  .selection-toolbar {
    min-height: 78px;
    padding-block: 16px;
    font-size: 10px;
  }

  .empty-state {
    margin-block: 12px 34px;
    padding: 44px 16px;
  }

  .empty-state h2,
  .empty-state h3 {
    font-size: 27px;
  }

  .empty-state p {
    font-size: 13px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .product-gallery {
    min-height: 0;
    padding: 30px 28px 58px;
  }

  .product-main-image {
    height: clamp(360px, 100vw, 560px);
    max-height: none;
  }

  .zoom-button {
    right: 10px;
    bottom: 10px;
  }

  .product-info {
    padding-top: 0;
  }

  .product-info > .art-artist,
  .product-info > h2 {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .product-title {
    max-width: 16ch;
    font-size: 48px;
  }

  .product-price {
    margin-top: 22px;
    font-size: 17px;
  }

  .product-facts {
    margin-top: 26px;
  }

  .product-facts > div {
    grid-template-columns: minmax(96px, .4fr) minmax(0, 1fr);
    font-size: 12px;
  }

  .product-description {
    font-size: 13px;
  }

  .product-actions {
    margin-top: 26px;
  }

  .artist-profile {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 4px;
  }

  .artist-profile-copy .page-title {
    max-width: 12ch;
    font-size: clamp(48px, 12vw, 70px);
  }

  .artist-profile-image {
    max-height: 520px;
    aspect-ratio: 1 / 1.15;
    padding: 36px;
  }

  .bio-text {
    margin-top: 26px;
    font-size: 13px;
  }

  .editorial-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .editorial-layout > .eyebrow,
  .editorial-layout > aside {
    position: static;
  }

  .prose {
    font-size: 14px;
    line-height: 1.9;
  }

  .prose h2 {
    margin-top: 40px;
    font-size: 29px;
  }

  .prose h3 {
    font-size: 21px;
  }

  .prose blockquote {
    margin-block: 32px;
    padding-left: 20px;
    font-size: 29px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .contact-card {
    padding: 30px 26px;
  }

  .contact-card h2 {
    font-size: 32px;
  }

  .contact-card p:not(.eyebrow) {
    font-size: 13px;
  }

  .selection-toolbar {
    align-items: flex-start;
    gap: 14px;
  }

  .selection-toolbar .button {
    font-size: 10px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
    padding-bottom: 40px;
  }

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

  .footer-brand .brand {
    margin-bottom: 20px;
  }

  .footer-brand > p {
    max-width: 42ch;
    font-size: 11px;
  }

  .footer-links h2,
  .footer-links h3,
  .footer-links .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }

  .footer-links a,
  .footer-links p {
    font-size: 11px;
  }

  .footer-links a {
    min-height: 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 20px 24px;
    font-size: 9px;
  }

  .lightbox {
    padding: 76px 18px 28px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 430px) {
  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: 52px;
  }

  .hero-description {
    max-width: 38ch;
  }

  .hero-art {
    padding-inline: 22px;
  }

  .hero-art-image {
    height: 320px;
  }

  .art-grid,
  .selection-grid,
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .art-grid.is-editorial > .art-card:nth-child(even),
  .art-grid[data-editorial] > .art-card:nth-child(even) {
    margin-top: 0;
  }

  .art-media {
    aspect-ratio: 1 / 1.12;
    padding: 28px;
  }

  .art-artist {
    font-size: 13px;
  }

  .art-title {
    font-size: 22px;
  }

  .art-detail {
    font-size: 11px;
  }

  .art-price {
    font-size: 12px;
  }

  .favorite-button {
    top: 8px;
    right: 8px;
  }

  .artist-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 20px;
  }

  .artist-card-body h3 {
    font-size: 25px;
  }

  .artist-card-body .eyebrow {
    font-size: 8px;
  }

  .artist-card-body p {
    line-height: 1.7;
  }

  .artist-card-image {
    padding: 12px;
  }

  .product-title {
    font-size: 44px;
  }

  .product-gallery {
    padding-inline: 22px;
  }

  .product-main-image {
    height: 360px;
  }
}

@media (max-width: 359px) {
  :root {
    --gutter: 18px;
  }

  .selection-link {
    font-size: 9px;
  }

  .selection-link svg {
    display: none;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-art-image {
    height: 280px;
  }

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

  .artist-card-image {
    max-height: 360px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .favorite-button,
  .product-actions,
  .zoom-button,
  .lightbox,
  .catalog-controls {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .wrap {
    padding-inline: 0;
  }

  .product-info {
    position: static;
  }

  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .art-card {
    break-inside: avoid;
  }
}
