:root {
  --ink: #342b44;
  --forest: #3d2e59;
  --forest-2: #6f5790;
  --cream: #f4eff7;
  --paper: #fffdfc;
  --gold: #aa3fb9;
  --gold-light: #e9b4ef;
  --line: rgba(61, 46, 89, .18);
  --muted: #71677c;
  --shadow: 0 24px 70px rgba(52, 43, 68, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
button, input, select { font: inherit; }
a { color: inherit; }
img { display: block; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.demo-ribbon { background: #2c2042; color: #eee7f5; padding: 8px 5vw; text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.site-header { height: 96px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; }
.logo-crop { position: relative; width: 62px; height: 62px; flex: 0 0 62px; overflow: hidden; border-radius: 50%; background: white; box-shadow: 0 0 0 1px rgba(90,72,120,.2), 0 5px 16px rgba(52,43,68,.12); }
.logo-crop img { position: absolute; width: 131.8%; max-width: none; left: -15.5%; top: -5.2%; }
.brand strong { display: block; font: 600 21px Georgia, serif; letter-spacing: .03em; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
.main-nav a:not(.nav-book):hover { color: var(--gold); }
.nav-book { padding: 12px 18px; background: var(--forest); color: #fff; box-shadow: inset 0 -2px 0 rgba(226,93,230,.45); }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { min-height: 690px; display: grid; grid-template-columns: 43% 57%; grid-template-rows: 1fr; position: relative; background: var(--cream); }
.hero-copy { padding: 9vh 8vw 13vh 6vw; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, blockquote { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(50px, 5.7vw, 88px); line-height: .98; letter-spacing: -.05em; margin: 0; }
h1 em { color: var(--forest-2); font-weight: 400; }
.hero-intro { max-width: 570px; margin: 32px 0 26px; color: #53635f; font-size: 18px; }
.trust-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.trust-row strong { font-size: 17px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 12px; }
.hero-photo { min-height: 690px; background: linear-gradient(180deg, transparent 52%, rgba(45,31,64,.62)), url('./assets/courtyard.jpg') center/cover no-repeat; position: relative; }
.photo-note { position: absolute; right: 28px; bottom: 24px; color: white; font: italic 15px Georgia, serif; }
.booking-card { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(90%, 1120px); padding: 16px; background: rgba(251,248,241,.97); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr 1.5fr; gap: 10px; align-items: end; }
.booking-head { padding: 0 14px 8px 6px; border-right: 1px solid var(--line); }
.booking-head span { display: block; font: 28px Georgia, serif; }
.booking-head small { color: var(--muted); font-size: 12px; }
.booking-card label { padding: 0 10px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.booking-card input, .booking-card select { width: 100%; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 9px 0; font-size: 14px; outline: none; }
.booking-card input:focus, .booking-card select:focus { border-color: var(--gold); }
.booking-card > p { grid-column: 2 / -1; margin: 0; padding: 0 10px; color: var(--muted); font-size: 11px; text-align: right; }
.button { border: 0; min-height: 52px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; text-decoration: none; font-size: 13px; font-weight: 750; cursor: pointer; }
.button-gold { background: var(--gold); color: #142820; }
.button-gold:hover { background: var(--gold-light); }

.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); padding: 42px 5vw; background: linear-gradient(100deg, #35264f, #50386f); color: white; }
.quick-facts > div { padding: 0 30px; border-right: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.quick-facts > div:last-child { border-right: 0; }
.quick-facts span { grid-row: 1 / 3; color: var(--gold-light); font: italic 18px Georgia, serif; }
.quick-facts strong { font: 18px Georgia, serif; }
.quick-facts small { color: #acc0ba; }

.section { padding: 110px 6vw; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8vw; max-width: 1220px; margin: 0 auto 52px; }
.section-heading h2, .experience-copy h2, .details-section h2, .final-cta h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading > p { max-width: 460px; color: var(--muted); }
.filter-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.filter { background: transparent; border: 1px solid var(--line); padding: 8px 14px; color: var(--muted); cursor: pointer; border-radius: 99px; font-size: 13px; }
.filter.active, .filter:hover { background: var(--forest); border-color: var(--forest); color: white; }
.room-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.room-card { background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.room-card:hover { transform: translateY(-5px); box-shadow: 0 18px 46px rgba(16,44,39,.1); }
.room-card[hidden] { display: none; }
.room-card img { height: 310px; object-fit: cover; }
.room-content { padding: 28px; }
.room-meta { display: flex; gap: 18px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.room-content h3 { margin: 12px 0 6px; font-size: 29px; }
.room-content p { min-height: 76px; color: var(--muted); font-size: 14px; }
.text-link, .center-link { border: 0; padding: 0 0 3px; background: transparent; color: var(--forest); border-bottom: 1px solid var(--gold); font-weight: 750; font-size: 13px; cursor: pointer; text-decoration: none; }
.text-link span, .center-link span { margin-left: 10px; color: var(--gold); }
.center-link { width: max-content; margin: 38px auto 0; display: block; }

.experience-section { display: grid; grid-template-columns: 1.2fr .8fr; background: #392951; color: #fff; }
.experience-copy { padding: 110px 8vw 110px 7vw; }
.experience-copy > p:not(.eyebrow) { max-width: 680px; color: #b5c6c1; font-size: 18px; }
.experience-list { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.experience-list span { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.quote-card { padding: 100px 6vw; background: #51366c; display: flex; flex-direction: column; justify-content: center; }
.quote-mark { color: var(--gold-light); font: 72px Georgia, serif; line-height: .5; }
.quote-card blockquote { margin: 30px 0; font-size: clamp(28px, 3vw, 43px); line-height: 1.18; }
.quote-card p { color: #a9bdb7; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.section-heading.compact { margin-bottom: 46px; }
.add-on-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.add-on-grid article { padding: 36px 32px; border-right: 1px solid var(--line); }
.add-on-grid article:last-child { border-right: 0; }
.add-on-grid span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.add-on-grid h3 { font-size: 29px; margin: 15px 0 5px; }
.add-on-grid p { min-height: 55px; color: var(--muted); font-size: 14px; }
.add-on-grid strong { font: 22px Georgia, serif; }

.details-section { padding: 96px 7vw; display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 6vw; align-items: start; background: #eee5d5; }
.details-section dl { margin: 0; }
.details-section dl > div { display: grid; grid-template-columns: 1fr 1.5fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details-section dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.details-section dd { margin: 0; font-size: 14px; font-weight: 700; }
.details-cta { background: var(--paper); padding: 28px; border-top: 3px solid var(--gold); }
.details-cta p { margin-top: 0; color: var(--muted); font-size: 13px; }
.details-cta a { display: block; margin: 8px 0; font-weight: 750; text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.final-cta { min-height: 480px; padding: 90px 7vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; background: linear-gradient(rgba(51,35,75,.82), rgba(51,35,75,.9)), url('./assets/courtyard.jpg') center/cover no-repeat; }
.final-cta .eyebrow { color: var(--gold-light); }
.final-cta .button { margin-top: 32px; }
.button-light { background: var(--paper); color: var(--forest); }
footer { padding: 36px 6vw; background: #281d3c; color: #c7bbd2; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: white; }
.footer-brand .logo-crop { width: 48px; height: 48px; flex-basis: 48px; }
.concept-note { grid-column: 1 / -1; margin: 0; color: #728e86; }

dialog { width: min(92vw, 560px); border: 0; padding: 42px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(7,30,25,.72); backdrop-filter: blur(3px); }
dialog h2 { margin: 0 0 22px; font: 42px/1 Georgia, serif; }
.dialog-close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; font: 28px Georgia, serif; cursor: pointer; }
.booking-summary { padding: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 6px; font-weight: 700; }
.dialog-note { color: var(--muted); font-size: 13px; }
dialog .button { width: 100%; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto 480px; }
  .hero-copy { padding: 70px 7vw 52px; }
  .hero-photo { min-height: 480px; }
  .booking-card { position: relative; left: auto; bottom: auto; transform: none; width: 90%; margin: -44px auto 40px; grid-column: 1; grid-row: 3; grid-template-columns: repeat(3, 1fr); }
  .booking-head { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-card .button { grid-column: 1 / -1; }
  .booking-card > p { grid-column: 1 / -1; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .quick-facts > div:nth-child(2) { border-right: 0; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .room-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .details-section { grid-template-columns: 1fr 1fr; }
  .details-cta { grid-column: 1 / -1; }
}

@media (max-width: 740px) {
  .site-header { height: 78px; }
  .site-header .logo-crop { width: 50px; height: 50px; flex-basis: 50px; }
  .site-header .brand strong { font-size: 17px; }
  .site-header .brand small { display: none; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 20px 6vw; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .nav-book { text-align: center; margin-top: 8px; }
  .hero { min-height: 0; grid-template-rows: auto 350px auto; }
  .hero-copy { padding: 56px 6vw 44px; }
  h1 { font-size: 53px; }
  .hero-intro { font-size: 16px; }
  .hero-photo { min-height: 350px; }
  .photo-note { left: 20px; right: auto; }
  .booking-card { grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
  .booking-card label:last-of-type { grid-column: 1 / -1; }
  .quick-facts { grid-template-columns: 1fr; padding-block: 34px; }
  .quick-facts > div, .quick-facts > div:nth-child(2) { border-right: 0; padding: 0 12px 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding: 78px 5vw; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading h2, .experience-copy h2, .details-section h2, .final-cta h2 { font-size: 43px; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .filter { flex: 0 0 auto; }
  .room-grid { grid-template-columns: 1fr; }
  .room-card:last-child { grid-column: auto; max-width: none; }
  .room-card img { height: 260px; }
  .experience-section { grid-template-columns: 1fr; }
  .experience-copy, .quote-card { padding: 76px 7vw; }
  .add-on-grid { grid-template-columns: 1fr; }
  .add-on-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .add-on-grid article:last-child { border-bottom: 0; }
  .details-section { grid-template-columns: 1fr; padding: 76px 7vw; }
  .details-cta { grid-column: auto; }
  footer { grid-template-columns: 1fr; }
  dialog { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
