:root {
  --bg: #e8f1f8; --surface: #ffffff; --ink: #14263a; --muted: #4f6275;
  --accent: #1f4e79; --accent-ink: #fff; --line: #d3e0ec; --sand: #dbe8f3;
  --radius: 12px; --serif: "Playfair Display", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 45% at 12% 8%, rgba(173, 208, 235, .55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(200, 225, 244, .7), transparent 70%),
    radial-gradient(ellipse 55% 50% at 30% 62%, rgba(186, 216, 240, .45), transparent 70%),
    radial-gradient(ellipse 45% 40% at 80% 85%, rgba(165, 202, 232, .45), transparent 70%),
    linear-gradient(180deg, #eef5fb 0%, #e3eef7 100%);
  background-attachment: fixed; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.35rem; }
h3 a { color: inherit; text-decoration: none; }
h3 a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600; color: var(--accent); margin: 0 0 .4em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40ch; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); position: sticky; top: 0; z-index: 5; }
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; color: var(--ink); text-decoration: none; }
.site-header nav a { margin-left: 22px; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--accent); }

main > section, .property { padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 48px); max-width: 1200px; margin: 0 auto; }
.hero { padding-top: clamp(56px, 10vw, 120px); }

.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid #7fb2dd; outline-offset: 3px; }
.btn-airbnb { background: #e0565b; }
.btn-vrbo { background: #1d4f91; }
.btn-booking { background: #003580; }
.btn-pinnacle { background: #6b4a2b; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(20,38,58,.04), 0 8px 24px rgba(20,38,58,.06); }
.card-media { text-decoration: none; }
.card-img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body p { margin: 0; }
.facts { font-weight: 500; color: var(--muted); margin: 6px 0 !important; }
.booking { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; }

.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--sand), #c4d9ea); }
.placeholder span { font-family: var(--serif); font-size: 4rem; color: rgba(31,42,46,.35); }

.about p { max-width: 62ch; }

.hero-img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 36px; }
.property-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.book-panel { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 24px rgba(20,38,58,.07); }
.book-panel h2 { font-size: 1.4rem; }
.book-panel .booking { flex-direction: column; }
.book-panel .btn { text-align: center; }
.amenities { columns: 2; padding-left: 1.1em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 28px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 48px); color: var(--muted); font-size: .88rem; background: rgba(255,255,255,.55); }

@media (max-width: 860px) {
  .property-layout { grid-template-columns: 1fr; }
  .book-panel { position: static; }
  .hero-img { aspect-ratio: 4/3; }
  .amenities { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- Owner portal ---------- */
.owner { padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 48px); max-width: 760px; margin: 0 auto; }
.owner-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 12px; }
.owner-card form { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.owner-card label { font-weight: 600; font-size: .9rem; }
.owner-card input { width: 100%; max-width: 360px; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.owner-card input:focus { outline: 3px solid #7fb2dd; outline-offset: 1px; }
.owner-card .btn { border: 0; cursor: pointer; font-family: inherit; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; }
.status { min-height: 1.6em; color: var(--muted); }
.status.bad { color: #a23b2a; }
.link-groups { display: grid; gap: 28px; margin-top: 8px; }
.link-group h2 { font-size: 1.3rem; margin-bottom: .6em; }
.link-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.portal-link { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.portal-link:hover { border-color: var(--accent); transform: translateY(-1px); }
.portal-title { font-weight: 600; color: var(--accent); }
.portal-title::after { content: " ↗"; font-weight: 400; }
.portal-desc { font-size: .92rem; color: var(--muted); }
.owner-card .small, .small { font-size: .92rem; margin: 14px 0 0; }
.owner-card .card-title { font-size: 1.3rem; }
.owner-card form label:not(:first-child) { margin-top: 6px; }
.owner-card button:disabled, .owner-card input:disabled { opacity: .6; cursor: wait; }

/* Booking button + availability calendar link */
.booking-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.book-panel .booking-item { align-items: stretch; }
.availability-link { font-size: .9rem; font-weight: 500; color: var(--accent); padding-left: 4px; }
.availability-link::before { content: ""; display: inline-block; width: .95em; height: .95em; margin-right: .4em; vertical-align: -.12em;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat; }
.book-panel .availability-link { text-align: center; padding-left: 0; }
.hero-statement { font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 22ch; }
.hero .lede { max-width: 52ch; }
.hero-title { font-size: clamp(2.4rem, 6.2vw, 4rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: .4em; color: var(--ink); }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 400; color: var(--muted); max-width: 58ch; margin: 0; }
.owner-link { margin-left: .75em; color: var(--muted); }
.owner-link:hover { color: var(--accent); }

/* ---------- Title font: Eras Bold ITC where installed, close free match otherwise ---------- */
.hero-title {
  font-family: "Eras Bold ITC", "ErasITC-Bold", "Eras ITC", "Eras Demi ITC", "Quicksand", "Century Gothic", sans-serif;
  font-weight: 700; letter-spacing: 0;
}

/* ---------- Compact home layout: rentals fit on one screen ---------- */
.hero { padding-top: clamp(28px, 5vh, 56px); padding-bottom: clamp(12px, 2.5vh, 28px); }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .3em; }
.stays { padding-top: clamp(8px, 2vh, 24px) !important; padding-bottom: clamp(24px, 4vh, 48px) !important; }
.stays > h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .6em; }
.grid { gap: 22px; }
.card-img, .card .placeholder { aspect-ratio: auto; height: clamp(130px, 24vh, 230px); }
.card-body { padding: 14px 18px 16px; gap: 2px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: .2em; }
.card-body .eyebrow { margin-bottom: .2em; }
.card-body > p:not(.eyebrow):not(.facts) { font-size: .95rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .facts { margin: 4px 0 !important; font-size: .92rem; }
.card .booking { padding-top: 8px; }
.card .booking-item { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.card .btn { padding: 9px 16px; font-size: .9rem; }

/* Horizontal property cards (photo left, details right) so both fit on one screen */
.stays .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); }
.stays .card { flex-direction: row; min-height: 200px; }
.stays .card-media { flex: 0 0 42%; display: block; }
.stays .card-img, .stays .card .placeholder { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.stays .card-body { padding: 14px 18px; justify-content: center; }
.stays .card .booking { margin-top: 6px; }
@media (max-width: 560px) {
  .stays .card { flex-direction: column; }
  .stays .card-media { flex: none; }
  .stays .card-img, .stays .card .placeholder { height: clamp(150px, 30vh, 220px); min-height: 0; }
}
