@import "tailwindcss";

@font-face {
  font-family: "Aboreto";
  src: url("/Aboreto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; margin: 0; min-height: 100%; overflow-x: hidden; background: #120c0d; }
body { color: #f6ead8; font-family: Arial, Helvetica, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }

.venue-widget {
  position: relative;
  width: 100%;
  min-height: 680px;
  height: 100vh;
  max-height: 960px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 48% 42%, #35201e 0%, #1b1011 48%, #0d090a 100%);
  color: #f6ead8;
}

.venue-widget::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 22%),
    radial-gradient(circle at 50% 46%, transparent 51%, rgba(5, 2, 2, 0.46) 100%);
}

.venue-canvas { position: absolute; inset: 0; }
.venue-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; }

.venue-loading {
  position: absolute; z-index: 6; inset: 0; display: grid; place-items: center;
  background: #120c0d; color: #d7b98a; letter-spacing: .18em; text-transform: uppercase; font-size: 10px;
}

.venue-brand {
  position: absolute; z-index: 3; top: 28px; left: 30px; pointer-events: none;
  padding: 11px 14px 10px; border: 1px solid rgba(215,185,138,.25);
  border-radius: 14px; background: rgba(17,10,11,.46); backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18); text-shadow: 0 3px 20px #000;
}
.venue-brand span, .venue-brand small { display: block; }
.venue-brand span { font: 400 22px/1 "Aboreto", Georgia, serif; letter-spacing: .18em; }
.venue-brand small { margin-top: 6px; color: #d7b98a; font-size: 8px; letter-spacing: .24em; }

.venue-help {
  position: absolute; z-index: 3; top: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 18px; padding: 10px 16px; border: 1px solid rgba(215,185,138,.25);
  background: rgba(18,11,12,.52); backdrop-filter: blur(14px); color: rgba(246,234,216,.66);
  border-radius: 999px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
}
.venue-help b { color: #f1d7a8; font-weight: 600; }

.venue-reset {
  position: absolute; z-index: 4; top: 28px; right: 30px; padding: 11px 15px;
  border: 1px solid rgba(215,185,138,.34); background: rgba(18,11,12,.58); color: #f2d7a6;
  border-radius: 999px; cursor: pointer; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(12px);
}
.venue-reset:hover, .venue-reset:focus-visible { outline: 1px solid #f2d7a6; background: rgba(90,23,37,.8); }

.table-panel-backdrop {
  position: absolute; z-index: 7; inset: 0; width: 100%; max-width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; padding: 28px 30px;
  background: transparent; pointer-events: none;
}
.table-panel {
  position: relative; width: min(540px, calc(100% - 60px)); max-width: 100%; max-height: calc(100vh - 56px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; pointer-events: auto;
  padding: 46px 52px 42px; border: 4px solid #9a7c4e; border-radius: 48px;
  background: #4a111d; color: #ffc9ad; text-align: center;
  box-shadow: 0 36px 110px rgba(0,0,0,.72), inset 0 0 0 1px rgba(255,222,172,.1);
  animation: panel-in .25s cubic-bezier(.2,.75,.25,1);
}
.table-panel-close {
  position: absolute; top: 15px; right: 23px; border: 0; background: transparent; color: #b78643;
  cursor: pointer; font: 34px/1 "Aboreto", Georgia, serif;
}
.table-panel-close:hover, .table-panel-close:focus-visible { color: #ffd1b6; outline: none; }
.panel-eyebrow {
  margin: 0 0 10px; color: #ffcbb1; font: 500 16px/1.2 "Avenir Next", Avenir, Montserrat, Arial, sans-serif;
  letter-spacing: .025em; text-transform: uppercase;
}
.table-panel h2 {
  margin: 0; color: #b7833f; font: 400 clamp(54px, 6.4vw, 76px)/.98 "Aboreto", Georgia, serif;
  letter-spacing: .015em; text-transform: uppercase;
}
.panel-ornament { display: flex; justify-content: center; width: 72%; margin: 18px auto 21px; }
.panel-ornament img { display: block; width: 100%; height: auto; object-fit: contain; }
.table-panel h3 { margin: 0 0 8px; color: #ffd0b4; font: 400 clamp(26px, 3.6vw, 35px)/1.1 "Aboreto", Georgia, serif; text-transform: uppercase; }
.panel-intro { margin: 0; color: #ffcbb1; font: 500 17px/1.4 "Avenir Next", Avenir, Montserrat, Arial, sans-serif; }
.panel-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 27px; }
.panel-actions a {
  min-height: 136px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px;
  border: 2px solid #b7833f; border-radius: 20px; color: #b7833f; text-decoration: none; background: rgba(255,255,255,.025);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.panel-actions a:hover, .panel-actions a:focus-visible { outline: none; transform: translateY(-3px); background: rgba(183,131,63,.13); color: #ffd0b4; }
.panel-icon-image { display: block; width: 58px; height: 58px; object-fit: contain; }
.panel-actions small { font: 400 12px/1 "Aboreto", Georgia, serif; letter-spacing: .07em; text-transform: uppercase; }
.sevenrooms-action {
  min-height: 86px; margin-top: 24px; padding: 12px 14px 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 9px;
  border-radius: 20px; background: #b7833f; color: #4a111d; text-decoration: none; transition: transform .18s ease, background .18s ease;
}
.sevenrooms-action:hover, .sevenrooms-action:focus-visible { outline: 2px solid #ffd0b4; transform: translateY(-2px); background: #c89450; }
.sevenrooms-action > span { flex: 1; white-space: nowrap; font: 400 clamp(22px, 2.3vw, 27px)/1.02 "Aboreto", Georgia, serif; letter-spacing: .005em; text-transform: uppercase; text-align: left; }
.sevenrooms-action img { display: block; width: 84px; height: 52px; flex: 0 0 auto; object-fit: contain; }

.request-form-panel { width: min(850px, calc(100% - 80px)); padding: 28px 56px 32px; }
.request-form-panel .panel-eyebrow { margin-bottom: 4px; }
.request-form-panel h2 { font-size: clamp(43px, 4.8vw, 62px); }
.panel-capacity { margin: 5px 0 0; color: #ffd0b4; font: 500 clamp(12px, 1.25vw, 16px)/1.2 "Avenir Next", Avenir, Arial, sans-serif; letter-spacing: .025em; text-transform: uppercase; }
.request-form-panel .panel-ornament { width: 38%; margin: 9px auto 12px; }
.request-form-panel h3 { margin-bottom: 17px; white-space: nowrap; font-size: clamp(22px, 2.35vw, 30px); }
.table-request-form { margin: 0; }
.request-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.request-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.request-field-grid > label { min-width: 0; }
.table-request-form label { position: relative; display: block; }
.table-request-form label > span {
  position: absolute; z-index: 1; top: 50%; left: 22px; transform: translateY(-50%); pointer-events: none;
  color: #ffd0b4; font: 400 clamp(14px, 1.45vw, 18px)/1 "Aboreto", Georgia, serif; letter-spacing: .025em; text-transform: uppercase;
}
.table-request-form input, .table-request-form select, .table-request-form textarea {
  display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; border: 2px solid #9f7e4b; border-radius: 13px; outline: 0;
  background: rgba(255,255,255,.018); color: #ffe0ca; font: 500 15px/1.3 "Avenir Next", Avenir, Arial, sans-serif;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.table-request-form input, .table-request-form select { height: 52px; padding: 20px 18px 6px; }
.table-request-form select { appearance: auto; cursor: pointer; font-family: "Aboreto", Georgia, serif; font-size: 14px; color-scheme: dark; }
.table-request-form textarea { min-height: 92px; resize: vertical; padding: 36px 18px 11px; }
.table-request-form input:focus, .table-request-form select:focus, .table-request-form textarea:focus { border-color: #d4a85c; background: rgba(255,255,255,.04); box-shadow: 0 0 0 3px rgba(212,168,92,.12); }
.table-request-form label:focus-within > span, .table-request-form label:has(input:not(:placeholder-shown)) > span {
  top: 10px; transform: none; font-size: 9px; opacity: .76;
}
.request-picker > span { top: 10px !important; transform: none !important; font-size: 9px !important; opacity: .76; }
.request-picker input { color-scheme: dark; padding-top: 20px; font-family: "Aboreto", Georgia, serif; font-size: 14px; letter-spacing: .015em; }
.request-picker input[type="date"] {
  -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%;
}
.request-picker input[type="date"]::-webkit-date-and-time-value {
  min-height: 0; padding: 0; text-align: left;
}
.request-time-select select { padding-top: 20px; letter-spacing: .015em; }
.request-time-select option { background: #fffaf5; color: #4a111d; font-family: "Aboreto", Georgia, serif; }
.request-time-select option:disabled { color: #6d595d; }
.request-picker input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .8; filter: sepia(1) saturate(.55) hue-rotate(350deg) brightness(1.45); }
.request-comments { margin-top: 10px; }
.request-comments > span { top: 17px !important; transform: none !important; }
.request-submit {
  width: 100%; min-height: 50px; margin-top: 10px; border: 2px solid #d3a45c; border-radius: 14px;
  background: #b7833f; color: #4a111d; cursor: pointer; font: 400 clamp(16px, 1.7vw, 21px)/1 "Aboreto", Georgia, serif;
  letter-spacing: .04em; text-transform: uppercase; transition: transform .18s ease, background .18s ease;
}
.request-submit:hover, .request-submit:focus-visible { outline: none; transform: translateY(-2px); background: #ca9650; }
.request-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.request-status { margin: 11px 0 0; text-align: center; font: 600 13px/1.4 "Avenir Next", Avenir, Arial, sans-serif; }
.request-status.success { color: #f7d4ae; }
.request-status.error { color: #ffb7b7; }
.request-contact-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: min(540px, 100%); margin: 13px auto 0; }
.request-contact-actions a {
  min-height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 2px solid #9f7e4b; border-radius: 16px; color: #b7833f; text-decoration: none; background: rgba(255,255,255,.018);
  transition: transform .18s ease, background .18s ease;
}
.request-contact-actions a:hover, .request-contact-actions a:focus-visible { outline: none; transform: translateY(-2px); background: rgba(183,131,63,.12); }
.request-contact-actions .panel-icon-image { width: 40px; height: 40px; }
.request-contact-actions small { font: 400 11px/1.15 "Aboreto", Georgia, serif; letter-spacing: .035em; text-transform: uppercase; }
.request-sevenrooms-logo { display: block; width: 48px; height: 38px; object-fit: contain; }

.venue-powered {
  position: absolute; z-index: 3; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(246,234,216,.38); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; pointer-events: none;
}

@keyframes panel-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 720px) {
  .venue-widget { min-height: 640px; height: 78vh; max-height: 820px; -webkit-text-size-adjust: 100%; }
  .venue-brand { top: 18px; left: 17px; }
  .venue-brand span { font-size: 17px; }
  .venue-help { top: auto; bottom: 18px; left: 16px; transform: none; gap: 9px; padding: 8px 10px; }
  .venue-help span:last-child { display: none; }
  .venue-reset { top: 18px; right: 16px; }
  .table-panel-backdrop { padding: 8px; align-items: flex-end; justify-content: center; }
  .table-panel { width: 100%; max-height: calc(100vh - 16px); padding: 34px 18px 24px; border-width: 3px; border-radius: 31px; }
  .table-panel-close { top: 10px; right: 14px; font-size: 27px; }
  .panel-eyebrow { font-size: 11px; }
  .table-panel h2 { font-size: 45px; }
  .panel-ornament { margin: 14px auto 17px; }
  .table-panel h3 { font-size: 23px; }
  .panel-intro { font-size: 13px; }
  .panel-actions { gap: 8px; margin-top: 20px; }
  .panel-actions a { min-height: 103px; gap: 8px; border-radius: 14px; }
  .panel-icon-image { width: 46px; height: 46px; }
  .panel-actions small { font-size: 9px; }
  .sevenrooms-action { min-height: 72px; margin-top: 16px; padding: 9px 12px 9px 18px; border-radius: 14px; gap: 8px; }
  .sevenrooms-action > span { font-size: clamp(16px, 5.2vw, 21px); }
  .sevenrooms-action img { width: 72px; height: 46px; }
  .request-form-panel { width: calc(100% - 16px); max-width: calc(100% - 16px); padding: 25px 18px 22px; }
  .request-form-panel h2 { font-size: 34px; }
  .panel-capacity { margin-top: 3px; font-size: 9px; }
  .request-form-panel .panel-ornament { width: 45%; margin: 7px auto 9px; }
  .request-form-panel h3 { margin-bottom: 11px; white-space: nowrap; font-size: clamp(13px, 4vw, 17px); }
  .request-field-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px; }
  .table-request-form label > span { left: 10px; font-size: clamp(10px, 2.9vw, 12px); white-space: nowrap; }
  .table-request-form input, .table-request-form select { height: 43px; min-width: 0; padding: 18px 9px 4px; font-size: 16px; }
  .request-picker input[type="date"] {
    width: 100% !important; height: 43px !important; min-height: 43px !important; max-height: 43px !important;
    padding: 18px 9px 4px !important; line-height: 1.1;
  }
  .request-picker input, .request-picker select { padding-top: 18px; font-size: 16px; }
  .table-request-form textarea { min-height: 68px; padding: 28px 10px 8px; font-size: 16px; }
  .request-comments { margin-top: 7px; }
  .request-comments > span { top: 11px !important; }
  .request-submit { min-height: 43px; margin-top: 7px; font-size: 14px; }
  .request-contact-actions { gap: 5px; width: min(390px, 100%); margin-top: 9px; }
  .request-contact-actions a { min-height: 70px; gap: 5px; border-radius: 10px; }
  .request-contact-actions .panel-icon-image { width: 30px; height: 30px; }
  .request-contact-actions small { font-size: 9px; line-height: 1.1; }
  .request-sevenrooms-logo { width: 34px; height: 27px; }
  .venue-powered { display: none; }
}

@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; } }
