/* site: shared styles or page-specific layout; media order is intentional. */
:root {
  --paper: #f6f6eb;
  --text: #666;
  --blue: #8ebfd1;
  --brown: #a3785c;
  --green: #8b9e6b;
  --purple: #5b426d;
  --font-display: Cardo, Georgia, "Times New Roman", serif;
  --font-prose: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-ui: Lato, Arial, sans-serif;
  --section-space: 54px;
  --row-space: 27px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0px;
  color: var(--text);
  background: rgb(255, 255, 255);
  font: 16.8px/1.8 var(--font-prose);
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0px;
}
p + p {
  margin-top: 1em;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
}
a {
  color: var(--purple);
  text-underline-offset: 0.18em;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: rgb(64, 39, 84) solid 3px;
  outline-offset: 5px;
}
main {
  display: block;
}
.container {
  width: 80%;
  max-width: 1080px;
  margin-inline: auto;
}
.prose {
  max-width: 800px;
  margin-inline: auto;
}
.paper {
  background: var(--paper);
}
.section-title {
  font: 36px/1 var(--font-display);
  color: var(--blue);
  text-align: center;
  padding-bottom: 10px;
}
.dropcap > p:first-child::first-letter {
  float: left;
  font: 84px/1 var(--font-prose);
  color: rgb(51, 51, 51);
  margin-right: 6px;
}
.site-header {
  font-family: var(--font-ui);
  position: relative;
  z-index: 5;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.wordmark {
  display: block;
  flex-shrink: 0;
  width: 398px;
  line-height: 0;
}
.site-header ul {
  padding: 0px;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.site-header li {
  line-height: 1;
}
.site-header nav a {
  display: inline-block;
  background: rgb(255, 255, 255);
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 4px;
  padding: 5.4px 18px;
  font-weight: 700;
}
.header-overlay {
  position: absolute;
  inset: 0px 0px auto;
  height: 150px;
}
.header-overlay .header-inner {
  padding-top: 50px;
}
.header-overlay .wordmark {
  margin-top: 12px;
  margin-left: 3px;
}
.header-overlay ul {
  align-items: flex-start;
  gap: 12px;
}
.header-overlay nav a {
  font-size: 17px;
  line-height: 17px;
  letter-spacing: 3px;
  padding: 15px 25px;
}
.header-cancer {
  background: url("../img/moss_green_tile-cff986ec.webp") center center / 29%
    auto;
  min-height: 193px;
  padding: 47px 0px;
}
.header-book {
  background: url("../img/alfatalx_water_color_texture_-tile_172a7-64251977.webp")
    center center / 35% auto;
  min-height: 150px;
  padding: 47px 0px;
}
.menu-toggle {
  display: none;
  border: 0px;
  background: none;
  color: white;
  width: 44px;
  height: 44px;
  padding: 11px;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 23px;
  height: 2px;
  background: currentcolor;
  position: relative;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0px;
}
.menu-bars::before {
  top: -6px;
}
.menu-bars::after {
  top: 6px;
}
.booking {
  display: inline-block;
  border-radius: 35px;
  padding: 10px 30px;
  background: white;
  color: rgb(136, 135, 181);
  text-decoration: none;
  text-transform: uppercase;
  font: 700 18px/1.7 var(--font-ui);
  letter-spacing: 3px;
  max-width: 100%;
}
.booking.purple {
  background: rgb(136, 135, 181);
  color: white;
}
.watercolor {
  background: url("../img/alfatalx_water_color_texture_-tile_172a7-64251977.webp")
    center center / 35% auto;
  text-align: center;
}
.frame {
  width: 80%;
  max-width: 863px;
  margin-inline: auto;
  border: 13px double rgb(255, 255, 255);
  padding: 87px 60px;
}
.frame .invitation {
  color: white;
  font: 22.4px/1.8 var(--font-prose);
  margin-bottom: 30px;
}
.frame > p + p {
  margin-top: 0px;
}
.connect {
  background: url("../img/landscape_watercolor_bg-1600-1-530992d2.webp") center
    center / cover rgb(223, 218, 238);
  padding: calc(var(--section-space) + var(--row-space)) 0;
}
.connect .section-title {
  color: rgb(123, 94, 178);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-top: 67px;
}
.contact-layout > p {
  color: rgb(107, 107, 107);
}
.contact-form {
  position: relative;
}
.contact-form input:not([type="hidden"]),
.contact-form textarea {
  display: block;
  width: 100%;
  border: 0px;
  border-radius: 10px;
  background: rgb(255, 255, 255);
  padding: 20px 30px;
  font: 18px/1.6 var(--font-prose);
  color: rgb(102, 102, 102);
  margin-bottom: 15.76px;
}
.contact-form textarea {
  height: 150px;
  min-height: 150px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  opacity: 1;
  color: rgb(102, 102, 102);
}
.contact-form button {
  display: block;
  width: 100%;
  border: 0px;
  border-radius: 3px;
  background: rgb(111, 91, 145);
  color: rgb(255, 255, 255);
  font: 700 16px/1.7 var(--font-ui);
  letter-spacing: 6px;
  padding: 10px 15px;
  margin-top: 23px;
  min-height: 47px;
}
.contact-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-status:empty {
  display: none;
}
.form-status:not(:empty) {
  background: rgb(255, 255, 255);
  color: rgb(64, 39, 84);
  padding: 15px;
  margin-bottom: 16px;
  border-radius: 8px;
}
.contact-form [aria-invalid="true"] {
  box-shadow: rgb(158, 40, 62) 0px 0px 0px 2px inset;
}
.contact-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.contact-form [hidden] { display: none; }
.contact-form .error { display: block; color: #8b2338; }
.contact-form .error:not(:empty) { margin: 0 0 16px; }
.contact-form #verification { margin-top: 16px; }
.contact-form .form-status { margin-top: 16px; overflow-wrap: anywhere; }
.contact-alternative { margin-top: 16px; overflow-wrap: anywhere; }
.contact-form #new-message { letter-spacing: 1px; }
.site-footer {
  background: rgb(23, 23, 23);
  color: rgb(102, 102, 102);
  font:
    14px / 1.7 "Open Sans",
    Arial,
    sans-serif;
  padding: 15px 0px;
}
.site-footer p {
  margin: 0px;
}
.page-test main {
  min-height: 313px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: 0px;
  transform: translateY(-150%);
  z-index: 30;
  background: white;
  padding: 10px 15px;
}
.skip-link:focus {
  transform: none;
}
.top-wash {
  background: url("../img/watercolour_002-98ee113c.webp") center top / contain
    no-repeat;
}
@media (min-width: 981px) and (max-width: 1349px) {
  :root {
    --section-space: 4vw;
    --row-space: 2vw;
  }
  .header-overlay .wordmark {
    width: min(398px, 38vw);
  }
}
@media (max-width: 980px) {
  :root {
    --section-space: 50px;
    --row-space: 30px;
  }
  .header-overlay {
    height: 80px;
  }
  .header-overlay .header-inner {
    padding-top: 18px;
    align-items: center;
  }
  .header-overlay .wordmark {
    width: 50%;
    margin: 0px 0px 0px 3px;
  }
  .header-overlay .menu-toggle:not([hidden]) {
    display: block;
  }
  .header-overlay nav.enhanced ul:not(.is-open) {
    display: none;
  }
  .header-overlay nav ul {
    position: absolute;
    top: 75px;
    left: 10%;
    right: 10%;
    padding: 15px;
    background: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.133) 0px 5px 10px;
    gap: 0px;
  }
  .header-overlay nav ul a {
    display: block;
    padding: 14px;
    font-size: 14px;
    line-height: 1.5;
  }
  .header-cancer,
  .header-book {
    padding: 50px 0px;
  }
  .header-cancer {
    background-size: 41% auto;
  }
  .header-inner {
    flex-direction: column;
    align-items: center;
  }
  .header-cancer .wordmark,
  .header-book .wordmark {
    width: 398px;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .site-header ul {
    align-items: center;
  }
  .header-overlay .header-inner {
    flex-direction: row;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 80px 80px;
  }
  .page-test main {
    min-height: 315px;
  }
  .site-footer {
    text-align: center;
  }
  .frame {
    padding: 90px 60px;
  }
}
@media (max-width: 767px) {
  .header-cancer {
    background-size: 89% auto;
  }
  .header-book {
    background-size: 100% auto;
  }
  .header-cancer .wordmark,
  .header-book .wordmark {
    width: 100%;
  }
  .contact-layout {
    width: 90%;
    max-width: 1080px;
    margin: auto;
    padding: 20px;
  }
  .connect > .container {
    width: 100%;
  }
  .connect .section-title {
    width: 80%;
    margin-top: auto;
    margin-right: auto;
    margin-left: auto;
  }
  .contact-form input:not([type="hidden"]),
  .contact-form textarea {
    margin-bottom: 9.6px;
  }
  .connect {
    padding: 80px 0px 50px;
  }
  .frame {
    padding: 40px 10px;
  }
  .watercolor {
    background-size: 100% auto;
  }
  .site-footer {
    padding: 15px 0px;
  }
  .site-footer .container {
    width: 80%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media (max-width: 767px) {
  .contact-form button {
    margin-top: 17px;
  }
  .contact-layout {
    gap: 30px;
  }
  .connect .section-title {
    margin-bottom: 42px;
  }
}
@media (min-width: 981px) {
  .contact-layout {
    gap: 5.5%;
  }
}
@media (min-width: 981px) and (max-width: 1349px) {
  .contact-layout {
    padding-top: calc(13px + 4vw);
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .connect {
    padding-bottom: 88px;
  }
}
@media (min-width: 981px) and (max-width: 1349px) {
  .contact-form input:not([type="hidden"]),
  .contact-form textarea {
    margin-bottom: 1.168vw;
  }
}
@media (min-width: 981px) and (max-width: 1349px) {
  .header-cancer,
  .header-book {
    min-height: 0px;
    padding-block: calc(20px + 2vw);
  }
  .header-cancer .wordmark,
  .header-book .wordmark {
    width: 47.25%;
    max-width: 398px;
  }
  .page-test main {
    min-height: calc(205px + 8vw);
  }
  .contact-form button {
    margin-top: calc(7px + 1.168vw);
  }
}
