:root {
  color-scheme: light;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color: #2d2b29;
  background: #f8f5f0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.visual-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.lp-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.visual-section[data-reveal="pending"] .lp-image {
  opacity: .92;
  filter: brightness(.96);
}

.visual-section[data-reveal="done"] .lp-image {
  opacity: 1;
  filter: brightness(1);
  transition: opacity .8s ease, filter .8s ease;
}

.image-cta {
  position: absolute;
  z-index: 1;
  top: 88.6%;
  left: 10.6%;
  width: 78.8%;
  height: 7.6%;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.image-cta:hover {
  background: rgb(255 255 255 / 10%);
  box-shadow: 0 8px 24px rgb(35 27 21 / 22%), inset 0 0 0 2px rgb(255 255 255 / 35%);
  transform: translateY(-2px);
}

.image-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  background: rgb(255 255 255 / 12%);
}

.image-cta:active {
  transform: translateY(1px);
}

.contact-dialog__eyebrow {
  margin: 0 0 12px;
  color: #aa8952;
  font-size: 15px;
  letter-spacing: .35em;
}

.contact-dialog {
  width: min(90vw, 480px);
  max-width: none;
  padding: 0;
  border: 1px solid #c9b99e;
  background: #f8f5f0;
  box-shadow: 0 24px 80px rgb(0 0 0 / 25%);
}

.contact-dialog::backdrop {
  background: rgb(13 23 42 / 70%);
}

.contact-dialog__content {
  position: relative;
  padding: 42px clamp(24px, 6vw, 48px);
  text-align: center;
}

.contact-dialog__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b6054;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 29px;
}

.contact-dialog h2 {
  margin: 0 0 20px;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 400;
}

.contact-dialog p:not(.contact-dialog__eyebrow) {
  margin: 0 0 30px;
  color: #625b53;
  font-size: 15px;
  line-height: 1.8;
}

.contact-dialog__button {
  min-width: 160px;
  min-height: 46px;
  padding: 9px 24px;
  border: 1px solid #aa8952;
  border-radius: 999px;
  background: #aa8952;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease;
}

.contact-dialog__button:hover {
  background: #947544;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .visual-section[data-reveal] .lp-image,
  .image-cta,
  .contact-dialog__button {
    transition: none;
  }
}
