:root {
  --ink: #252047;
  --paper: #fffdf5;
  --purple: #5632bc;
  --pink: #c51d60;
  --yellow: #ffcf32;
  --aqua: #64ded5;
  --soft: #f0ebff;
  --font: ui-rounded, "Trebuchet MS", Arial, sans-serif;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
a {
  color: var(--purple);
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
.button {
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 30px;
  background: var(--purple);
  color: white;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  background: #3d218d;
}
button.secondary,
.button.secondary {
  background: var(--yellow);
  color: var(--ink);
}
button.quiet,
.button.quiet {
  background: var(--soft);
  color: var(--ink);
}
button.danger {
  background: #a5163f;
}
button:disabled {
  background: #e2deea;
  color: #615c70;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
header {
  padding: 18px 0;
  border-bottom: 1px solid #e8e2f1;
  background: white;
}
.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  display: flex;
  gap: 10px;
  align-items: center;
}
.logo {
  display: block;
  width: clamp(108px, 14vw, 126px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
}
.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav a {
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  border-radius: 24px;
}
.nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--purple);
}
#menu {
  padding: 10px 16px;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin: 0 0 24px;
  font-weight: 900;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 22px;
}
h3 {
  font-size: 1.4rem;
}
p {
  max-width: 65ch;
}
.hero {
  padding: 58px 0 46px;
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero h1 span {
  color: var(--purple);
}
.hero p {
  font-size: 1.15rem;
}
.hero-art {
  background: var(--yellow);
  border-radius: 60px 24px 60px 24px;
  padding: 22px;
  position: relative;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.art-caption {
  margin: 14px 0 0;
  font-size: 0.85rem;
  text-align: center;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.ribbon {
  background: var(--yellow);
  padding: 16px;
  text-align: center;
  font-weight: 700;
}
.section {
  padding: 54px 0;
}
.tint {
  background: var(--soft);
}
.section-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.grid {
  display: grid;
  gap: 24px;
}
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px #2520470c;
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #e8f9f7;
}
.card-body {
  padding: 24px;
}
.card h3 {
  margin: 8px 0 12px;
}
.tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 10px;
  background: var(--soft);
  border-radius: 16px;
  display: inline-block;
}
.price {
  font-size: 1.45rem;
  font-weight: 900;
}
.muted {
  font-size: 0.9rem;
  color: #544c6c;
}
.steps {
  padding-left: 26px;
  display: grid;
  gap: 22px;
}
.steps li {
  padding-left: 8px;
}
.steps strong {
  display: block;
  font-size: 1.25rem;
}
.review {
  padding: 0 0 0 18px;
  border-left: 1px solid #afa0d0;
  margin: 0;
}
.review p {
  font-size: 1.15rem;
}
.page-head {
  padding: 48px 0 24px;
}
.page-head h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}
.owners-photo {
  display: block;
  width: min(100%, 480px);
  height: auto;
  margin-top: 24px;
  border-radius: var(--radius);
}
.notice {
  padding: 18px 20px;
  background: var(--soft);
  border-radius: 14px;
  margin: 20px 0;
}
.notice {
  overflow-wrap: anywhere;
}
.notice strong {
  display: block;
}
.demo {
  font-size: 0.85rem;
  background: #fff1c1;
  padding: 10px 18px;
}
.panel {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 8px 24px #2520470a;
}
.form-grid {
  display: grid;
  gap: 18px;
}
label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #8b819e;
  border-radius: 10px;
  padding: 12px;
  background: white;
  color: var(--ink);
  caret-color: var(--purple);
}
textarea {
  resize: vertical;
  min-height: 120px;
}
input[type="checkbox"] {
  width: 24px;
  min-height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}
input[type="file"] {
  font-size: 0.9rem;
}
.error {
  color: #a5163f;
  font-size: 0.9rem;
  min-height: 0;
}
.error:not(:empty) {
  margin-top: 6px;
}
[aria-invalid="true"] {
  border: 2px solid #a5163f;
}
.status {
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd5ed;
}
.grand {
  font-size: 1.3rem;
  font-weight: 900;
}
.calendar {
  max-width: 420px;
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.calendar-head button {
  padding: 8px 12px;
}
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 14px;
}
.days span {
  text-align: center;
  font-size: 0.8rem;
}
.days button {
  padding: 0;
  min-height: 44px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
}
.days button[aria-pressed="true"] {
  background: var(--purple);
  color: white;
}
.days button:disabled {
  background: #efedf1;
  color: #706879;
  text-decoration: line-through;
}
.selected {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
.contact-link {
  font-size: clamp(1rem, 4vw, 1.45rem);
  overflow-wrap: anywhere;
}
.policy {
  border-top: 1px solid #ddd5ed;
  padding: 20px 0;
}
.policy h3 {
  margin: 0 0 10px;
}
.empty {
  padding: 30px 0;
}
.admin-unit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #ddd5ed;
  padding: 18px 0;
}
.admin-unit .actions {
  margin: 0;
}
footer {
  background: var(--ink);
  color: white;
  padding: 32px 0;
  margin-top: 40px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
footer a {
  color: white;
  overflow-wrap: anywhere;
}
main {
  min-height: 65vh;
}
[hidden] {
  display: none !important;
}
@media (max-width: 699px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav a {
    padding: 14px;
  }
  .hero {
    padding-top: 38px;
  }
  .panel {
    padding: 20px;
  }
  .card-body {
    padding: 20px;
  }
}
@media (min-width: 700px) {
  #menu {
    display: none;
  }
  .nav[hidden] {
    display: flex !important;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wide {
    grid-column: 1/-1;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
  }
  .booking-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
  }
  .summary {
    position: sticky;
    top: 20px;
  }
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art {
    animation: arrive 0.65s ease-out;
  }
  @keyframes arrive {
    from {
      transform: translateY(12px);
    }
    to {
      transform: translateY(0);
    }
  }
}

@media (max-width: 699px) {
  .calendar-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .calendar-head strong {
    grid-column: 1/-1;
    grid-row: 1;
    text-align: center;
  }
  .calendar-head button {
    grid-row: 2;
  }
}
@media (max-width: 699px) {
  .two-col {
    display: grid;
    gap: 36px;
  }
}
#contact-form > div:not(.status) {
  margin: 16px 0;
}

/* Booking page */
.lead {
  font-size: 1.15rem;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
}
.facts li {
  background: var(--soft);
  border-radius: 14px;
  padding: 10px 14px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.4em;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.75em;
  font-weight: 900;
  vertical-align: 0.12em;
}
#units > p {
  grid-column: 1 / -1;
}
#units-retry {
  margin-top: 0;
}
.pick {
  display: flex;
  flex-direction: column;
}
.pick .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pick .card-body > p {
  margin: 0 0 12px;
}
.photos {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: #e8f9f7;
}
.photos img {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.specs {
  margin: 0 0 12px;
}
.specs div {
  display: flex;
  gap: 8px;
}
.specs dt {
  font-weight: 700;
}
.specs dt::after {
  content: ":";
}
.specs dd {
  margin: 0;
}
.price .per {
  font-size: 0.9rem;
  font-weight: 400;
  color: #544c6c;
}
.pick-btn {
  width: 100%;
  margin-top: auto;
}
.pick-btn[aria-pressed="true"],
.pick-btn[aria-pressed="true"]:hover {
  background: var(--ink);
}
.pick-btn[aria-pressed="true"]::before {
  content: "✓";
}
.readout {
  font-weight: 700;
  margin: 0 0 14px;
}
.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 14px 0 6px;
  font-size: 0.9rem;
}
.swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  margin-right: 6px;
  vertical-align: -3px;
}
.swatch.open {
  background: var(--soft);
  border: 1px solid #afa0d0;
}
.swatch.chosen {
  background: var(--purple);
}
.swatch.taken {
  background:
    linear-gradient(to top right, transparent 44%, #706879 44%, #706879 56%, transparent 56%),
    #efedf1;
}
.days button:focus-visible {
  outline-offset: 0;
}
.days button.past:disabled {
  background: transparent;
  text-decoration: none;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.status:empty {
  padding: 0;
}
.status.ok,
.status.warn,
.status.error {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 12px 0;
}
.status.ok {
  background: var(--soft);
  border-left: 4px solid var(--purple);
}
.status.warn {
  background: #fff1c1;
  border-left: 4px solid var(--yellow);
}
.status.error {
  background: #fdecf1;
  border-left: 4px solid #a5163f;
  color: #7d0f2e;
}
#check-delivery {
  margin-top: 16px;
}
.summary-unit {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 8px;
}
.review-list {
  margin: 0 0 12px;
}
.review-list div {
  display: grid;
  padding: 8px 0;
  border-bottom: 1px solid #ddd5ed;
}
.review-list dt {
  font-size: 0.8rem;
  font-weight: 700;
  color: #544c6c;
}
.review-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.review-list dd.blank {
  color: #544c6c;
  font-style: italic;
}
.send {
  width: 100%;
  margin-top: 14px;
  font-size: 1.1rem;
}
.turnstile-slot {
  margin-top: 14px;
}
.empty-state,
.confirmation {
  border: 3px solid var(--purple);
}
.pending-tag {
  background: var(--yellow);
}
.next-steps {
  padding-left: 24px;
  display: grid;
  gap: 8px;
}
@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }
  .booking-layout .panel:first-child {
    margin-top: 0;
  }
  .booking-layout .summary {
    margin-top: 0;
  }
  .confirmation .review-list div {
    grid-template-columns: 160px 1fr;
    gap: 12px;
  }
}

/* Remove the preview-bar elements after final payment is confirmed. */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  max-height: 100svh;
  overflow-y: auto;
}
.skip {
  z-index: 30;
}
.header-inner {
  flex-wrap: wrap;
}
.preview-bar {
  margin: 0;
  padding: 10px 14px;
  max-width: 260px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}
.preview-bar strong {
  white-space: nowrap;
}
@media (max-width: 999px) {
  .preview-bar {
    flex-basis: 100%;
    max-width: none;
  }
}
@media (max-width: 699px) {
  .preview-bar {
    order: 1;
  }
  .nav {
    order: 2;
  }
}
.website-credit {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.875rem;
}

.month-toolbar {
  justify-content: space-between;
}
.month-toolbar h3 {
  margin: 0;
}
.month-weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.month-weekdays {
  text-align: center;
  font-weight: bold;
  margin-top: 18px;
}
.month-day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  min-height: 110px;
  padding: 8px 4px;
  border-radius: 10px;
  gap: 4px;
}
.month-day[aria-pressed="true"] {
  outline: 3px solid var(--purple);
  outline-offset: -3px;
}
.month-day[aria-current="date"] .month-number {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.month-number {
  font-weight: bold;
}
.month-count {
  font-size: 0.75rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.month-confirmed {
  background: var(--purple);
  color: white;
  border-radius: 4px;
}
.month-pending {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 4px;
}
.month-blocked {
  background: var(--ink);
  color: white;
  border-radius: 4px;
}
.month-legend {
  font-size: 0.9rem;
}
@media (max-width: 500px) {
  .month-day {
    min-height: 100px;
    padding: 6px 2px;
  }
  .month-count {
    font-size: 0.65rem;
  }
  .month-weekdays {
    font-size: 0.8rem;
  }
}
