:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: #27362e;
  background: #f5f2e9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #a8583c; outline-offset: 4px; }

.language-landing { display: grid; min-height: 100vh; place-items: center; padding: 2rem; }
.language-landing-content { width: min(100%, 32rem); text-align: center; }
.language-landing-logo { display: block; width: min(12rem, 60%); height: auto; margin: 0 auto 3rem; mix-blend-mode: multiply; }
.language-landing h1 { margin: 0 0 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 6vw, 3rem); font-weight: 400; }
.language-landing-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.language-landing-links a { color: #27362e; text-underline-offset: .25em; }
.language-landing-note { margin: 1.5rem 0 0; color: #747569; font-size: .85rem; }

.site-header {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  width: min(100% - 3rem, 90rem);
  margin-inline: auto;
  padding: 1.35rem 0 1.1rem;
  border-bottom: 1px solid #d8d3c8;
}

.brand { display: block; flex: 0 0 7rem; }
.brand img,
.footer-brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.header-content { min-width: 0; flex: 1; }
.header-topline,
.header-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-topline { padding-bottom: 1rem; }
.artist-name { margin: 0; color: #6d7166; font-size: .78rem; letter-spacing: .04em; }
.artist-name span { color: #929184; }
.social-links,
.main-navigation,
.language-switch { display: flex; align-items: center; gap: clamp(.7rem, 1.6vw, 1.5rem); }
.social-links a,
.main-navigation a,
.language-switch a { text-decoration: none; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; color: #747569; }
.social-links a:hover { color: #a8583c; }
.social-links svg { display: block; width: 100%; height: 100%; }
.header-bottomline { padding-top: .85rem; border-top: 1px solid #e2ded4; }
.main-navigation { min-width: 0; flex: 1; flex-wrap: wrap; }
.main-navigation a { font-family: Georgia, "Times New Roman", serif; font-size: .92rem; }
.language-switch { flex: 0 0 auto; gap: .7rem; white-space: nowrap; }
.language-switch a { color: #27362e; font-size: .75rem; text-underline-offset: .2em; }
.language-switch a[aria-current="page"] { color: #a8583c; font-weight: 700; }

.hero,
.work-section,
.exhibitions,
.site-footer { width: min(100% - 3rem, 90rem); margin-inline: auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(18rem, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(4rem, 9vw, 9rem) 0 clamp(5rem, 10vw, 10rem);
}
.hero-copy { max-width: 33rem; }
.eyebrow { margin: 0 0 1rem; color: #a8583c; font-size: .7rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .92;
}
.hero-artist { margin: 1.4rem 0 2rem; color: #6d7166; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.hero-description { max-width: 27rem; margin: 0; color: #686b60; font-size: 1rem; }
.hero-art { position: relative; margin: 0; background: #e7e2d8; }
.hero-art::after { position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: -1; border: 1px solid #c9b9a6; content: ""; }
.hero-art img { display: block; width: 100%; max-height: 42rem; aspect-ratio: 1.14; object-fit: cover; object-position: center 48%; }

.work-section { padding-bottom: clamp(5rem, 10vw, 10rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2,
.exhibitions h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.section-heading p { max-width: 28rem; margin: 0; color: #747569; font-size: .9rem; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.8rem); }
.work-card { min-width: 0; }
.work-card-link { display: block; text-decoration: none; }
.work-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.work-card figure { overflow: hidden; margin: 0; background: #e4dfd4; }
.work-card:hover img { transform: scale(1.035); }
.work-card h3 { margin: 1rem 0 .4rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 1.6vw, 1.55rem); font-weight: 400; }
.work-card p { margin: 0; color: #747569; font-size: .8rem; }
.work-card-link:hover h3 { color: #a8583c; }

.detail-page { width: min(100% - 3rem, 90rem); margin-inline: auto; }
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 6rem);
}
.detail-copy { max-width: 43rem; }
.detail-copy h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .98;
}
.detail-prose { color: #686b60; font-size: .94rem; }
.detail-prose p { margin: 0 0 1rem; }
.detail-prose .detail-lead { color: #27362e; font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; line-height: 1.6; }
.detail-art { margin: 0; background: #e7e2d8; }
.detail-art img {
  display: block;
  width: 100%;
  max-height: 48rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
  width: min(100%, 72rem);
  margin: 0 auto clamp(5rem, 10vw, 9rem);
}
.detail-gallery figure { overflow: hidden; margin: 0; background: #e4dfd4; }
.detail-gallery img { display: block; width: 100%; aspect-ratio: 1.15; object-fit: cover; }

.exhibitions {
  display: grid;
  grid-template-columns: .75fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: clamp(5rem, 10vw, 10rem);
  padding: clamp(2rem, 5vw, 5rem);
  background: #e9e6dc;
}
.exhibitions h2 { max-width: 23rem; }
.exhibitions-copy { max-width: 34rem; }
.exhibitions-copy p:not(.eyebrow) { margin: 0 0 1.5rem; color: #686b60; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; color: #a8583c; font-size: .83rem; text-decoration-thickness: 1px; text-underline-offset: .3em; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 2rem;
  width: auto;
  margin: 0;
  padding: clamp(3rem, 7vw, 6rem) max(1.5rem, calc((100vw - 90rem) / 2)) 1.5rem;
  color: #fff;
  background-color: #27362e;
  background-image: linear-gradient(90deg, rgb(20 28 23 / 78%), rgb(20 28 23 / 48%)), url("/assets/footer.jpg");
  background-position: center 55%;
  background-size: cover;
}
.footer-brand img { width: 7rem; margin-bottom: .8rem; mix-blend-mode: normal; }
.footer-brand p,
.copyright { margin: 0; color: rgb(255 255 255 / 78%); font-size: .72rem; }
.footer-contact { display: grid; justify-items: start; gap: .35rem; }
.footer-contact .eyebrow { margin-bottom: .3rem; color: #f0c5a6; }
.footer-contact address,
.footer-contact a { color: rgb(255 255 255 / 88%); font-size: .8rem; font-style: normal; }
.back-to-top { align-self: start; color: #fff; font-size: .75rem; text-decoration: none; text-underline-offset: .25em; }
.copyright { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 35%); }

@media (max-width: 900px) {
  .site-header { gap: 1.5rem; }
  .brand { flex-basis: 5.5rem; }
  .header-topline { align-items: start; }
  .artist-name span { display: block; }
  .social-links { flex-wrap: wrap; justify-content: end; }
  .main-navigation { flex-wrap: wrap; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .work-section,
  .exhibitions,
  .detail-page { width: min(100% - 2rem, 90rem); }
  .site-header { align-items: start; gap: 1rem; padding: 1rem 0; }
  .brand { flex-basis: 4rem; }
  .header-topline,
  .header-bottomline { align-items: start; flex-direction: column; gap: .75rem; }
  .header-topline { padding-bottom: .8rem; }
  .header-bottomline { padding-top: .75rem; }
  .social-links { justify-content: start; gap: .35rem .8rem; }
  .main-navigation { gap: .55rem 1rem; }
  .main-navigation a { font-size: .82rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 0 5rem; }
  .hero h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .hero-art { margin-right: .5rem; }
  .hero-art img { aspect-ratio: 1.15; }
  .section-heading { align-items: start; flex-direction: column; gap: .8rem; }
  .work-grid { gap: 2rem .8rem; }
  .work-card h3 { font-size: 1.15rem; }
  .work-card p { font-size: .75rem; }
  .exhibitions { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 5rem; padding: 2rem 1.4rem; }
  .site-footer { grid-template-columns: 1fr auto; gap: 2rem 1rem; }
  .footer-brand img { width: 5.5rem; }
  .footer-contact { grid-column: 1 / -1; grid-row: 1; }
  .back-to-top { grid-column: 2; grid-row: 2; }
  .copyright { grid-column: 1 / -1; }
  .detail-hero { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 0 3rem; }
  .detail-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .detail-gallery { gap: .8rem; margin-bottom: 5rem; }
}
