:root {
  --ink: #17221d;
  --muted: #657068;
  --paper: #f6f2e9;
  --white: #fffdf8;
  --forest: #234639;
  --forest-dark: #172f27;
  --clay: #b85f2b;
  --clay-light: #e7a06d;
  --line: rgba(23, 34, 29, .16);
  --shadow: 0 24px 70px rgba(34, 46, 39, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--clay-light); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.portal-header { position: sticky; z-index: 100; top: 0; display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(22px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); background: rgba(246, 242, 233, .93); backdrop-filter: blur(16px); }
.portal-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.portal-brand > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50% 50% 48% 52%; background: var(--forest); color: var(--white); font-family: Georgia, serif; font-size: 1.5rem; }
.portal-brand strong { font-size: 1.15rem; letter-spacing: -.03em; }
.portal-brand em { color: var(--clay); font-style: normal; }
.portal-header nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.portal-header nav a { padding: 27px 0 24px; border-bottom: 3px solid transparent; text-decoration: none; font-size: .79rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.portal-header nav a[aria-current="page"] { border-color: var(--clay); }

main { overflow: hidden; }
.portal-hero { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 8vw, 120px); width: min(1240px, calc(100% - 44px)); min-height: 510px; align-items: end; margin: 0 auto; padding: clamp(80px, 11vw, 145px) 0 72px; }
.portal-hero::before { position: absolute; z-index: -1; top: 8%; right: -20%; width: min(54vw, 650px); aspect-ratio: 1; border: 1px solid rgba(184, 95, 43, .26); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(35, 70, 57, .06), 0 0 0 140px rgba(184, 95, 43, .035); }
.eyebrow { margin: 0 0 16px; color: var(--clay); font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.portal-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 8vw, 7.5rem); font-weight: 500; line-height: .88; letter-spacing: -.065em; }
.portal-hero > div:first-child > p:last-child { max-width: 760px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.hero-facts span { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.hero-facts strong { color: var(--forest); font-size: 1rem; }

.portal-section, .booking-section, .message-section { width: min(1240px, calc(100% - 44px)); margin: 0 auto; padding: clamp(70px, 9vw, 120px) 0; }
.booking-section, .message-section { padding-bottom: 140px; }
.section-head { display: grid; grid-template-columns: .6fr 1.25fr .95fr; gap: clamp(24px, 5vw, 70px); align-items: end; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.section-head > p:last-child { margin: 0; color: var(--muted); }
.property-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 15px 45px rgba(34, 46, 39, .07); }
.property-photo { position: relative; min-height: 310px; background: linear-gradient(145deg, var(--forest), #477160); }
.property-photo img { width: 100%; height: 360px; object-fit: cover; }
.property-photo > span { display: grid; min-height: 360px; place-items: center; color: rgba(255,255,255,.8); font-family: Georgia, serif; font-size: 7rem; }
.property-photo small { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border-radius: 99px; background: rgba(23,34,29,.82); color: #fff; }
.property-copy { padding: clamp(22px, 3.5vw, 38px); }
.property-place { margin: 0 0 10px; color: var(--clay); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.property-card h3, .quote-card h3, .request-card h3 { margin: 0 0 13px; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 500; line-height: 1; }
.property-copy > p:not(.property-place) { color: var(--muted); }
.property-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; }
.property-foot a { color: var(--clay); }

.booking-section { position: relative; }
.booking-section::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; content: ""; background: var(--forest-dark); transform: translateX(-50%); }
.booking-section .section-head { color: #fff; }
.booking-section .section-head > p:last-child { color: rgba(255,255,255,.68); }
.booking-section .eyebrow { color: var(--clay-light); }
.booking-search { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) auto; gap: 1px; background: rgba(255,255,255,.18); }
.booking-search label { display: grid; gap: 7px; padding: 14px 16px; background: #fff; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.booking-search input, .booking-search select { width: 100%; min-width: 0; padding: 2px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-weight: 650; }
button, .booking-search button { min-height: 48px; padding: 12px 21px; border: 0; border-radius: 2px; background: var(--clay); color: #fff; cursor: pointer; font-weight: 800; }
button:hover { background: #95461f; }
.booking-search button { min-width: 145px; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.quote-card, .request-card { padding: clamp(25px, 4vw, 46px); background: var(--white); box-shadow: var(--shadow); }
.quote-card > p { color: var(--muted); }
.availability { padding: 12px 14px; border-left: 4px solid; font-weight: 750; }
.availability.good { border-color: #3e8b67; background: #e4f5ec; color: #236043; }
.availability.bad { border-color: #b33939; background: #fae5e2; color: #8d2525; }
.availability.pending { border-color: #c4811e; background: #fff2d7; color: #7c5419; }
.price-list { margin: 28px 0 0; }
.price-list > div { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-list dt small { display: block; color: var(--muted); font-weight: 400; }
.price-list dd { margin: 0; font-weight: 800; }
.price-list .price-total { padding-top: 20px; border: 0; font-size: 1.25rem; }
.request-card, .message-form { display: grid; gap: 15px; }
.request-card label, .message-form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 750; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.check { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.check input { width: auto; margin-top: 4px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.kind-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -15px 0 25px; }
.kind-tabs a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); text-decoration: none; font-weight: 750; }
.kind-tabs a[aria-current="page"] { border-color: var(--forest); background: var(--forest); color: #fff; }
.message-form { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; padding: clamp(24px, 5vw, 50px); background: var(--white); box-shadow: var(--shadow); }
.message-form .wide { grid-column: 1 / -1; }
.message-form small { color: var(--muted); font-weight: 400; }

.portal-success, .portal-errors, .portal-note { width: min(1240px, calc(100% - 44px)); margin: 20px auto; padding: 22px 26px; border: 1px solid; background: #fff; }
.portal-success { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; border-color: #9bc9ad; background: #edf9f1; }
.portal-success > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #2d7652; color: #fff; font-size: 1.3rem; }
.portal-success h2, .portal-errors h2 { margin: 0 0 4px; }
.portal-success p, .portal-errors p { margin: 3px 0; }
.portal-errors { border-color: #d8a19a; background: #fff1ef; color: #842c25; }
.portal-note { border-color: #d9c495; background: #fff7e3; }
.portal-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 45px max(22px, calc((100vw - 1240px) / 2)); background: #111b17; color: rgba(255,255,255,.7); }
.portal-footer strong { color: #fff; }
.portal-footer div:last-child { text-align: right; }
.portal-footer p { margin: 6px 0 0; }

@media (max-width: 900px) {
  .portal-hero, .section-head, .quote-grid { grid-template-columns: 1fr; }
  .portal-hero { min-height: 0; }
  .section-head { gap: 14px; }
  .booking-search { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .booking-search button { grid-column: 1 / -1; }
  .property-photo img, .property-photo > span { height: 290px; min-height: 290px; }
}

@media (max-width: 680px) {
  .portal-header { min-height: 68px; padding: 0 14px; }
  .portal-brand strong { display: none; }
  .portal-header nav { gap: 13px; }
  .portal-header nav a { padding: 23px 0 20px; font-size: .66rem; }
  .portal-header nav a:last-child { display: none; }
  .portal-hero, .portal-section, .booking-section, .message-section, .portal-success, .portal-errors, .portal-note { width: min(100% - 28px, 1240px); }
  .portal-hero { padding: 65px 0 55px; }
  .portal-hero h1 { font-size: clamp(3rem, 16vw, 5.1rem); }
  .property-grid, .booking-search, .message-form, .portal-footer { grid-template-columns: 1fr; }
  .property-photo img, .property-photo > span { height: 240px; min-height: 240px; }
  .property-foot { align-items: flex-start; flex-direction: column; }
  .booking-search button { grid-column: auto; }
  .message-form .wide { grid-column: auto; }
  .portal-footer div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
