/* World Artists Living: guest pages.
   Palette from the lot itself: hedge green, white stucco, the logo's sky blue.
   The arch (the gate in the hedge, the penthouses' vaulted ceilings) is the one signature shape. */
:root {
  --hedge: #2d4a36; --hedge-deep: #1f3627; --leaf: #e9efe7; --paper: #fbfbf8; --card: #fff;
  --ink: #1f2622; --muted: #5d6a62; --line: #dbe2da;
  --sky: #1a8fdb; --sky-dark: #0e6aa6; --sky-tint: #eaf4fb;
  --ok: #17703a; --bad: #b42318; --warn: #a15c07;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sky-dark); text-underline-offset: 3px; }
a:hover { color: var(--hedge); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--hedge-deep); letter-spacing: -0.005em; }
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 16px; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 40px 0 14px; }
h3 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; }

/* header + footer */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand img { width: 168px; height: auto; }
.site-nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--sky-dark); }
@media (max-width: 560px) { .brand img { width: 128px; } .site-nav { gap: 14px; font-size: 15px; } }

.site-footer { background: var(--hedge-deep); color: #e4ebe5; margin-top: 72px; padding: 56px clamp(16px, 4vw, 48px) 28px; }
.site-footer a { color: #fff; }
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 10px; }
.site-footer h3 { font-size: 19px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.footer-inner p { margin: 0 0 10px; }
.site-footer .muted { color: #b9c7bd; }
.contact-lines { font-size: 20px; line-height: 1.7; }
.footer-small { max-width: 1180px; margin: 40px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; color: #b9c7bd; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* page shells */
.page { max-width: 780px; margin: 0 auto; padding: 32px 16px 24px; }
.wide { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.lead { color: var(--muted); margin: 0 0 22px; font-size: 18px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); }

/* the arch */
.arch { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r) var(--r) / 40% 40% var(--r) var(--r); margin: 0; background: var(--leaf); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* homepage */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.hero-photo img { object-position: 62% center; }
.hero-photo { max-height: 640px; justify-self: end; width: 100%; max-width: 520px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero-photo { order: -1; max-width: 420px; justify-self: center; max-height: 460px; } }

.section-title { margin-top: 0; }
.homes { padding: 24px 0; }
.home-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: 28px 0; }
.home-row + .home-row { border-top: 1px solid var(--line); }
.home-row.flip .home-photo { order: 2; }
.home-photo { max-width: 460px; width: 100%; }
.home-row.flip .home-photo { justify-self: end; }
.home-text h3 { font-size: clamp(26px, 2.8vw, 34px); }
.home-text h3 a { color: inherit; text-decoration: none; }
.home-tagline { font-size: 19px; color: var(--muted); margin: 0 0 14px; max-width: 32em; }
.home-price { margin: 16px 0 20px; font-size: 18px; } .home-price strong { font-size: 22px; color: var(--hedge-deep); }
@media (max-width: 760px) { .home-row { grid-template-columns: 1fr; } .home-row.flip .home-photo { order: 0; justify-self: start; } .home-photo { max-width: 360px; } }

.facts { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 15px; }
.facts li + li::before { content: none; }
.facts.big { font-size: 17px; color: var(--ink); gap: 6px 26px; margin-bottom: 18px; }

.band { background: var(--leaf); width: 100vw; margin: 40px 0 40px calc(50% - 50vw); padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px); }
.band-inner { max-width: 1180px; margin: 0 auto; }
.band-lead { font-size: 19px; margin: -4px 0 28px; max-width: 38em; }
.inc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 32px; margin: 0; }
.inc-list dt { font-weight: 700; margin-bottom: 4px; }
.inc-list dd { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .inc-list { grid-template-columns: 1fr 1fr; } }
.inc-list.compact { grid-template-columns: 1fr 1fr; gap: 16px 28px; }
@media (max-width: 520px) { .inc-list, .inc-list.compact { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 40px 0; }
.where-photo { max-width: 380px; width: 100%; justify-self: end; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .where-photo { justify-self: start; max-width: 300px; } }
.distances { list-style: none; padding: 0; margin: 18px 0 0; max-width: 560px; }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.distances li span:last-child { color: var(--muted); text-align: right; }

.hosts { padding: 40px 0 8px; max-width: 760px; }
.hosts-text p { font-size: 18px; margin: 0 0 16px; }
.host-proof { font-weight: 600; color: var(--hedge); }

/* home page */
.home-head { padding: 28px 0 18px; }
.crumbs { font-size: 15px; color: var(--muted); margin: 0 0 8px; } .crumbs a { color: var(--muted); }
.gallery { position: relative; display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 46vw, 560px); }
.g-item { padding: 0; border: 0; background: var(--leaf); cursor: zoom-in; overflow: hidden; border-radius: 8px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .g-item img { transition: none; } }
.g-lead { grid-row: 1 / 3; aspect-ratio: auto; border-radius: 50% 50% 8px 8px / 26% 26% 8px 8px; }
.g-all { position: absolute; right: 14px; bottom: 14px; background: #fff; border: 1px solid var(--ink); border-radius: 8px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .g-lead { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 4; }
  .g-item:not(.g-lead) { aspect-ratio: 4 / 3; }
}
.home-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: 32px; }
@media (max-width: 960px) { .home-body { grid-template-columns: 1fr; } }
.home-main { max-width: 680px; }
.home-main .intro { font-size: 18px; margin: 0 0 14px; }
.ticks, .plain { padding-left: 1.1em; margin: 0; }
.ticks li, .plain li { margin: 6px 0; }
.ticks li::marker { color: var(--hedge); }
.book-box { position: sticky; top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 6px 24px rgba(31, 54, 39, .08); }
@media (max-width: 960px) { .book-box { position: static; order: -1; } }
.bb-price { margin: 0 0 14px; font-size: 17px; } .bb-price strong { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--hedge-deep); }
.bb-form { position: relative; } .bb-dates { position: relative; }
.bb-guests { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; } .bb-guests .field { margin: 0; }
.bb-note { font-size: 14px; text-align: center; margin: 10px 0 0; }
.book-box .estimate { margin: 0 0 12px; }
.book-box .dp-popup { left: auto; right: 0; width: min(680px, calc(100vw - 32px)); }
@media (max-width: 960px) { .book-box .dp-popup { left: 0; right: auto; } }

.lightbox { border: 0; padding: 0; background: rgba(15, 25, 19, .94); width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.lightbox::backdrop { background: rgba(15, 25, 19, .94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 64px; }
.lightbox img { max-height: calc(100vh - 120px); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { margin-top: 12px; color: #d5ded7; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

/* forms and cards (search, booking, checkout) */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.price { font-size: 26px; font-weight: 700; } .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 5px; }
label .opt { font-weight: 400; color: var(--muted); }
label .req { color: var(--bad); }
.req-note { font-size: 14px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #c9d2ca; border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 14px; }
.btn { display: inline-block; background: var(--sky); color: #fff; border: 0; border-radius: 10px; padding: 13px 24px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--sky-dark); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-block { width: 100%; }
.notice { padding: 13px 15px; border-radius: 10px; margin-bottom: 16px; background: var(--leaf); }
.notice.ok { background: #e9f6ee; color: var(--ok); }
.notice.bad { background: #fdeeec; color: var(--bad); }
.notice.warn { background: #fdf5e6; color: var(--warn); }
.notice ul { margin: 0; padding-left: 18px; }
.summary { width: 100%; border-collapse: collapse; }
.summary td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td:first-child { color: var(--muted); width: 42%; }
.schedule { padding-left: 18px; margin: 6px 0; } .schedule li { margin: 4px 0; }
.agreement { max-height: 380px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 4px 16px; background: #fcfdfb; font-size: 15px; }
.agreement h2 { font-size: 18px; margin: 18px 0 6px; }
.agreement-table { border-collapse: collapse; width: 100%; }
.agreement-table th, .agreement-table td { text-align: left; padding: 4px 8px 4px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.agreement-table th { width: 34%; color: var(--muted); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
#payment-element { margin: 10px 0 16px; }
.estimate { background: var(--sky-tint); border-radius: 10px; padding: 12px 14px; font-size: 16px; display: none; }
.quote { width: 100%; border-collapse: collapse; } .quote td { padding: 4px 0; } .quote td:last-child { text-align: right; }
.quote tr.total td { border-top: 1px solid #c9d6de; font-weight: 700; padding-top: 8px; }
.result { display: grid; grid-template-columns: 220px 1fr; gap: 22px; }
.result .r-photo { border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px; overflow: hidden; aspect-ratio: 4 / 5; }
.result .r-photo img { width: 100%; height: 100%; object-fit: cover; }
.result h2 { font-size: 26px; margin: 0 0 6px; }
@media (max-width: 600px) { .result { grid-template-columns: 1fr; } .result .r-photo { max-width: 240px; } }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr 1fr; } .grid3 .field:last-child { grid-column: 1 / -1; } }

/* date boxes (open the calendar) */
.dates-row, .search-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #c9d2ca; border-radius: 10px; overflow: hidden; background: #fff; }
.date-box { text-align: left; background: #fff; border: 0; padding: 10px 14px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 1px; color: var(--ink); }
.date-box + .date-box { border-left: 1px solid #c9d2ca; }
.date-box:hover, .date-box.active { background: var(--sky-tint); }
.date-label { font-size: 13px; font-weight: 700; color: var(--hedge); }
.date-value { font-size: 16px; } .date-value.empty { color: #8c968f; }

/* search form */
.search-form { position: relative; display: grid; grid-template-columns: 2fr 1.2fr auto; gap: 12px; align-items: end; }
.search-guests { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .search-guests .field { margin: 0; }
.search-btn { height: 58px; padding: 0 26px; }
@media (max-width: 1100px) { .hero .search-form { grid-template-columns: 1fr 1fr; } .hero .search-dates { grid-column: 1 / -1; } .hero .search-btn { height: 46px; align-self: end; } }
@media (max-width: 700px) { .search-form { grid-template-columns: 1fr; } .search-btn { width: 100%; } .hero .search-form { grid-template-columns: 1fr; } }
.hero .search-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 6px 24px rgba(31, 54, 39, .08); }
.hero .dp-popup { width: min(720px, calc(100vw - 32px)); right: auto; }

/* the calendar */
.dp-panel { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 12px; margin: 12px 0; position: relative; background: #fff; }
.dp-panel[hidden] { display: none; }
.dp-popup { position: absolute; left: 0; right: 0; top: 100%; margin-top: 8px; z-index: 20; box-shadow: 0 14px 36px rgba(20, 35, 26, .18); }
.dp-nav { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.dp-nav button { pointer-events: auto; background: #fff; border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.dp-months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 640px) { .dp-months { grid-template-columns: 1fr; } .dp-second { display: none; } }
.dp-title { text-align: center; font-family: var(--serif); font-size: 19px; margin: 6px 0 12px; color: var(--hedge-deep); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.dp-wd { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.dp-day { height: 44px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink); border-radius: 22px; }
.dp-day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dp-day:disabled { cursor: default; color: #c3cac4; font-weight: 400; }
.dp-booked { text-decoration: line-through; }
.dp-range { background: var(--sky-tint); border-radius: 0; }
.dp-end { background: var(--sky) !important; color: #fff !important; text-decoration: none; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--muted); }
.dp-foot button { background: none; border: 0; text-decoration: underline; font: inherit; cursor: pointer; color: var(--ink); margin-left: 10px; }

/* reviews */
.stars-gold { color: #d99a00; letter-spacing: 1px; margin: 0; }
.rating-line { margin: 4px 0 0; font-size: 16px; } .rating-line a { color: var(--ink); text-decoration: none; } .rating-line a:hover { text-decoration: underline; }
.reviews { display: grid; gap: 22px; margin-top: 14px; }
.review { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.review-head { margin: 0 0 2px; } .review-text { margin: 8px 0 0; }
.review-reply { margin: 12px 0 0 16px; padding-left: 14px; border-left: 3px solid var(--leaf); } .review-reply p { margin: 2px 0; }
.review-form .stars { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.review-form .stars legend { width: 100%; text-align: center; font-weight: 600; margin-bottom: 8px; }
.review-form .stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-form .stars label { font-size: 48px; line-height: 1; color: #d6dbd7; cursor: pointer; margin: 0; padding: 2px; }
.review-form .stars input:checked ~ label, .review-form .stars label:hover, .review-form .stars label:hover ~ label { color: #d99a00; }
.review-form .stars input:focus-visible + label { outline: 3px solid var(--sky); border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.more-reviews { margin-top: 16px; } .more-reviews summary { cursor: pointer; font-weight: 600; color: var(--sky-dark); }
