:root {
  color-scheme: light;
  --ink: #1c211f;
  --muted: #657068;
  --paper: #fbfaf6;
  --wash: #f0ece3;
  --pine: #20362c;
  --pine-2: #334f3c;
  --brick: #8f3f2f;
  --ochre: #c3934a;
  --line: #ddd5c7;
  --white: #fff;
  --shadow: 0 18px 50px rgba(26, 28, 24, .16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: .7rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding: .8rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(251, 250, 246, .88);
  border-bottom: 1px solid rgba(221, 213, 199, .8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.brand img {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid var(--ochre);
  background: var(--wash);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
}

.brand small {
  color: var(--muted);
  font-size: .8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.site-nav a {
  padding: .58rem .86rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--wash);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero picture,
.hero picture::after {
  position: absolute;
  inset: 0;
}

.hero picture::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 21, 18, .82), rgba(18, 21, 18, .35) 52%, rgba(18, 21, 18, .1)),
    linear-gradient(0deg, rgba(18, 21, 18, .72), rgba(18, 21, 18, 0) 42%);
}

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

.hero-panel {
  position: relative;
  max-width: 760px;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 .75rem;
  color: var(--ochre);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.06;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 680px;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .82rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 900;
}

.button.primary {
  background: var(--ochre);
  color: #17130d;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
}

.band,
.gallery-section,
.artist-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  background: var(--wash);
}

.intro-copy {
  max-width: 800px;
}

.intro-copy p:not(.section-kicker),
.section-heading p,
.two-column p,
.sale-section p,
.teaching-grid p,
.site-footer p {
  color: var(--muted);
}

.portrait {
  margin: 0;
  position: relative;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .5rem .7rem;
  border-radius: var(--radius);
  background: rgba(28, 33, 31, .82);
  color: var(--white);
  font-weight: 800;
  font-size: .9rem;
}

.gallery-section {
  background: var(--paper);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  padding: .56rem .9rem;
  font-weight: 900;
  cursor: pointer;
}

.filter.active,
.filter:hover,
.filter:focus-visible {
  background: var(--pine);
  color: var(--white);
  border-color: var(--pine);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.art-card {
  display: grid;
  align-content: start;
  gap: .48rem;
  min-width: 0;
}

.art-card[hidden] {
  display: none;
}

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

.art-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--wash);
  cursor: zoom-in;
}

.art-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .25s ease;
}

.art-button:hover img,
.art-button:focus-visible img {
  transform: scale(1.035);
}

.art-card h3 {
  padding-top: .2rem;
  font-size: 1.05rem;
}

.art-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.sale-section {
  background: var(--pine);
  color: var(--white);
}

.sale-section .section-kicker,
.sale-section p {
  color: rgba(255, 255, 255, .82);
}

.sale-list {
  display: grid;
  gap: .85rem;
}

.sale-list p {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.artist-section {
  background: var(--paper);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  max-width: 1100px;
}

.two-column p {
  margin: 0;
  font-size: 1.08rem;
}

.teaching-section {
  grid-template-columns: 1fr;
  background: #e8e0d2;
}

.teaching-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.teaching-grid div {
  min-height: 168px;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.teaching-grid p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--white);
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-brand small,
.site-footer p {
  color: rgba(255, 255, 255, .68);
}

.site-footer p {
  max-width: 540px;
  margin: 0;
}

.lightbox {
  width: min(94vw, 1100px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #111;
  color: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .82);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #111;
}

.close-lightbox {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.lightbox-caption span {
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .band,
  .two-column,
  .teaching-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    border-radius: var(--radius);
  }

  .hero {
    min-height: 780px;
  }

  h1 {
    font-size: 3.3rem;
  }

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

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

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

@media (max-width: 470px) {
  .brand strong {
    font-size: .95rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .gallery-grid {
    gap: .75rem;
  }

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