:root {
  --purple: #5a3a2a;      /* main brown (name kept so the rest of the CSS is unchanged) */
  --purple-2: #8a5e3e;    /* lighter brown */
  --lav: #f3eadb;         /* soft cream */
  --lav-2: #e4d6bf;       /* sand borders */
  --gold: #b8893f;
  --gold-2: #dcc08a;
  --bg: #faf5ec;          /* page cream */
  --paper: #fffbf4;       /* cards, inputs */
  --ink: #2e211a;
  --muted: #7a6a5c;
  --err: #b3261e;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@font-face { font-family: "DM Sans"; src: url(/fonts/dmsans.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--purple); margin: 0; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; }
h3 { font-size: 1.35rem; }
a { color: var(--purple); }
.muted { color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }

.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(250, 245, 236, .95); border-bottom: 1px solid var(--lav-2); }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--purple); text-decoration: none; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.top nav a:hover { color: var(--purple-2); }
.top nav a[data-tab]:not(.btn) { padding: 6px 2px; border-bottom: 2px solid transparent; }
.top nav a[aria-current="page"]:not(.btn) { color: var(--purple); border-bottom-color: var(--gold); font-weight: 600; }
.btn.small[aria-current="page"] { box-shadow: 0 0 0 3px var(--gold-2); }
.panel { min-height: calc(100vh - 140px); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.panel.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.card .btn.small { margin-top: 14px; }

.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: 600 1rem var(--sans);
  color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2)); padding: 14px 32px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(90, 58, 42, .25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(90, 58, 42, .32); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.small { padding: 8px 20px; font-size: .9rem; color: #fff !important; }
.btn.ghost { background: var(--paper); color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }

.rule { display: flex; justify-content: center; margin: 14px 0 32px; }
.rule span { width: 90px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.hero { text-align: center; padding: clamp(70px, 14vw, 150px) 20px clamp(60px, 10vw, 110px);
  background: radial-gradient(ellipse at 50% 0%, var(--lav-2), var(--bg) 70%); }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); font-weight: 500; letter-spacing: .02em; }
.eyebrow { text-transform: uppercase; letter-spacing: .35em; color: var(--gold); font-size: .85rem; margin: 0 0 10px; font-weight: 600; }
.lead { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--muted); margin: 0 0 32px; font-style: italic; }

.section { padding: clamp(50px, 8vw, 90px) clamp(16px, 4vw, 48px); max-width: 1100px; margin: 0 auto; }
.section.tint { max-width: none; background: var(--lav); }
.section.tint > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--lav-2); border-top: 3px solid var(--gold); border-radius: 18px; padding: 24px; box-shadow: 0 4px 16px rgba(90, 58, 42, .06); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card .meta { display: flex; justify-content: space-between; font-size: .92rem; color: var(--purple); font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery button { padding: 0; border: 0; background: var(--lav-2); border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(32, 20, 14, .92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* Booking */
.book { max-width: 760px; margin: 0 auto; }
.step { margin-bottom: 36px; }
.step h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff;
  font: 600 .95rem var(--sans); align-items: center; justify-content: center; }
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.pick button { text-align: left; background: var(--paper); border: 2px solid var(--lav-2); border-radius: 12px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); }
.pick button:hover { border-color: var(--purple-2); }
.pick button[aria-checked="true"] { border-color: var(--purple); background: var(--lav); box-shadow: 0 0 0 1px var(--purple); }
.pick strong { display: block; color: var(--purple); }
.pick small { color: var(--muted); }

.cal { background: var(--paper); border: 1px solid var(--lav-2); border-radius: 12px; padding: 14px; max-width: 420px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--serif); font-size: 1.25rem; color: var(--purple); }
.cal-head button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--lav-2); background: var(--paper); color: var(--purple); font-size: 1.3rem; cursor: pointer; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-week span { font-size: .75rem; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.cal-grid button:disabled { color: #cdbfa9; cursor: default; }
.cal-grid button.open { background: var(--lav); font-weight: 600; color: var(--purple); }
.cal-grid button.open:hover { background: var(--lav-2); }
.cal-grid button.sel { background: var(--purple); color: #fff; }
.cal-grid .blank { visibility: hidden; }
.cal-hint { color: var(--muted); font-style: italic; }

.times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.times button { border: 2px solid var(--lav-2); background: var(--paper); border-radius: 999px; padding: 8px 18px; font: inherit; color: var(--ink); cursor: pointer; }
.times button:hover { border-color: var(--purple-2); }
.times button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }

label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
input, textarea { display: block; width: 100%; margin-top: 4px; padding: 12px 14px; font: 1rem var(--sans); color: var(--ink);
  border: 1.5px solid var(--lav-2); border-radius: 10px; background: var(--paper); }
input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 1px; border-color: var(--purple-2); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); }
.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.err { color: var(--err); font-size: .9rem; margin: 4px 0; min-height: 0; }
.err:empty { display: none; }
.summary { background: var(--lav); border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 6px; color: var(--purple); }
.summary:empty { display: none; }
.done { max-width: 560px; margin: 0 auto; text-align: center; background: var(--lav); border-top: 3px solid var(--gold); border-radius: 12px; padding: 36px 24px; }
.done p { color: var(--muted); }

footer { display: flex; justify-content: center; gap: 14px; align-items: baseline; padding: 30px 20px; border-top: 1px solid var(--lav-2); }
footer .brand { font-size: 1.2rem; }

@media (max-width: 560px) { .top { flex-wrap: wrap; gap: 6px; } .top nav { gap: 14px; flex-wrap: wrap; } .top nav a { font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Privacy page */
footer a { font-size: .9rem; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) 20px; }
.legal .eyebrow, .legal h1, .legal > .muted { text-align: center; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 500; text-align: center; }
.legal h2 { font-size: 1.6rem; text-align: left; margin: 34px 0 10px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 10px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--lav-2); }
.legal th { color: var(--purple); background: var(--lav); }
@media (max-width: 600px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal td { display: block; } .legal thead { display: none; } .legal tr { border-bottom: 1px solid var(--lav-2); padding: 8px 0; } .legal td { border: 0; padding: 4px 0; } }
