:root {
  color-scheme: light;
  --page: #f5f2ed;
  --surface: #fffcf8;
  --ink: #271f20;
  --muted: #685b59;
  --wine: #6a293c;
  --wine-dark: #4b1f2c;
  --rose: #f2e5e7;
  --line: #e6ddd5;
  --gold: #a7703b;
  --green: #46634f;
  --success: #e8eee5;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.5 var(--sans); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #986054; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.038em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.15rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { font-size: 1rem; line-height: 1.25; }
small { font-size: .79rem; }
.shell { max-width: 1232px; margin-inline: auto; padding-inline: 32px; }
.skip { position: absolute; z-index: 20; left: 12px; top: -60px; padding: 8px; background: var(--surface); }
.skip:focus { top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.icon { width: 21px; height: 21px; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.eyebrow { color: var(--wine); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.vstack { display: grid; gap: 14px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-content { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--wine-dark); }
.brand-mark { width: 35px; height: 37px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 48% 48% 14% 14%; font: 1.35rem/1 var(--serif); }
.brand-type { display: grid; line-height: 1; letter-spacing: .05em; }
.brand-type strong { font: 600 1.2rem/1 var(--serif); letter-spacing: .045em; }
.brand-type small { margin-top: 5px; letter-spacing: .24em; font-weight: 650; font-size: .6rem; }
.desktop-nav { display: flex; align-items: center; align-self: stretch; gap: 30px; }
.desktop-nav a { position: relative; display: flex; align-items: center; color: var(--muted); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.desktop-nav a[aria-current] { color: var(--wine); }
.desktop-nav a[aria-current]::after { content: ''; position: absolute; height: 2px; background: var(--wine); inset: auto 0 0; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.demo-trigger, .avatar, .icon-button { min-height: 42px; border: 1px solid var(--line); color: var(--wine-dark); background: transparent; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; }
.demo-trigger { padding: 0 13px; gap: 6px; font-size: .75rem; font-weight: 730; }
.demo-trigger .icon { width: 15px; height: 15px; }
.avatar, .icon-button { width: 42px; }
.avatar { background: var(--rose); border-color: transparent; font-size: .77rem; font-weight: 760; }
.button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .88rem; font-weight: 680; }
.button { min-height: 45px; border: 1px solid transparent; padding: 0 15px; border-radius: 9px; transition: background .16s; line-height: 1.2; text-align: center; }
.button.primary { background: var(--wine); color: #fffaf5; }
.button.primary:hover { background: var(--wine-dark); }
.button.secondary { background: var(--surface); color: var(--wine); border-color: var(--line); }
.button.secondary:hover, .demo-trigger:hover, .icon-button:hover { background: var(--rose); }
.button:disabled { opacity: .58; cursor: default; }
.button .icon, .text-button .icon { width: 18px; height: 18px; }
.text-button { color: var(--wine); background: none; border: 0; padding: 6px 0; }
.text-button:hover { text-decoration: underline; }
.main { min-height: calc(100vh - 155px); padding-top: 42px; padding-bottom: 38px; }
.page-heading { margin-bottom: 25px; }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading p:not(.eyebrow) { margin-top: 11px; color: var(--muted); max-width: 59ch; }
.overview-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.mobile-booking { display: none; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; }
.membership {
  overflow: hidden;
  isolation: isolate;
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 232px;
  padding: 23px 26px;
  border-radius: 17px;
  background: linear-gradient(130deg,#4d2030 0%, #723449 63%, #7d4656 100%);
  color: #fff8f1;
  box-shadow: 0 12px 25px #4021311e;
}
.membership::before {
  content: '';
  position: absolute;
  inset: -65px -75px -84px 27%;
  z-index: -1;
  opacity: .43;
  transform: rotate(-24deg);
  background: repeating-radial-gradient(ellipse at 74% 89%, transparent 0 11px, #f8d7c532 12px 13px, transparent 14px 19px);
  -webkit-mask-image: linear-gradient(85deg, transparent, #000 39%);
  mask-image: linear-gradient(85deg, transparent, #000 39%);
}
.membership.gold { background: linear-gradient(130deg,#443123, #6f4a2d 68%, #8d5d35); }
.membership-top, .membership-foot, .section-heading, .panel-heading, .spread { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.membership-top { align-items: flex-start; }
.membership .brand { color: inherit; }
.membership .brand-mark { width: 29px; height: 30px; font-size: 1.1rem; opacity: .91; }
.membership .brand-type strong { font-size: 1rem; }
.tier-stamp { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ffefe775; padding: 5px 10px; border-radius: 100px; font-size: .74rem; font-weight: 720; white-space: nowrap; }
.tier-stamp .icon { width: 13px; height: 13px; }
.membership-name { font: 400 clamp(1.9rem, 3.3vw, 2.5rem)/1.04 var(--serif); letter-spacing: -.025em; }
.membership-number { margin-top: 8px; color: #ffefe9d9; font-size: .85rem; letter-spacing: .075em; font-variant-numeric: tabular-nums; }
.membership-foot { align-items: end; }
.card-action { width: 43px; height: 43px; background: #fff7ec; color: var(--wine-dark); border: 0; border-radius: 50%; display: grid; place-items: center; flex: none; }
.card-action:hover { background: #f1e0cf; }
.progress-panel { padding: 21px 24px; display: grid; align-content: start; gap: 13px; }
.progress-panel h2 { margin-top: 2px; }
.progress-panel h2, .booking-copy h2 { font-size: clamp(1.55rem, 2.9vw, 2.35rem); }
.icon-tile { width: 41px; height: 41px; border-radius: 11px; display: grid; place-items: center; color: var(--wine); background: var(--rose); flex: none; }
.icon-tile.gold { color: #805127; background: #f2e8d8; }
.icon-tile .icon { width: 20px; height: 20px; }
.number { font: 2.4rem/.95 var(--serif); letter-spacing: -.045em; }
.progress-caption { display: inline-flex; align-items: end; gap: 7px; }
.progress-track { height: 8px; background: #eee5db; border-radius: 100px; overflow: hidden; }
.progress-track span { display: block; height: 100%; background: linear-gradient(90deg, #783b4d, #ab776e); border-radius: inherit; }
.progress-note { font-size: .79rem; color: var(--muted); }
.company-inline { border-top: 1px solid var(--line); padding-top: 11px; font-size: .81rem; color: var(--muted); display: flex; align-items: center; gap: 8px; min-width: 0; }
.company-inline .icon { width: 16px; height: 16px; color: var(--wine); }
.company-inline strong { color: var(--ink); }
.overview-lower { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 20px; margin-top: 29px; }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); }
.benefit-list { display: grid; gap: 7px; }
.benefit-row { width: 100%; text-align: left; min-height: 62px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 11px; padding: 8px 11px; background: var(--surface); color: var(--ink); }
.benefit-row:hover { border-color: #bfa69e; }
.benefit-row .icon-tile { width: 36px; height: 36px; border-radius: 8px; }
.benefit-row .icon-tile .icon { width: 18px; height: 18px; }
.benefit-row strong { display: block; font-size: .87rem; }
.benefit-row small { display: block; margin-top: 2px; color: var(--muted); }
.benefit-row > .icon { width: 16px; color: var(--wine); }
.booking-spot { display: grid; grid-template-columns: minmax(0, 1fr) 34%; overflow: hidden; min-height: 224px; background: #ece1d5; border: 0; }
.booking-copy { padding: 23px 22px; display: grid; justify-items: start; align-content: center; gap: 9px; }
.booking-copy p:not(.eyebrow) { color: #5b4d48; font-size: .86rem; }
.booking-copy .button { margin-top: 3px; }
.booking-photo { background: #a58a69 url('./assets/courtyard.jpg') center / cover no-repeat; min-height: 100%; }
.club-strip { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; margin-top: 12px; padding: 12px; }
.club-strip strong { display: block; font-size: .9rem; }
.club-strip small { display: block; color: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; color: var(--muted); font-size: .79rem; }
.footer a { color: var(--wine); }
.mobile-nav { display: none; }
.detail-grid, .chat-grid { display: grid; grid-template-columns: 1.07fr .93fr; align-items: start; gap: 20px; }
.detail-grid > .membership { min-height: 275px; }
.padded { padding: 22px; }
.card-detail { display: grid; gap: 13px; }
.card-detail .spread { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.card-detail .spread:last-child { border-bottom: 0; padding-bottom: 0; }
.card-detail .spread span { font-size: .87rem; color: var(--muted); }
.card-detail .spread strong { font-size: .88rem; text-align: right; overflow-wrap: anywhere; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border-radius: 99px; display: inline-flex; align-items: center; font-size: .75rem; padding: 4px 9px; color: var(--wine); background: var(--rose); font-weight: 690; }
.pill.success { color: var(--green); background: var(--success); }
.pill.neutral { background: #eee8df; color: #544742; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.tabs button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 12px; min-height: 40px; font-size: .85rem; font-weight: 680; color: var(--wine); }
.tabs button[aria-pressed=true] { border-color: var(--wine); background: var(--wine); color: white; }
.compare { padding: 8px 18px; }
.compare table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.compare th, .compare td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--wine); }
.compare tbody th { width: 40%; font-weight: 650; }
.compare tr:last-child > * { border-bottom: 0; }
.note { margin-top: 13px; font-size: .81rem; color: var(--muted); }
.stay-list { padding: 1px 18px; }
.stay { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding-block: 13px; }
.stay:last-child { border-bottom: 0; }
.stay strong, .stay small { display: block; }
.stay small { color: var(--muted); }
.stay-nights { text-align: right; }
.stay-nights strong { font-size: 1.06rem; }
.chat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 365px); }
.conversation { overflow: hidden; }
.conversation-top { display: flex; gap: 10px; align-items: center; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.conversation-top small { color: var(--muted); display: block; }
.conversation-body { padding: 17px; background: #f8f3ec; display: grid; gap: 10px; }
.bubble { max-width: min(91%, 57ch); justify-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: 3px 13px 13px 13px; padding: 10px 12px; font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.bubble.guest { justify-self: end; background: var(--rose); border-color: transparent; border-radius: 13px 3px 13px 13px; }
.bubble .message-title { font-weight: 730; color: var(--wine); margin-bottom: 3px; }
.chat-form { display: grid; gap: 10px; padding: 16px 17px; }
.field { display: grid; gap: 4px; color: var(--ink); font-size: .82rem; font-weight: 620; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; background: var(--surface); border: 1px solid #d6c9bf; border-radius: 8px; color: var(--ink); padding: 8px 10px; min-height: 42px; }
.field textarea { resize: vertical; }
.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.form-error { color: #a12c3a; font-size: .8rem; }
.booking-status { border-top: 1px solid var(--line); padding: 13px 17px; font-size: .86rem; }
.chat-message-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.manager-card h2 { font-size: 1.65rem; }
.manager-card h3 { margin-top: 4px; }
.manager-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .84rem; }
.manager-card button { justify-self: start; }
.profile-grid { max-width: 730px; }
.profile-row { display: flex; gap: 11px; align-items: flex-start; }
.profile-row + .profile-row { border-top: 1px solid var(--line); padding-top: 12px; }
.profile-row small { color: var(--muted); display: block; }
.wizard { max-width: 600px; }
dialog { padding: 0; border: 1px solid var(--line); border-radius: 16px; width: min(470px, calc(100% - 24px)); max-height: min(90vh, 750px); overflow: auto; color: var(--ink); background: var(--surface); box-shadow: 0 25px 80px #2b172a45; }
dialog::backdrop { background: #23192186; }
.dialog-body { padding: 18px 22px 22px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 13px; }
.dialog-head h2 { font-size: 1.77rem; }
.dialog-choice { display: grid; grid-template-columns: auto 1fr auto; text-align: left; align-items: center; gap: 9px; min-height: 48px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 7px 11px; }
.dialog-choice:hover { background: var(--rose); }
.dialog-choice .icon { color: var(--wine); width: 17px; }
.dialog-body .membership { min-height: 214px; }

@media (max-width: 1000px) {
  .desktop-nav { gap: 15px; }
  .shell { padding-inline: 23px; }
}
@media (max-width: 760px) {
  .shell { padding-inline: 17px; }
  .header-content { min-height: 61px; gap: 8px; }
  .desktop-nav { display: none; }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 32px; font-size: 1.16rem; }
  .brand-type strong { font-size: 1.06rem; }
  .brand-type small { font-size: .54rem; }
  .avatar, .demo-trigger { min-height: 36px; }
  .avatar { width: 36px; }
  .demo-trigger { padding-inline: 9px; }
  .main { padding-top: 25px; padding-bottom: 25px; min-height: 0; }
  .page-heading { margin-bottom: 17px; }
  .page-heading p:not(.eyebrow) { margin-top: 6px; font-size: .91rem; }
  .overview-grid, .overview-lower, .detail-grid, .chat-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .mobile-booking { display: block; }
  .mobile-booking .button { display: flex; width: 100%; }
  .overview-lower { margin-top: 23px; }
  .membership, .detail-grid > .membership { min-height: 201px; padding: 17px 18px; }
  .progress-panel { padding: 16px; gap: 10px; }
  .booking-spot { min-height: 198px; }
  .booking-copy { padding: 16px 12px 16px 15px; }
  .booking-copy .button { display: none; }
  .club-strip { padding: 9px; }
  .footer { padding-bottom: calc(75px + env(safe-area-inset-bottom)); }
  .mobile-nav { display: flex; position: fixed; inset: auto 0 0; z-index: 6; padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .mobile-nav a { min-width: 0; flex: 1; display: grid; gap: 2px; justify-items: center; padding: 5px 1px; color: var(--muted); font-size: clamp(.62rem, 2.6vw, .73rem); font-weight: 650; }
  .mobile-nav a[aria-current] { color: var(--wine); }
  .mobile-nav .icon { width: 19px; height: 19px; }
  .padded { padding: 16px; }
  .manager-card { grid-row: 1; }
  .compare { padding-inline: 6px; }
  .compare table { font-size: .73rem; }
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --page: #221b1d; --surface: #2e2427; --ink: #fbf0e9; --muted: #ccb9b0; --wine: #f3bdc7; --wine-dark: #edcad0; --rose: #4a303a; --line: #4e3b3e; --green: #c1e0c7; --success: #2d4034; }
  .button.primary, .tabs button[aria-pressed=true] { color: #311d26; }
  .button.primary:hover { background: var(--wine-dark); }
  .card-action { color: #502233; }
  .booking-spot { background: #45342d; }
  .booking-copy p:not(.eyebrow) { color: #e0cfc4; }
  .conversation-body { background: #261e20; }
  .progress-track { background: #4a3739; }
  .field input, .field textarea, .field select { border-color: #675055; }
  .form-error { color: #ffb8bd; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
