:root {
  --forest: #173b33;
  --forest-deep: #0d2823;
  --ink: #24302d;
  --paper: #f6efe3;
  --paper-light: #fffaf2;
  --apricot: #d77d55;
  --gold: #d5ae55;
  --blue: #9bbcc2;
  --line: rgba(23, 59, 51, 0.22);
  --shadow: 0 22px 65px rgba(20, 42, 36, 0.19);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 9%, rgba(213, 174, 85, 0.18), transparent 25rem),
    var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--paper-light);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.35rem 4vw;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  color: var(--paper-light);
  background: var(--apricot);
  border-radius: 50% 45% 52% 48%;
}
nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.2rem); }
nav a { text-decoration: none; font-weight: 650; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 0.35rem; }
.nav-contact { padding: 0.48rem 0.9rem; color: var(--paper-light); background: var(--forest); border-radius: 999px; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  max-width: 1240px;
  min-height: min(850px, calc(100vh - 85px));
  margin: 0 auto;
  padding: 3.5rem 5vw 6rem;
}
.intro-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 0.85rem;
  color: #8a492f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 {
  margin: 0;
  color: var(--forest-deep);
  font-size: clamp(3.1rem, 7.4vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}
.lede { max-width: 630px; margin: 1.7rem 0 0; font-size: clamp(1.12rem, 1.8vw, 1.35rem); }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: 0.68rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper-light); background: var(--forest); }
.button-primary:hover { background: var(--forest-deep); }
.text-link { font-weight: 750; text-underline-offset: 0.28rem; }

.art-button { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: zoom-in; text-align: left; }
.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 560px);
  transform: rotate(1.2deg);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -1.2rem 1.1rem 1rem -1.1rem;
  z-index: -1;
  background: var(--forest);
  transform: rotate(-2.4deg);
  border-radius: 46% 54% 49% 51% / 1.2rem;
}
.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  box-shadow: var(--shadow);
  border: 0.55rem solid var(--paper-light);
}
.hero-caption {
  position: absolute;
  right: -1.1rem;
  bottom: -1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 13.5rem;
  padding: 0.85rem 1rem;
  color: var(--forest-deep);
  background: var(--paper-light);
  box-shadow: 0 12px 35px rgba(18, 35, 31, 0.18);
  transform: rotate(-2deg);
}
.hero-caption strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.hero-caption small { font-size: 0.76rem; }

.collection { padding: 7rem 5vw 8rem; color: var(--paper-light); background: var(--forest); }
.section-heading, .gallery { max-width: 1240px; margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(2.5rem, 5.6vw, 5.3rem); font-weight: 500; letter-spacing: -0.035em; }
.section-heading .eyebrow { color: #f0bd7f; }
.section-heading > p { max-width: 430px; margin: 0; color: rgba(255, 250, 242, 0.76); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
.art-card { grid-column: span 6; }
.featured-card { grid-column: 2 / span 10; margin-bottom: 2rem; }
.art-card .art-button { overflow: hidden; background: #102b25; }
.art-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 350ms ease; }
.art-card .art-button:hover img { transform: scale(1.018); }
.detail-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.75rem; }
.detail-photo { position: relative; overflow: hidden; background: #102b25; }
.detail-photo img { aspect-ratio: 16 / 9; object-position: center 32%; }
.detail-photo-wide { grid-column: 1 / -1; }
.detail-photo span {
  position: absolute;
  left: 0.55rem;
  bottom: 0.5rem;
  padding: 0.24rem 0.52rem;
  color: var(--forest-deep);
  background: rgba(255, 250, 242, 0.92);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(13, 40, 35, 0.22);
}
.art-info { display: flex; justify-content: space-between; gap: 1.5rem; margin: 1rem 0 1.15rem; }
.art-info h3 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 500; }
.art-info p { margin: 0.18rem 0 0; color: rgba(255, 250, 242, 0.66); font-size: 0.9rem; }
.art-info .price, .art-info .availability { flex: 0 0 auto; color: #f5ca8d; font-weight: 800; }
.button-secondary { border-color: rgba(255,255,255,0.3); color: var(--paper-light); }
.button-secondary:hover { color: var(--forest-deep); background: var(--paper-light); }

.about {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
  max-width: 1120px;
  margin: 0 auto;
  padding: 8rem 5vw;
}
.artist-portrait { align-self: start; margin: 0; }
.artist-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 38%; border-radius: 45% 45% 3% 3% / 25% 25% 2% 2%; }
.artist-portrait figcaption { margin-top: 0.9rem; color: var(--apricot); font-size: 0.9rem; letter-spacing: 0.04em; }
.about-copy { max-width: 710px; }
.about-copy p:not(.eyebrow):not(.signature) { font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.signature { margin: 1rem 0 0; color: var(--apricot); font-family: "Snell Roundhand", "Segoe Script", cursive; font-size: 3.4rem; transform: rotate(-4deg); }

.contact { padding: 7rem 5vw; text-align: center; color: var(--paper-light); background: var(--apricot); }
.contact .eyebrow { color: var(--forest-deep); }
.contact > p:not(.eyebrow) { max-width: 580px; margin: 1.25rem auto; font-size: 1.1rem; }
.button-light { margin-top: 0.5rem; color: var(--paper-light); background: var(--forest-deep); }
.email-link { display: block; width: fit-content; margin: 1rem auto 0; font-weight: 700; text-underline-offset: 0.25rem; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem 5vw; color: rgba(255,250,242,0.7); background: var(--forest-deep); font-size: 0.88rem; }
footer p { margin: 0; }

.lightbox { width: min(92vw, 920px); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 19, 16, 0.91); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 90vh; margin: auto; border: 0.55rem solid var(--paper-light); box-shadow: var(--shadow); }
.lightbox-close { position: fixed; top: 1rem; right: 1.1rem; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: white; background: rgba(13,40,35,0.78); font-size: 2rem; line-height: 1; cursor: pointer; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  nav a:not(.nav-contact) { display: none; }
  .intro { grid-template-columns: 1fr; min-height: auto; padding-top: 2.2rem; }
  .intro-copy { text-align: center; }
  .intro-actions { justify-content: center; }
  h1 { font-size: clamp(3rem, 14vw, 5.3rem); }
  .hero-art { width: min(74vw, 390px); margin-top: 1.5rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .featured-card, .art-card { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; }
  .artist-portrait { width: min(100%, 340px); }
}

@media (max-width: 520px) {
  .site-header { padding-block: 1rem; }
  .brand-mark { width: 1.7rem; }
  .nav-contact { padding: 0.42rem 0.78rem; }
  .intro { padding-bottom: 4.5rem; }
  .hero-caption { right: -0.5rem; min-width: 12rem; }
  .collection, .about, .contact { padding-block: 5rem; }
  .art-info { align-items: start; }
  footer { flex-direction: column; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

#jaxson .portrait-crop img { aspect-ratio: 1 / 1; object-fit: contain; }
#woman-with-flowers > .art-button img { aspect-ratio: auto; height: auto; }

#flower-crown-portrait > .art-button img { aspect-ratio: 3 / 4; object-fit: contain; }

#harvest-sky > .art-button img { aspect-ratio: auto; height: auto; object-fit: contain; }
#harvest-sky .detail-photo img { aspect-ratio: 1 / 1; object-fit: contain; }
#harvest-sky .detail-photo span { font-size: 0.875rem; }
