  :root {
    --cream: #f5f0e8;
    --dark: #1a1a18;
    --gold: #c9a84c;
    --gold-light: #e8d5a3;
    --muted: #6b6b60;
    --card-bg: #ffffff;
    --border: #e2ddd4;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    min-height: 100vh;
  }

  /* ── LISTING PAGE ── */
  #listing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
  }

  #listing-page .grid {
    position: relative;
    z-index: 2;
  }

  header {
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
  }

  header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  }

  .eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
  }

  h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--dark);
  }

  h1 em {
    font-style: italic;
    color: var(--gold);
  }

  .subtitle {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.03em;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 3rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
  }

  .card {
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
    pointer-events: all;
  }

  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  }

  .card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
  }

  .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
  }

  .card:hover .card-img-wrap img {
    transform: scale(1.06);
  }

  .card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--dark);
    color: var(--gold-light);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 2px;
  }

  .card-body {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .card-location {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.35rem;
  }

  .card-tagline {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1rem;
  }

  .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .card-rate {
    font-size: 0.82rem;
    color: var(--muted);
  }

  .card-rate strong {
    display: block;
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 500;
  }

  .card-cta {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
  }

  .card:hover .card-cta { gap: 0.6rem; }

  footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.78rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    letter-spacing: 0.05em;
  }

  /* ── DETAIL PAGE ── */
  #detail-page {
    display: none;
    min-height: 100vh;
    flex-direction: column;
  }

  #detail-page.active {
    display: flex;
  }

  .detail-hero {
    position: relative;
    height: 55vh;
    min-height: 340px;
    overflow: hidden;
  }

  .detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,24,0.2) 0%, rgba(26,26,24,0.65) 100%);
  }

  .detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    color: white;
  }

  .back-btn {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
  }

  .back-btn:hover { background: rgba(255,255,255,0.25); }

  .detail-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
  }

  .detail-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
  }

  .detail-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    width: 100%;
  }

  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
  }

  .info-card-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }

  .info-card-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--dark);
  }

  .info-card-sub {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }

  .rates-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
  }

  .rates-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid var(--border);
  }

  .rates-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .rates-table tr:last-child td { border-bottom: none; }
  .rates-table tr:hover td { background: #faf8f4; }

  .rate-highlight {
    color: var(--gold);
    font-weight: 500;
  }

  .amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem;
    margin-bottom: 2.5rem;
  }

  .amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--dark);
  }

  .amenity-icon {
    width: 20px;
    height: 20px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
  }

  .cta-block {
    background: var(--dark);
    border-radius: 4px;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .cta-block p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cta-block strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: white;
    font-weight: 400;
    margin-bottom: 0.3rem;
  }

  .cta-btn {
    background: var(--gold);
    color: var(--dark);
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    cursor: pointer;
    border-radius: 2px;
    white-space: nowrap;
    transition: opacity 0.2s;
  }

  .cta-btn:hover { opacity: 0.85; }

  /* ── PHOTO GALLERY ── */
  .photo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }
  .photo-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid var(--border);
    cursor: zoom-in;
    transition: opacity 0.2s;
  }
  .photo-gallery img:hover { opacity: 0.88; }
  .photo-gallery img.full-width {
    grid-column: 1 / -1;
    height: 300px;
  }

  /* ── FLOOR PLAN ── */
  .floorplan-wrap {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .floorplan-wrap img {
    max-width: 380px;
    width: 100%;
    border-radius: 2px;
  }
  .floorplan-stats { flex: 1; min-width: 180px; }
  .floorplan-stat {
    margin-bottom: 1rem;
  }
  .floorplan-stat-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2rem;
  }
  .floorplan-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark);
  }
  .floorplan-stat-sub {
    font-size: 0.8rem;
    color: var(--muted);
  }

  /* ── BUILDING AMENITIES BADGES ── */
  .amenity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }
  .amenity-badge {
    background: white;
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .amenity-badge span { color: var(--gold); font-size: 0.7rem; }

  /* ── HIDDEN SECTIONS (shown only for downtown) ── */
  .downtown-only { display: none; }

  /* ── LIGHTBOX ── */
  #lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
  }
  #lightbox.open { display: flex; }
  #lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 2px;
  }
  #lightbox-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
  }
  #lightbox-close:hover { opacity: 1; }

  /* ── VACANCY BADGE ── */
  .badge-no-vacancy {
    background: #8b2020 !important;
    color: #ffd5d5 !important;
  }

  /* ── RATE DESCRIPTION ── */
  .rate-desc {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.2rem;
    font-weight: 300;
    line-height: 1.4;
  }

  /* ── CALENDAR ── */
  .calendar-section {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .calendar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }
  .calendar-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }
  .calendar-field input[type="date"] {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--cream);
    cursor: pointer;
  }
  .calendar-field input[type="date"]:focus {
    outline: none;
    border-color: var(--gold);
  }
  .nights-display {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--muted);
    min-height: 1.2em;
  }
  .nights-display strong { color: var(--gold); }

  /* ── BOOKING FORM ── */
  .booking-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 2.5rem;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }
  .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .form-field.full { grid-column: 1 / -1; }
  .form-field label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--cream);
    resize: vertical;
  }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus {
    outline: none;
    border-color: var(--gold);
  }
  .form-submit {
    margin-top: 1.25rem;
    background: var(--dark);
    color: var(--gold-light);
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    cursor: pointer;
    border-radius: 2px;
    transition: opacity 0.2s;
    width: 100%;
  }
  .form-submit:hover { opacity: 0.85; }
  .form-success {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: #f0faf0;
    border: 1px solid #b2dfb2;
    border-radius: 2px;
    color: #2d6a2d;
    font-size: 0.88rem;
    text-align: center;
  }

  /* ── RATES BLURB ── */
  .rates-blurb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem 3rem;
    text-align: center;
  }
  .rates-blurb p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
  }

  @media (max-width: 600px) {
    .grid { padding: 2rem 1.25rem 3rem; gap: 1.25rem; }
    header { padding: 2rem 1.25rem 1.25rem; }
    .detail-hero-content { padding: 1.5rem; }
    .detail-body { padding: 2rem 1.25rem 3rem; }
    .cta-block { flex-direction: column; align-items: flex-start; }
    .photo-gallery img { height: 150px; }
    .photo-gallery img.full-width { height: 200px; }
    .calendar-row { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .rates-blurb { padding: 0 1.25rem 2rem; }
  }