.fine-art-welcome {
  --welcome-copper: #e6a780;
  width: min(calc(100% - 2.5rem), 1100px);
  max-width: none;
  max-height: calc(100dvh - 2.5rem);
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #b98263;
  border-radius: .7rem;
  color: #fbefe1;
  background: #2b1e19;
  box-shadow: 0 20px 65px #0f0907a6;
}

.fine-art-welcome::backdrop { background: rgb(18 12 9 / 48%); }
html:has(.fine-art-welcome[open]) { overflow: hidden; }

.fine-art-welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: center;
}

.fine-art-welcome-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.fine-art-welcome-copy {
  min-width: 0;
  padding: clamp(1.55rem, 4vw, 3.35rem) clamp(1.5rem, 3.4vw, 3rem);
  font: 400 clamp(1rem, 1.45vw, 1.125rem)/1.42 var(--serif);
}

.fine-art-welcome h2 {
  margin: 0 1rem 1.1rem 0;
  font: 400 clamp(1.8rem, 3.3vw, 3rem)/1.06 var(--serif);
  letter-spacing: -.023em;
  text-wrap: balance;
}

.fine-art-welcome h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--welcome-copper);
}

.fine-art-welcome h2 em,
.fine-art-welcome-ending { color: var(--welcome-copper); }

.fine-art-welcome-copy p + p { margin-top: .55rem; }
.fine-art-welcome-ending { font-size: 1.1em; }

.fine-art-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1.1rem;
  margin-top: 1.3rem;
}

.fine-art-welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid #f1bd9c;
  border-radius: .38rem;
  background: #e6a780;
  color: #24150e;
  text-decoration: none;
}

.fine-art-welcome-cta:hover { background: #f2bc98; }
.fine-art-welcome button { font: inherit; cursor: pointer; }

.fine-art-welcome-close {
  min-height: 44px;
  padding: .25rem .5rem;
  background: transparent;
  border: 0;
  color: #fbefe1;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.fine-art-welcome .fine-art-welcome-x {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid #bf9077;
  border-radius: 50%;
  background: #2b1e19;
  color: #fbefe1;
  font: 400 1.8rem/1 var(--serif);
}

.fine-art-welcome :focus-visible {
  outline: 2px solid #fff2df;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .fine-art-welcome {
    width: min(calc(100% - 1.25rem), 520px);
    max-height: calc(100dvh - 1.25rem);
  }

  .fine-art-welcome-layout { display: block; }
  .fine-art-welcome-copy { padding: 1.3rem 1.2rem 1.1rem; }
  .fine-art-welcome h2 { margin-right: 0; }
  .fine-art-welcome-actions { margin-top: .85rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .fine-art-welcome[open],
  .fine-art-welcome[open]::backdrop { animation: fine-art-welcome-fade 360ms ease-out; }
  @keyframes fine-art-welcome-fade { from { opacity: 0; } to { opacity: 1; } }
}
