* {
  box-sizing: border-box;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --soft: #f5f5f3;
  --grey: #707070;
  --line: #ddddda;
  --max-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.artist-name {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-menu {
  position: fixed;
  inset: 72px 0 auto 0;
  display: none;
  flex-direction: column;
  padding: 14px 20px 26px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.main-menu.open {
  display: flex;
}

.main-menu a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 1rem;
}

.main-menu a:last-child {
  border-bottom: 0;
}

.hero {
  max-width: 1480px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  min-height: 48vh;
  max-height: 72vh;
  object-fit: cover;
  background: var(--soft);
}

.section,
.inner-page {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.about {
  padding: 56px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--grey);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 9vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.about-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: #333333;
  font-size: 1rem;
}

.commission-note {
  padding-top: 22px;
}

.commission-note p {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  line-height: 1.35;
}

.news-triggers {
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-trigger {
  display: block;
  padding: 11px 0;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.news-trigger:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.newsletter {
  padding: 8px 0 64px;
  scroll-margin-top: 90px;
}

.newsletter > h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 7vw, 3.4rem);
}

.newsletter-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.newsletter-item:last-child {
  border-bottom: 1px solid var(--line);
}

.newsletter-item h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.newsletter-item p {
  max-width: 760px;
  margin-bottom: 0;
  color: #333333;
}

.bottom-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 44px;
}

.bottom-contact p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.text-link {
  text-underline-offset: 5px;
}

.page-directors {
  display: grid;
  gap: 16px;
  padding-bottom: 64px;
}

.director-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.director-card:nth-child(2) {
  background: var(--soft);
  color: var(--black);
  border: 1px solid var(--line);
}

.director-label {
  display: block;
  margin-bottom: 48px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.director-card strong {
  display: block;
  max-width: 80%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 8vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.director-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  opacity: 0.9;
}

.director-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 0.84rem;
}

.site-footer p {
  margin-bottom: 0;
}

.inner-page {
  min-height: calc(100vh - 160px);
  padding-top: 56px;
  padding-bottom: 64px;
}

.page-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.page-heading p:last-child {
  color: var(--grey);
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-button {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 0.85rem;
}

.filter-button.active,
.filter-button:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.painting-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.painting-image-wrap {
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--soft);
}

.painting-image {
  height: 100%;
  object-fit: cover;
}

.painting-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.painting-title {
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.painting-category,
.painting-price,
.painting-status {
  margin-bottom: 0;
  color: var(--grey);
  font-size: 0.86rem;
}

.painting-actions {
  margin-top: 14px;
}

.primary-button {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
}

.primary-button:hover {
  background: var(--white);
  color: var(--black);
}

.empty-state {
  padding: 30px 0;
  color: var(--grey);
}

.contact-page {
  max-width: 860px;
}

.contact-heading {
  margin-bottom: 44px;
}

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

.contact-row {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-label {
  margin-bottom: 14px;
  color: var(--grey);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-email {
  display: inline-block;
  font-size: 1rem;
  text-underline-offset: 5px;
}

@media (min-width: 720px) {
  .site-header {
    min-height: 82px;
    padding-inline: 34px;
  }

  .main-menu {
    inset: 82px 0 auto 0;
    padding-inline: 34px;
  }

  .section,
  .inner-page {
    width: min(calc(100% - 68px), var(--max-width));
  }

  .about {
    padding-top: 84px;
    padding-bottom: 70px;
  }

  .page-directors {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-bottom: 90px;
  }

  .director-card {
    min-height: 270px;
    padding: 34px;
  }

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

  .site-footer {
    padding-inline: 34px;
  }
}

@media (min-width: 1050px) {
  .hero-image {
    min-height: 62vh;
  }

  .about-copy {
    font-size: 1.08rem;
  }

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