:root {
  color-scheme: light;
  background: #f4eddf;
  color: #34392d;
  font-family: Georgia, "Times New Roman", serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 20rem;
  background: #f4eddf;
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, rgb(255 253 248 / 42%), transparent 32rem), #f4eddf;
}

.landing-page {
  width: min(100% - 3rem, 70rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem);
}

.site-header {
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  text-align: center;
}

.imprint {
  margin: 0;
  color: #40503d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.book-release {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(17rem, 0.76fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.book-artwork { margin: 0; }

.book-artwork img {
  display: block;
  width: 100%;
  max-width: 34rem;
  height: auto;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  box-shadow: 0 2.5rem 5rem rgb(61 48 28 / 18%), 0 0.25rem 0.75rem rgb(61 48 28 / 10%);
}

.release-details { max-width: 27rem; }

.book-details { margin-bottom: clamp(2rem, 4vw, 2.75rem); }

h1 {
  margin: 0;
  color: #9b4429;
  font-size: clamp(2.35rem, 4.4vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.99;
}

.subtitle {
  max-width: 24rem;
  margin: 1.4rem 0 0;
  color: #5c5142;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-style: italic;
  line-height: 1.55;
}

.author {
  margin: 1.25rem 0 0;
  color: #34392d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.amazon-link {
  display: inline-block;
  padding: 0.95rem 1.15rem 0.9rem;
  border: 1px solid #9d572e;
  color: #7e3e27;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.amazon-link:hover,
.amazon-link:focus-visible {
  background: #9b4429;
  color: #fffaf0;
  outline: none;
}

.guided-practices,
.press,
.events {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgb(64 80 61 / 28%);
}

.guided-practices h2,
.press h2,
.events h2 {
  margin: 0 0 0.8rem;
  color: #40503d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.guided-practices a,
.press a {
  color: #7e3e27;
  text-decoration-color: rgb(126 62 39 / 38%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.guided-practices a:hover,
.guided-practices a:focus-visible,
.press a:hover,
.press a:focus-visible {
  color: #9b4429;
  text-decoration-color: currentColor;
}

.guided-practices span,
.guided-practices small,
.press span,
.press small {
  display: block;
}

.guided-practices span,
.press span {
  font-size: 1rem;
  line-height: 1.45;
}

.guided-practices small,
.press small {
  margin-top: 0.4rem;
  color: #5c5142;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.events p {
  margin: 0;
  color: #5c5142;
  font-size: 1rem;
  line-height: 1.6;
}

.event-listing h3 {
  margin: 0;
  color: #7e3e27;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
}

.events .event-tagline {
  margin-top: 0.3rem;
  font-style: italic;
}

.events .event-when {
  margin-top: 1.1rem;
  color: #9b4429;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-listing address {
  margin-top: 0.75rem;
  color: #34392d;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.55;
}

.events .event-description {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.events .event-welcome {
  margin-top: 0.9rem;
  color: #40503d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.flyer-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7e3e27;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration-color: rgb(126 62 39 / 38%);
  text-underline-offset: 0.2em;
  text-transform: uppercase;
}

.flyer-link:hover,
.flyer-link:focus-visible {
  color: #9b4429;
  text-decoration-color: currentColor;
}

.flyer-dialog {
  width: min(92vw, 44rem);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.flyer-dialog::backdrop {
  background: rgb(29 29 22 / 82%);
  backdrop-filter: blur(3px);
}

.flyer-dialog-panel {
  position: relative;
  max-height: 92vh;
  overflow: auto;
  background: #f4eddf;
  box-shadow: 0 2rem 6rem rgb(0 0 0 / 42%);
}

.flyer-dialog img {
  display: block;
  width: 100%;
  height: auto;
}

.flyer-close {
  position: sticky;
  z-index: 1;
  top: 0.65rem;
  float: right;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0.65rem 0.65rem -3.15rem 0;
  padding: 0;
  border: 1px solid rgb(244 237 223 / 65%);
  border-radius: 50%;
  background: rgb(52 57 45 / 88%);
  color: #fffaf0;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}

.flyer-close:hover,
.flyer-close:focus-visible {
  background: #9b4429;
  outline: 2px solid #fffaf0;
  outline-offset: 2px;
}

body:has(.flyer-dialog[open]) {
  overflow: hidden;
}

@media (max-width: 47rem) {
  .landing-page {
    width: min(100% - 2rem, 34rem);
    padding-block: 2rem 3.5rem;
  }

  .site-header { margin-bottom: 2rem; }

  .book-release {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .book-artwork img { max-width: 29rem; }

  .release-details {
    max-width: 29rem;
    margin-inline: auto;
    text-align: center;
  }

  .subtitle { margin-inline: auto; }
  .guided-practices,
  .press,
  .events { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .amazon-link { transition: none; }
}
