@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #faf5f1;
  --bg-2: #fffdfb;
  --panel: #ffffff;
  --line: #eadfd9;
  --text: #2a1a1d;
  --muted: #7a6468;
  --brand: #70373e;
  --brand-2: #57282e;
  --brand-soft: #f4e8e7;
  --ok: #2f7d55;
  --warn: #9a6b12;
  --bad: #b23a3a;
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: -0.01em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 245, 241, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--brand); text-decoration: none; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; }
.brand span { color: var(--brand); }
.site-header nav { display: flex; gap: 20px; align-items: center; }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-header nav a:hover { color: var(--text); }
@media (max-width: 640px) { .site-header nav a.hide-sm { display: none; } }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 10%, rgba(112, 55, 62, .10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(214, 170, 160, .22), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; }
.hero .mark { width: 96px; height: 96px; margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem var(--font); cursor: pointer; text-decoration: none; transition: .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Sections */
section { padding: 72px 0; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.space-card { border-top: 4px solid var(--accent, var(--brand)); }
.space-card .meta { display: flex; gap: 16px; color: var(--muted); font-size: .9rem; margin-top: 12px; }
.package-card .price { font-family: var(--display); font-size: 2.2rem; font-weight: 600; color: var(--brand-2); }
.package-card .price small { font: 400 .9rem var(--font); color: var(--muted); }

/* Form */
.form-card { box-shadow: 0 1px 2px rgba(42, 26, 29, .04), 0 12px 32px rgba(42, 26, 29, .05); background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 40px); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-family: var(--display); font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 500; color: var(--muted); }
label .req { color: var(--brand); }
input, select, textarea {
  width: 100%; background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
  font: 1rem var(--font);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
input[type="date"], input[type="time"] { color-scheme: light; }
textarea { min-height: 100px; resize: vertical; }
.field .error { color: var(--bad); font-size: .85rem; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.space-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.space-option { position: relative; }
.space-option input { position: absolute; opacity: 0; }
.space-option label {
  display: block; height: 100%; cursor: pointer; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-left: 4px solid var(--accent, var(--line));
}
.space-option input:checked + label { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); border-left-color: var(--accent); }
.space-option input:focus-visible + label { outline: 2px solid var(--brand-2); }
.space-option input:disabled + label { opacity: .45; cursor: not-allowed; }
.space-option .name { font-weight: 600; display: block; }
.space-option .sub { font-size: .85rem; color: var(--muted); }
.space-option .avail { font-size: .8rem; margin-top: 6px; display: block; }
.avail.ok { color: var(--ok); }
.avail.partial { color: var(--warn); }
.avail.no { color: var(--bad); }

.estimate {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; border-radius: 12px; background: rgba(112, 55, 62, .1); border: 1px solid rgba(112, 55, 62, .3);
  margin-bottom: 24px;
}
.estimate strong { font-family: var(--display); font-size: 2rem; color: var(--brand-2); }
.estimate .muted { font-size: .85rem; }

.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; }
.alert-error { background: rgba(178, 58, 58, .12); border: 1px solid rgba(178, 58, 58, .4); color: var(--bad); }
.alert-ok { background: rgba(47, 125, 85, .12); border: 1px solid rgba(47, 125, 85, .4); }

.success { text-align: center; padding: 48px 20px; }
.success .ref { font-family: var(--display); font-size: 2.4rem; color: var(--brand-2); letter-spacing: .04em; margin: 8px 0 16px; }

/* Manage page */
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; text-transform: capitalize; }
.status-enquiry { background: rgba(154, 107, 18, .12); color: var(--warn); }
.status-provisional { background: rgba(112, 55, 62, .18); color: var(--brand-2); }
.status-confirmed, .status-completed { background: rgba(47, 125, 85, .15); color: var(--ok); }
.status-cancelled, .status-declined { background: rgba(178, 58, 58, .15); color: var(--bad); }
dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
dl.details dt { color: var(--muted); }
dl.details dd { margin: 0; }
.thread { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.msg { padding: 12px 14px; border-radius: 12px; max-width: 85%; background: var(--panel); border: 1px solid var(--line); white-space: pre-wrap; }
.msg.mine { align-self: flex-end; background: rgba(112, 55, 62, .14); border-color: rgba(112, 55, 62, .3); }
.msg.status { align-self: center; background: transparent; border-style: dashed; color: var(--muted); font-size: .9rem; }
.msg time { display: block; font-size: .75rem; color: var(--muted); margin-top: 4px; }

footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

label.checkline { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .95rem; cursor: pointer; padding-top: 28px; }
label.checkline input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
#terms-field label.checkline { padding-top: 10px; }
#terms-field { margin-bottom: 20px; }
details.more-details, details.terms { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: var(--panel); }
details.more-details summary, details.terms summary { cursor: pointer; font-weight: 500; color: var(--brand); }
details.more-details[open] summary { margin-bottom: 14px; }
#terms-text { white-space: pre-wrap; color: var(--muted); font-size: .9rem; margin-top: 10px; max-height: 260px; overflow: auto; }

.avail-note { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.avail-note.ok { background: rgba(47, 125, 85, .1); color: var(--ok); }
.avail-note.partial { background: rgba(154, 107, 18, .1); color: var(--warn); }
.avail-note.no { background: rgba(178, 58, 58, .1); color: var(--bad); }

.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about p { color: var(--muted); font-size: 1.05rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.facts strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--brand); line-height: 1.1; }
.facts span { color: var(--muted); font-size: .9rem; }
.find-us { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 40px; }
.find-us p { margin: 0 0 4px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 24px; } }

.entry-drinks { gap: 10px; }
.drink-list { display: flex; flex-direction: column; gap: 10px; }
.drink-line { display: grid; grid-template-columns: 1fr 130px 40px; gap: 8px; align-items: center; }
.drink-line .dl-note { grid-column: 1 / -1; min-height: 70px; }
.dl-remove { width: 40px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.dl-remove:hover { color: var(--bad); border-color: var(--bad); }
.btn-small { padding: 8px 14px; font-size: .9rem; align-self: flex-start; }

.award {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid rgba(112, 55, 62, .25); color: var(--brand); font-weight: 600; font-size: .85rem;
  box-shadow: 0 1px 2px rgba(42, 26, 29, .05);
}
.award-star { color: #b8892f; font-size: 1rem; line-height: 1; }
.hero .award + .eyebrow { display: block; }
.hero .mark { display: block; }
.site-header nav a.btn-primary, .site-header nav a.btn-primary:hover { color: #fff; }

.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.reviews-head h2 { margin-bottom: 6px; }
.google-summary { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.google-summary strong { color: var(--text); font-size: 1.1rem; }
.stars { display: inline-flex; gap: 1px; font-size: 1.05rem; line-height: 1; color: #d9cfc9; }
.stars .on { color: #c99a2e; }
.stars .half { background: linear-gradient(90deg, #c99a2e 50%, #d9cfc9 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { margin: 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.4; color: var(--text); flex: 1; }
.review-card blockquote::before { content: '\201C'; color: var(--brand); }
.review-card blockquote::after { content: '\201D'; color: var(--brand); }
.review-card figcaption { font-size: .9rem; }

/* Food options as cards in the enquiry form (pages without the Food section) */
.food-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.food-choice {
  text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit;
}
.food-choice:hover { border-color: var(--brand); }
.food-choice[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
.food-choice strong { font-weight: 600; }
.food-choice .food-price { color: var(--brand); font-weight: 600; font-size: .9rem; }
.food-choice small { color: var(--muted); font-size: .85rem; line-height: 1.45; }

/* Group table bookings: picking a time and pre-ordering */
.pick-times { display: flex; flex-wrap: wrap; gap: 8px; }
.po-section { border: 0; padding: 0; margin: 18px 0 0; }
.po-section legend { font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.po-item { display: grid; grid-template-columns: 1fr 76px; gap: 6px 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.po-qty { text-align: center; font-size: 1rem; padding: 8px; }
.po-note { grid-column: 1 / -1; font-size: .9rem; padding: 6px 8px; }
.po-item .po-note:placeholder-shown:not(:focus) { opacity: .7; }

.po-guest { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.po-guest-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.po-guest select { font: inherit; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; max-width: 100%; }
.po-dishes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin-top: 8px; }
.po-dishes:empty { display: none; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-row input { flex: 1 1 240px; min-width: 0; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.po-guest-head .po-name { font: inherit; font-weight: 600; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; flex: 1 1 180px; min-width: 0; }
