:root {
  color-scheme: light;
  --ink: #292b24;
  --muted: #77786d;
  --paper: #f8f7f2;
  --white: #fffefa;
  --sage: #727c61;
  --sage-dark: #52604b;
  --line: #e8e6dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 7.1%;
  border-bottom: 1px solid rgb(41 43 36 / 7%);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  margin-left: 8%;
  color: #55574e;
  font-size: 12px;
}

.main-nav a,
.site-footer > a:last-child {
  transition: color 180ms ease;
}

.main-nav a:hover,
.site-footer > a:last-child:hover {
  color: var(--sage);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border: 1px solid #d8d7cd;
  border-radius: 2px;
  font-size: 11px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.header-cta:hover {
  border-color: var(--sage);
  background: #efefe7;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 7%;
  padding: 67px 10.5% 86px;
}

.hero-copy {
  max-width: 480px;
  padding: 0 0 10px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a3a67a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  max-width: 480px;
  margin-bottom: 23px;
  font-size: clamp(48px, 5.4vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

h1 em,
h2 em {
  color: var(--sage);
  font-weight: 400;
}

.hero-description {
  max-width: 390px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 19px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--sage-dark);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 45px;
  color: #89897d;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.note-line {
  width: 30px;
  height: 1px;
  background: #a5a692;
}

.hero-art {
  position: relative;
  width: 100%;
  height: clamp(380px, 40vw, 515px);
  background: #e7e4d8;
}

.hero-art::before {
  position: absolute;
  z-index: -1;
  top: 22px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  border: 1px solid #d9d8ca;
  content: "";
}

.hero-art > img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide {
  opacity: 1;
  transition: opacity 350ms ease;
}

.hero-slide.is-changing {
  opacity: 0.45;
}

.art-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  background: linear-gradient(transparent, rgb(25 25 20 / 55%));
  color: white;
  font-size: 10px;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 48px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-carousel-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: rgb(35 36 30 / 30%);
  color: white;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.hero-carousel-arrow:hover {
  background: rgb(35 36 30 / 75%);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-carousel-dot[aria-pressed="true"] {
  background: white;
}

.hero-stamp {
  position: absolute;
  top: 30px;
  right: -26px;
  display: grid;
  width: 83px;
  height: 83px;
  place-content: center;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.15;
  text-align: center;
  transform: rotate(8deg);
}

.hero-index {
  position: absolute;
  bottom: 31px;
  left: 7.1%;
  color: #a5a599;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.section-wrap {
  padding-right: 10.5%;
  padding-left: 10.5%;
}

.gallery {
  padding-top: 112px;
  padding-bottom: 112px;
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.section-heading .eyebrow,
.artist-copy .eyebrow {
  margin-bottom: 13px;
}

.section-heading h2,
.artist-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.4vw, 57px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-intro {
  max-width: 300px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 37px 0 28px;
}

.filter-chip {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #e5e4db;
  border-radius: 99px;
  background: transparent;
  color: #66675e;
  cursor: pointer;
  font-size: 10px;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.filter-chip span {
  color: #bec0a9;
  font-size: 9px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 43px 23px;
}

.art-card {
  min-width: 0;
}

.art-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 0.91;
  background: #e9e7dd;
}

.art-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.art-image:hover img {
  transform: scale(1.045);
}

.image-action {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.art-image:hover .image-action,
.art-image:focus-visible .image-action {
  opacity: 1;
  transform: translateY(0);
}

.art-details {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
}

.art-category {
  margin-bottom: 5px;
  color: var(--sage);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.art-details h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.art-price {
  flex: 0 0 auto;
  margin-bottom: 1px;
  font-size: 12px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 0;
  color: #7f8368;
  font-size: 9px;
}

.availability::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ba17c;
  content: "";
}

.availability.is-sold {
  color: #96968d;
}

.availability.is-sold::before {
  background: #b9b7ad;
}

.gallery-footnote {
  margin: 46px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

.artist-section {
  display: grid;
  min-height: 660px;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 10%;
  padding: 95px 13%;
}

.artist-photo {
  position: relative;
  height: 455px;
  background: #e7e4d8;
}

.artist-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 12px 15px;
  background: var(--white);
  color: #68695f;
  font-size: 9px;
}

.artist-copy {
  position: relative;
  max-width: 440px;
  padding: 20px 0 38px;
}

.artist-copy h2 {
  margin-bottom: 24px;
}

.artist-copy > p:not(.eyebrow) {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #a9aa9c;
  font-size: 11px;
  font-weight: 600;
}

.text-link span {
  color: var(--sage);
}

.artist-signature {
  position: absolute;
  right: 0;
  bottom: -5px;
  color: var(--sage);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  transform: rotate(-8deg);
}

.contact-section {
  padding-top: 44px;
  padding-bottom: 88px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 8%;
  overflow: hidden;
  padding: 54px 8%;
  background: var(--sage-dark);
  color: white;
}

.contact-copy {
  position: relative;
  z-index: 1;
  padding-top: 10px;
}

.contact-copy .eyebrow {
  color: #d8dbc8;
}

.contact-copy h2 {
  max-width: 430px;
  margin-bottom: 13px;
  font-size: clamp(34px, 4vw, 49px);
}

.contact-copy h2 em {
  color: #d0d4bc;
}

.contact-copy > p:last-child {
  max-width: 390px;
  margin-bottom: 0;
  color: #e0e2d8;
  font-size: 11px;
  line-height: 1.8;
}

.button-light {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: #e4e6d8;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 17px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: #eef0e7;
  font-size: 10px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 27%);
  border-radius: 0;
  background: rgb(255 255 255 / 7%);
  color: white;
  font: inherit;
  font-size: 12px;
}

.form-field select {
  color-scheme: dark;
}

.form-field textarea {
  min-height: 105px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #d4d8ca;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #e5e8d9;
  outline: 2px solid rgb(255 255 255 / 35%);
  outline-offset: 2px;
}

.form-submit {
  width: fit-content;
  min-height: 44px;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: -8px 0 0;
  color: #d4d8ca;
  font-size: 9px;
  line-height: 1.6;
}

.contact-decoration {
  position: absolute;
  right: 9%;
  bottom: -100px;
  color: rgb(255 255 255 / 6%);
  font-family: var(--serif);
  font-size: 230px;
  font-style: italic;
  line-height: 1;
}

.site-footer {
  display: flex;
  min-height: 91px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 7.1%;
  border-top: 1px solid var(--line);
}

.site-footer .brand-mark {
  width: 29px;
  height: 29px;
  font-size: 10px;
}

.site-footer .brand-name {
  font-size: 11px;
}

.site-footer p,
.site-footer > a:last-child {
  margin: 0;
  color: #828278;
  font-size: 9px;
}

:focus-visible {
  outline: 2px solid #788365;
  outline-offset: 4px;
}

.app-error {
  position: fixed;
  z-index: 5;
  top: 12px;
  right: 12px;
  left: 12px;
  margin: 0;
  padding: 14px 18px;
  background: #8d3028;
  color: white;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    padding-right: 5%;
    padding-left: 5%;
  }

  .hero {
    min-height: 560px;
    gap: 5%;
    padding-right: 7%;
    padding-left: 7%;
  }

  .hero h1 {
    font-size: clamp(43px, 6vw, 60px);
  }

  .section-wrap {
    padding-right: 7%;
    padding-left: 7%;
  }

  .artist-section {
    gap: 7%;
    padding-right: 8%;
    padding-left: 8%;
  }

  .artist-photo {
    height: 390px;
  }

  .art-grid {
    gap: 35px 17px;
  }

  .art-details h3 {
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    min-height: 70px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-name {
    font-size: 11px;
  }

  .main-nav {
    gap: 16px;
    margin: 0;
    font-size: 10px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: unset;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 70px 8% 75px;
  }

  .hero-copy {
    max-width: 530px;
  }

  .hero h1 {
    max-width: 460px;
    font-size: clamp(48px, 12vw, 70px);
  }

  .hero-note {
    margin-top: 28px;
  }

  .hero-art {
    width: calc(100% - 12px);
    height: min(112vw, 490px);
    margin-right: 12px;
  }

  .hero-stamp {
    top: 19px;
    right: -18px;
    width: 70px;
    height: 70px;
    font-size: 11px;
  }

  .hero-index {
    bottom: 26px;
    left: 8%;
  }

  .section-wrap {
    padding-right: 7%;
    padding-left: 7%;
  }

  .gallery {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    display: block;
  }

  .section-intro {
    max-width: 360px;
    margin-top: 15px;
  }

  .filters {
    gap: 7px;
    margin-top: 28px;
  }

  .filter-chip {
    min-height: 33px;
    padding: 0 11px;
    font-size: 9px;
  }

  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 14px;
  }

  .art-image {
    aspect-ratio: 0.82;
  }

  .art-details {
    align-items: start;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
  }

  .art-details h3 {
    font-size: 14px;
  }

  .art-price {
    font-size: 11px;
  }

  .availability {
    margin-top: 7px;
  }

  .gallery-footnote {
    margin-top: 34px;
    font-size: 12px;
    line-height: 1.7;
  }

  .artist-section {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 74px 8%;
  }

  .artist-photo {
    height: min(105vw, 430px);
  }

  .artist-copy {
    max-width: 520px;
    padding-bottom: 45px;
  }

  .contact-section {
    padding-top: 24px;
    padding-bottom: 62px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 38px 8%;
  }

  .contact-copy {
    padding-top: 0;
  }

  .contact-copy h2 {
    font-size: 39px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .contact-decoration {
    right: 2%;
    bottom: -41px;
    font-size: 160px;
  }

  .site-footer {
    min-height: 80px;
    flex-wrap: wrap;
    padding: 18px 7%;
  }

  .site-footer p {
    order: 1;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .main-nav {
    gap: 11px;
  }

  .main-nav a {
    font-size: 9px;
  }

  .brand {
    gap: 7px;
  }

  .brand-name {
    font-size: 10px;
  }

  .art-grid {
    gap: 25px 11px;
  }

  .art-details h3 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
