/* Works medium selector — deliberately loaded last to stay readable. */
:root {
  --accent: #6f244f;
}

.medium-page > .medium-intro,
.about-page > .about-heading {
  grid-template-columns: 1fr;
}

/* The landing page stays entirely ink-on-paper; the accent is for details elsewhere. */
.home-page,
.home-page * {
  color: #202020 !important;
}

.artist-statement .statement-copy,
.artist-statement .statement-copy * {
  color: #202020 !important;
}

.artist-statement .statement-link {
  background: transparent !important;
  border: 1px solid var(--accent) !important;
}

.home-page.active + .artist-statement {
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(38px, 6vw, 96px);
  text-align: left;
}

.artist-statement .statement-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s ease .08s, transform .75s cubic-bezier(.2, .72, .25, 1) .08s;
}

.artist-statement.is-visible .statement-photo {
  opacity: 1;
  transform: translateY(0);
}

.artist-statement .statement-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.artist-statement .statement-copy {
  margin: 0;
}

@media (max-width: 760px) {
  .home-page .hero-copy h1.home-title {
    font-size: 16vw;
  }

  .home-page .home-title span:last-child {
    padding-left: 0;
  }

  .medium-page .medium-intro h2 {
    font-size: clamp(40px, 12vw, 48px);
    line-height: .85;
    letter-spacing: -.06em;
  }

  .site-header {
    position: relative;
    z-index: 50;
  }

  .site-header .main-nav {
    z-index: 51;
  }

  .home-page.active + .artist-statement {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 38px;
    text-align: left;
  }

  .home-page .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    display: grid;
    place-items: center;
    align-self: center;
    flex: none;
    width: min(82vw, 320px);
    height: min(48vh, 390px);
    min-height: 0;
    margin-inline: auto;
    aspect-ratio: auto;
    background: transparent;
    overflow: visible;
    transform: none !important;
  }

  .home-page .hero-art img {
    display: block;
    width: auto;
    height: auto !important;
    max-width: 100%;
    max-height: min(48vh, 390px);
    object-fit: contain;
  }
}

.home-page .hero-art,
.home-page .hero-art::after {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.home-page .hero-art {
  width: min(38vw, 560px);
  height: min(62vh, 680px);
  background: transparent !important;
}

.home-page .hero-art::after {
  content: none !important;
  display: none !important;
}

.home-page .hero-art img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center;
}

.medium-page .medium-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.medium-page .medium-tabs a,
.medium-page .medium-tabs a:last-child {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 13px !important;
  color: #202020 !important;
  background: #ffffff !important;
  border: 1px solid #202020 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 500 10px var(--mono) !important;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transform: none !important;
}

.medium-page .medium-tabs a:hover,
.medium-page .medium-tabs a:focus-visible,
.medium-page .medium-tabs a.active {
  color: #ffffff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  outline: none;
}

@media (max-width: 560px) {
  .medium-page .medium-tabs {
    gap: 6px;
    margin-bottom: 24px;
  }

  .medium-page .medium-tabs a,
  .medium-page .medium-tabs a:last-child {
    padding: 9px 10px !important;
    font-size: 9px !important;
  }
}

/* Keep the primary navigation available as visitors move through the portfolio. */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: var(--paper);
}

body {
  padding-top: 78px;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-instagram svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-instagram .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.artist-statement .statement-copy h2 {
  font-size: clamp(44px, 5.6vw, 82px);
}

@media (max-width: 760px) {
  body {
    padding-top: 76px;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding-inline: 14px;
  }

  .site-header .menu-toggle {
    display: none;
  }

  .site-header .main-nav {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0;
    transform: none;
    flex-direction: row;
    justify-content: flex-end;
    gap: clamp(10px, 3.4vw, 16px);
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-header .main-nav a {
    width: auto;
    padding: 5px 0;
    font-size: clamp(9px, 2.8vw, 11px);
    white-space: nowrap;
  }

  .artist-statement .statement-copy h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .home-page .hero-art {
    width: min(92vw, 390px);
    height: min(56vh, 470px);
  }

  .home-page .hero-art img {
    max-height: min(56vh, 470px);
  }

}
