:root {
  --ink: #1B2430;
  --ink-soft: #2A3644;
  --cream: #F6F3EC;
  --paper: #FFFFFF;
  --brass: #C9A063;
  --brass-dark: #A8813F;
  --text-muted: #6B7280;
  --line: #E4DFD3;
  --radius: 4px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOPBAR */
.topbar {
  background: var(--ink);
  color: var(--cream);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
.mode-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass);
  border: 1px solid var(--brass-dark);
  padding: 4px 10px;
  border-radius: 999px;
}

/* HERO */
.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin: 0 0 12px;
}
.hero-text h1 {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.1;
}
.hero-desc {
  color: #C7CDD6;
  font-size: 1rem;
  margin: 0 0 20px;
  max-width: 46ch;
}
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--brass);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* BLUEPRINT DIVIDER — signature element */
.blueprint-divider {
  color: var(--brass-dark);
  height: 40px;
  overflow: hidden;
}
.blueprint-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 40px;
  padding-bottom: 8px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.gallery img:hover { opacity: 0.85; }

/* AMENITIES */
.amenities-section {
  padding: 40px 0;
}
.amenities-section h2,
.booking-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 20px;
}
.amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}
.amenities li {
  padding-left: 20px;
  position: relative;
  color: #333;
  font-size: 0.95rem;
}
.amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--brass);
  border-radius: 50%;
}

/* BOOKING */
.booking-section {
  padding: 40px 0 64px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.calendar-card, .guest-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
#dateRange {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--sans);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
}
.hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 10px 0 0;
}
.price-breakdown {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.price-breakdown .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: #444;
}
.price-breakdown .row.total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 10px;
}

.guest-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guest-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.guest-form input {
  padding: 10px 12px;
  font-size: 0.98rem;
  font-family: var(--sans);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.guest-form button {
  margin-top: 8px;
  padding: 13px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.guest-form button:hover:not(:disabled) { background: var(--ink-soft); }
.guest-form button:disabled {
  background: #C9C4B6;
  cursor: not-allowed;
}
.form-msg {
  min-height: 1.2em;
  font-size: 0.85rem;
  margin: 0;
}
.form-msg.error { color: #B3372A; }
.form-msg.ok { color: #2F7A46; }

/* STATUS */
.status-section { padding-bottom: 64px; }
.status-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.status-card h3 {
  font-family: var(--serif);
  margin-top: 0;
}

/* FOOTER */
.site-footer {
  background: var(--ink);
  color: #9AA3AE;
  font-size: 0.82rem;
  padding: 20px 0;
}

@media (max-width: 780px) {
  .hero-grid, .booking-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 2rem; }
}
