/* =====================================================================
   Standalone "door" pages -- Private Dining & Catering (/private-dining/)
   and Business Inquiries (/business/). Separate stylesheet from the
   shop's own style.css (which stays untouched/pristine) -- these pages
   never load the shop, the cart, or checkout, so none of that CSS is
   needed here and nothing here can ever affect the shop.

   Same design tokens as style.css (--maroon, --cream-bg, etc., repeated
   here rather than shared via import so this file has zero dependency on
   the shop's stylesheet) and the same visual language as the originally
   approved Claude Artifact design
   (https://claude.ai/artifact/LLQ4smjERzJcx8EBp6aVrP). Full-page layout
   (.wrap/.door) rather than cards squeezed into the shop's narrower
   side-margin system -- this is what fixes the cramped margins/alignment
   from the previous (single-page) attempt. ===================== */

:root {
  --cream-bg: #E7E0D3;
  --cream-panel: #F8F2E6;
  --tan-panel: #EFE5D2;
  --ink: #2C2422;
  --dark-panel: #2C2422;
  --dark-text: #E9DECB;
  --maroon: #6B1F2A;
  --maroon-dark: #4A141C;
  --maroon-hover: #8A2A38;
  --border-tan: #DDD2BE;
  --border-tan2: #C7A98C;
  --muted: #6F6557;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--cream-bg); color: var(--ink); font-family: 'Lato', sans-serif; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Libre Baskerville', Georgia, serif; font-weight: 400; margin: 0; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; }
.side-margin { padding-inline: 20px; }

/* ---- back-to-home header, identical pattern on every door page ---- */
.door-header {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 24px 20px 10px;
}
.door-header a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.door-header-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.door-header-name { font-family: 'Libre Baskerville', Georgia, serif; font-size: 19px; color: var(--ink); }
.door-header-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.door-back-link {
  display: block; text-align: center; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding-bottom: 20px;
}
.door-back-link:hover { color: var(--maroon); }

/* ---- site-wide nav, same markup/behavior as style.css's/books.css's
   .doors-nav/.books-nav -- repeated here (not shared via import) for the
   same reason the design tokens above are repeated. ---- */
.doors-nav {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  padding: 0 22px 16px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.doors-nav a { text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: 3px; }
.doors-nav a:hover { color: var(--maroon); border-color: var(--maroon); }
.doors-nav a[aria-current="page"] { color: var(--maroon); font-weight: 700; border-color: var(--maroon); }

.door { padding-block: 40px 64px; }
.door-inner { display: grid; gap: 32px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--maroon); font-weight: 700; margin-bottom: 10px; }
.eyebrow-dark { color: #D7A9A0; }
.lead { font-size: 16px; line-height: 1.55; }

.btn {
  display: inline-block; text-align: center; text-decoration: none; font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 15px; letter-spacing: 0.02em; padding: 15px 28px; border-radius: 999px; cursor: pointer; border: none; width: 100%;
}
.btn-outline-dark { background: transparent; color: var(--dark-text); border: 1.5px solid rgba(233,222,203,0.6); }
.btn-outline-dark:hover { background: rgba(233,222,203,0.12); }
.btn-outline-ink { background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon); }
.btn-outline-ink:hover { background: var(--tan-panel); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---- form pieces shared by both door pages ---- */
.field-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.field {
  border: 1.5px solid var(--border-tan2); border-radius: 10px; padding: 13px; font-size: 15px;
  font-family: 'Lato', sans-serif; background: #FFFFFF; color: var(--ink); width: 100%;
}
.field:focus { outline: 2px solid var(--maroon); outline-offset: 1px; }
textarea.field { resize: vertical; min-height: 84px; }
.inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.form-card { border-radius: 18px; padding: 26px 22px; margin-top: 24px; }
.form-card-title { font-family: 'Libre Baskerville', Georgia, serif; font-size: 20px; margin-bottom: 4px; }
.form-card-sub { font-size: 13px; line-height: 1.45; margin-bottom: 18px; }
.blocked-note { background: #F7E4DE; border: 1px solid #E3B6A9; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.45; color: #7A2A1E; }
.fulfillment-note { background: var(--tan-panel); border: 1px solid var(--border-tan); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.45; color: var(--ink); margin-top: 14px; }
.hidden { display: none !important; }

/* Honeypot -- see backend/src/honeypot.js. Off-screen (not display:none,
   some bots skip that), unreachable by Tab, hidden from assistive tech. */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Private Dining & Catering (#dining) -- dark panel ---- */
.dining-section { background: var(--dark-panel); color: var(--dark-text); }
.dining-byline { font-family: 'Libre Baskerville', Georgia, serif; font-style: italic; font-size: 17px; color: #D7A9A0; margin-top: 6px; }
.dining-lead { color: var(--dark-text); max-width: 48ch; margin-block: 16px 24px; }
.service-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.service-pill { border: 1px solid rgba(233,222,203,0.35); border-radius: 999px; padding: 7px 16px; font-size: 13px; }
.dining-form-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(233,222,203,0.18); }
.dining-form-card .field { background: rgba(233,222,203,0.08); border-color: rgba(233,222,203,0.3); color: var(--dark-text); }
.dining-form-card .field::placeholder { color: rgba(233,222,203,0.45); }
.dining-form-card .form-card-sub { color: rgba(233,222,203,0.7); }
.dining-photo-frame { border-radius: 18px; overflow: hidden; border: 1px solid rgba(233,222,203,0.18); box-shadow: 0 22px 48px -22px rgba(0,0,0,0.55); }
.dining-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---- Business Inquiries (#business) -- light tan panel, no photo ---- */
.business-section { background: var(--cream-bg); }
.business-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.business-lead-big {
  font-family: 'Libre Baskerville', Georgia, serif; font-style: italic; font-size: clamp(17px, 2.2vw, 21px);
  color: var(--muted); max-width: 42ch; margin: 16px auto 0;
}
.business-form-card { background: var(--tan-panel); border: 1px solid var(--border-tan); text-align: left; }
.inquiry-form-two-col .business-full { grid-column: 1 / -1; }

@media (min-width: 760px) {
  .side-margin { padding-inline: clamp(20px, 5vw, 64px); }
  .dining-door-inner { grid-template-columns: 1.05fr 1fr; }
  .dining-photo { aspect-ratio: 3/4; }
  .inquiry-form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
}
