:root {
  color-scheme: light;
  --color-ink: #161616;
  --color-muted: #666666;
  --color-copy: #999999;
  --color-paper: #ffffff;
  --color-border: #eeeeee;
  --color-surface: #f1effd;
  --color-photo-placeholder: #a1a1a1;
  --color-blue: #6359e9;
  --color-orange: #f47b1a;
  --color-green: #42d779;
  --color-purple: #ac58df;
  --font-body: Arial, Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --color-ink: #f3f3f3;
    --color-muted: #bdbdbd;
    --color-copy: #c2c2c2;
    --color-paper: #171717;
    --color-border: #353535;
    --color-surface: #252332;
    --color-photo-placeholder: #c2c2c2;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-ink: #f3f3f3;
  --color-muted: #bdbdbd;
  --color-copy: #c2c2c2;
  --color-paper: #171717;
  --color-border: #353535;
  --color-surface: #252332;
  --color-photo-placeholder: #c2c2c2;
}

:root[data-theme="light"] {
  color-scheme: light;
  --color-ink: #161616;
  --color-muted: #666666;
  --color-copy: #999999;
  --color-paper: #ffffff;
  --color-border: #eeeeee;
  --color-surface: #f1effd;
  --color-photo-placeholder: #a1a1a1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  margin: 0;
  transition: background-color 180ms ease, color 180ms ease;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 90rem;
  padding: 2.75rem 3.5rem 0;
  position: relative;
}

.color-dots {
  display: flex;
  gap: 0.45rem;
  justify-self: start;
}

.dot {
  border-radius: 50%;
  display: block;
  height: 1.55rem;
  width: 1.55rem;
}

.dot-orange {
  background: var(--color-orange);
}

.dot-blue {
  background: var(--color-blue);
}

.dot-green {
  background: var(--color-green);
}

.dot-purple {
  background: var(--color-purple);
}

.brand {
  font-size: 2.25rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-self: end;
}

.social-links a {
  align-items: center;
  display: inline-flex;
  height: 2rem;
  text-decoration: none;
  width: 2rem;
}

.social-links img {
  display: block;
  height: 100%;
  width: 100%;
}

.social-instagram {
  color: var(--color-blue);
}

.social-facebook {
  color: var(--color-orange);
  font-family: Arial, sans-serif;
}

.main-navigation {
  display: flex;
  gap: clamp(2rem, 8vw, 8rem);
  grid-column: 1 / -1;
  justify-content: center;
  margin: 4rem 0 5.5rem;
}

.main-navigation a {
  color: var(--color-muted);
  font-size: 1.65rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.theme-toggle {
  background: transparent;
  border: 0;
  color: var(--color-muted);
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: color 180ms ease;
}

.theme-toggle:hover {
  color: var(--color-blue);
}

.main-navigation a:hover,
.site-footer a:hover {
  color: var(--color-blue);
}

.menu-toggle {
  background: none;
  border: 1px solid var(--color-ink);
  display: none;
  font: inherit;
  padding: 0.5rem 0.75rem;
}

.gallery-section {
  display: grid;
  gap: clamp(2rem, 3.5vw, 4rem);
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 96rem;
  padding: 0 clamp(2rem, 3.5vw, 3.5rem) 7rem;
}

.art-card {
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  position: relative;
  transition: transform 200ms ease;
}

.art-card:hover {
  transform: translateY(-0.4rem);
}

.art-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.art-card:hover img {
  transform: scale(1.03);
}

.lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 3rem;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  visibility: hidden;
  z-index: 10;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-image {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.lightbox-close {
  background: none;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-size: 3rem;
  line-height: 1;
  padding: 0.25rem 0.75rem;
  position: absolute;
  right: 1.5rem;
  top: 1rem;
}

.art-number {
  color: transparent;
  font-size: 0.8rem;
  left: 1rem;
  position: absolute;
  top: 1rem;
}

/* These color fields make the empty gallery feel complete before real artwork is added. */
.art-one {
  background: radial-gradient(ellipse at 48% 58%, #151515 0 28%, transparent 29%),
    linear-gradient(135deg, #030303, #25252b);
}

.art-two {
  background: radial-gradient(ellipse at 50% 54%, #cb5e6f 0 13%, transparent 14%),
    #edf3fc;
}

.art-three {
  background: radial-gradient(ellipse at 50% 50%, #101819 0 25%, transparent 26%),
    #020202;
}

.art-four {
  background: radial-gradient(ellipse at 50% 53%, #88839e 0 14%, transparent 15%),
    #eeecfb;
}

.art-five {
  background: radial-gradient(ellipse at 50% 62%, #c41d52 0 25%, transparent 26%),
    linear-gradient(150deg, #080808, #26101b);
}

.art-six {
  background: radial-gradient(ellipse at 50% 53%, #7186c8 0 18%, transparent 19%),
    #f7f6f7;
}

.art-seven {
  background: repeating-linear-gradient(45deg, #101419 0 0.3rem, #25323a 0.3rem 0.5rem);
}

.art-eight {
  background: radial-gradient(ellipse at 52% 52%, #df3654 0 15%, transparent 16%),
    #f0b8c9;
}

.art-nine {
  background: radial-gradient(ellipse at 50% 48%, #d91d94 0 22%, transparent 23%),
    linear-gradient(140deg, #021b1d, #101a2c);
}

.info-section {
  margin: 0 auto;
  max-width: 55rem;
  padding: 7rem 3rem;
  text-align: center;
}

.about-section {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(16rem, 1fr) minmax(18rem, 1fr);
  margin: 0 auto;
  max-width: 96rem;
  padding: 0 clamp(2rem, 3.5vw, 3.5rem) 8rem;
}

.about-photo {
  aspect-ratio: 1 / 1.1;
  background: linear-gradient(145deg, var(--color-border), var(--color-paper));
  overflow: hidden;
  position: relative;
}

.about-photo img {
  display: block;
  filter: grayscale(100%);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-placeholder-text {
  color: var(--color-photo-placeholder);
  font-size: 0.8rem;
  left: 50%;
  letter-spacing: 0.12em;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.about-photo:not(.photo-placeholder) .photo-placeholder-text {
  display: none;
}

.about-copy {
  color: var(--color-copy);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.22em;
  line-height: 1.55;
  padding-top: 1.5rem;
}

.about-copy p {
  margin: 0 0 1.8rem;
}

.about-signature {
  display: block;
  height: auto;
  margin: 0.5rem 0 0 auto;
  max-width: min(12rem, 65%);
  width: 100%;
}

.about-title {
  color: var(--color-green);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: 0.25em;
  margin-bottom: 1.8rem !important;
}

.about-signature {
  transition: filter 180ms ease;
}

:root[data-theme="dark"] .about-signature {
  filter: invert(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .about-signature {
    filter: invert(1);
  }
}

.info-section-colored {
  background: var(--color-surface);
  max-width: none;
}

.section-label {
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-weight: 400;
  line-height: 1.1;
  margin: 0 auto 1.5rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.info-section p:not(.section-label) {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 38rem;
}

.shop-link {
  color: var(--color-orange);
  display: inline-block;
  font-size: 1.2rem;
  margin-top: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  padding: 3.5rem clamp(2rem, 3.5vw, 3.5rem) 1.5rem;
}

.footer-main,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 96rem;
}

.footer-main {
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  max-width: 20rem;
}

.footer-logo {
  color: var(--color-ink);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer-brand p {
  line-height: 1.6;
}

.footer-column {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column h2 {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.footer-column a,
.footer-bottom a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--color-border);
  gap: 1rem;
  padding-top: 1.25rem;
}

@media (max-width: 700px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem;
  }

  .brand {
    font-size: 1.6rem;
    order: 1;
  }

  .color-dots {
    order: 0;
  }

  .social-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .main-navigation {
    align-items: center;
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 1rem;
    width: 100%;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    font-size: 1.2rem;
  }

  .gallery-section {
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem 4rem;
  }

  .gallery-section .art-card:last-child {
    grid-column: span 2;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }

  .info-section {
    padding: 5rem 1.5rem;
  }

  .about-section {
    display: block;
    padding: 0 1.5rem 5rem;
  }

  .about-photo {
    margin-bottom: 2.5rem;
  }

  .about-copy {
    font-size: 1rem;
    letter-spacing: 0.14em;
    padding-top: 0;
  }

  .site-footer {
    font-size: 0.9rem;
    padding: 2.5rem 1.5rem 1.25rem;
  }

  .footer-main {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
