:root {
  /* ── Neutrals: warm, gallery-like ── */
  --ink:            #16130F;   /* near-black, warm */
  --ink-soft:       #2E2823;
  --graphite:       #4A423A;
  --stone:          #8A8078;
  --bone:           #FBF9F6;   /* page ground */
  --bone-deep:      #F4EFE8;   /* tinted panel */
  --line:           #E6DFD5;   /* hairline */
  --line-strong:    #D6CCBE;

  /* ── Single accent: brass ── */
  --brass:          #B08D57;
  --brass-deep:     #8E6F41;
  --brass-light:    #D9C29C;
  --brass-wash:     #F3EADC;

  /* ── Muted sage, for "available" states ── */
  --sage:           #6E8C79;
  --sage-deep:      #3B5545;
  --sage-wash:      #EFF4F0;

  /* ── Legacy token names, remapped to the palette above ──
     Older rules still reference these; keeping them mapped means one
     place to change a colour rather than dozens. */
  --gold:        var(--brass);
  --gold-light:  var(--brass-light);
  --emerald:     var(--sage);
  --emerald-light: var(--sage);
  --royal-blue:  var(--ink);
  --royal-blue-light: var(--ink-soft);
  --maroon:      var(--brass-deep);
  --saffron:     var(--brass);
  --saffron-light: var(--brass-light);

  --bg:          var(--bone);
  --surface:     #FFFFFF;
  --surface-alt: var(--bone-deep);
  --text-primary:   var(--ink);
  --text-secondary: var(--graphite);
  --text-muted:     var(--stone);
  --border:      var(--line);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm:  0 1px 2px rgba(22,19,15,.04), 0 1px 3px rgba(22,19,15,.03);
  --shadow-md:  0 4px 16px rgba(22,19,15,.06);
  --shadow-lg:  0 18px 48px rgba(22,19,15,.10);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--ink);
  color: var(--bone);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--ink-soft);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.btn--full { width: 100%; }

/* Focus ring */
:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(251,249,246,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 25px;
  height: 25px;
  color: var(--brass);
  stroke-width: 1.3;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}
.logo-text em { font-style: normal; color: var(--brass); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 13px;
  right: 13px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link--cta {
  background: var(--ink);
  color: var(--bone) !important;
  border-radius: 999px;
  padding: 11px 20px;
  margin-left: 10px;
  transition: background var(--transition);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--brass); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--surface-alt); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Vendor form */
.vendor-form-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--royal-blue);
  margin-bottom: 36px;
  text-align: center;
}

/* Forms shared */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group > label span,
.form-fieldset legend span {
  color: var(--saffron);   /* the required-field asterisk */
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176,141,87,.14);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.vendor-form .form-group {
  margin-bottom: 24px;
}

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(46,125,50,.08);
  border: 1px solid rgba(46,125,50,.25);
  border-radius: var(--radius-sm);
  color: var(--emerald);
  font-size: .92rem;
  font-weight: 500;
  text-align: center;
}

.newsletter-input-group .btn--primary {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  flex-shrink: 0;
}

.newsletter-input-group .btn--primary:hover {
  background: var(--royal-blue-light);
  border-color: var(--royal-blue-light);
}

.contact-form .form-group {
  margin-bottom: 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  color: rgba(255,255,255,.9);
}

.footer-logo .logo-text strong {
  color: var(--gold-light);
}

.footer-tagline {
  font-size: .9rem;
  font-style: italic;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.footer-nav-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-nav-list a:hover {
  color: var(--gold-light);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-contact-list li {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}

.footer-contact-list a {
  color: var(--gold-light);
  transition: opacity var(--transition);
}

.footer-contact-list a:hover {
  opacity: .8;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.back-to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--saffron-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,111,0,.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Nav mobile */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }

  .nav-link--cta { margin-left: 0; }
  .vendor-form-section { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .newsletter-input-group .btn { width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .back-to-top { bottom: 20px; right: 20px; }
}

/* Form error message */
.form-error-msg {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(128,0,32,.06);
  border: 1px solid rgba(128,0,32,.2);
  border-radius: var(--radius-sm);
  color: var(--maroon);
  font-size: .9rem;
  font-weight: 500;
}

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */

/* Intersection Observer reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Pulse for featured badge */

/* Shimmer for pricing popular badge */

/* ============================================================
   INTERACTIVE FLOOR PLAN  (Hall A & B table plan)
   ============================================================ */

.floorplan-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.floorplan-status {
  font-size: .92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.2rem;
}

/* Legend */
.fp-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.6rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.fp-legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-secondary);
}
.fp-legend-swatch {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  flex-shrink: 0;
  border: 2px solid transparent;
}
.fp-legend-swatch--available { background: var(--sage-wash); border-color: var(--sage); }
.fp-legend-swatch--selected  { background: var(--brass); border-color: var(--brass); }
.fp-legend-swatch--taken     { background: var(--bone-deep); border-color: var(--line-strong); }

/* The plan keeps its proportions; on narrow screens it scrolls sideways */
.fp-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .5rem;
}

/* Outer box. Its aspect ratio is the venue's, widened by the margins that
   hold the hall names, exits and entrance so none of them sits on a table. */
.fp-plan {
  position: relative;
  min-width: 780px;          /* below this the table labels stop being legible */
  aspect-ratio: 1028 / 692;
  margin: 0 auto;
}

/* The hall floor itself. Table coordinates are percentages of THIS box, so
   the margins above can change without touching a single stored position. */
.fp-field {
  position: absolute;
  inset: 6.5% 4% 9% 6.5%;
}

.fp-room {
  position: absolute;
  inset: 0 0 7.7% 0;         /* the overflow tables sit below the wall */
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

/* Hall names live in the top margin */
.fp-hall-tag {
  position: absolute;
  top: 1.4%;
  transform: translateX(-50%);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Entrance sits in the bottom margin, under the doorway */
.fp-entrance {
  position: absolute;
  left: 51.7%;
  bottom: 2.6%;
  transform: translateX(-50%);
  padding: .2rem .8rem;
  text-align: center;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink);
  background: var(--brass-wash);
  border: 1px solid var(--brass-light);
  border-radius: 999px;
  white-space: nowrap;
}

/* Openings in the walls: the entrance, and the two exits.
   Nothing is ever positioned across one — an exit must stay clear. */
.fp-opening {
  position: absolute;
  background: var(--brass);
  border-radius: 2px;
}
.fp-opening--left {
  transform: translate(-50%, -50%);
  width: 3px;
  height: 4%;
}
.fp-opening--top {
  transform: translate(-50%, -50%);
  width: 8%;
  height: 3px;
}

/* The main entrance — a brass break in the bottom wall */
.fp-door {
  position: absolute;
  left: 50.5%;
  top: 92.3%;
  transform: translate(-50%, -50%);
  width: 13%;
  height: 3px;
  background: var(--brass);
  border-radius: 2px;
}

/* Exits sit in the margins, clear of the tables */
.fp-exit {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: .12rem .4rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--stone);
  border: 1px solid var(--line-strong);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ── Individual tables ── */
.fp-booth {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  border-radius: 3px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition);
}

.fp-booth--h { width: 5.9%;  height: 4.5%;  }
.fp-booth--v { width: 3.05%; height: 9.4%;  writing-mode: vertical-rl; }

.fp-booth--available {
  background: var(--sage-wash);
  border-color: var(--sage);
  color: var(--sage-deep);
}
.fp-booth--available:hover,
.fp-booth--available:focus-visible {
  background: var(--sage);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(110,140,121,.25);
  z-index: 3;
}

.fp-booth--reserved,
.fp-booth--taken {
  background: var(--bone-deep);
  border-color: var(--line-strong);
  color: #B3A899;
  cursor: not-allowed;
}

.fp-booth.selected,
.fp-booth.selected:hover {
  background: var(--brass);
  border-color: var(--brass-deep);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(176,141,87,.28);
  z-index: 4;
}

/* Per-hall counts under the plan */
.fp-hall-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.fp-hall-stat { font-variant-numeric: tabular-nums; }

/* Selection readout above the form */
.fp-selected-note {
  margin-top: 1.2rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px dashed var(--border);
  font-size: .9rem;
  color: var(--text-muted);
  text-align: center;
}
.fp-selected-note.has-selection {
  background: var(--brass-wash);
  border: 1px solid var(--brass);
  color: var(--brass-deep);
  font-weight: 600;
}

.fp-scroll-hint {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

@media (prefers-reduced-motion: reduce) {
  .fp-booth { transition: none; }
}

/* ── "Which day(s)?" radio cards on the application form ── */
.form-fieldset { border: none; padding: 0; margin: 0; }
.form-fieldset legend {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .6rem;
  padding: 0;
}

.day-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .7rem;
}

.day-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.day-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.day-option-body {
  display: block;
  padding: .85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--transition), background-color var(--transition);
}
.day-option:hover .day-option-body { border-color: var(--saffron); }
.day-option input:checked + .day-option-body {
  border-color: var(--brass);
  background: var(--brass-wash);
}
.day-option input:focus-visible + .day-option-body {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}
.day-option-title {
  display: block;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-primary);
}
.day-option input:checked + .day-option-body .day-option-title { color: var(--brass-deep); }
.day-option-sub {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .15rem;
}
/* ============================================================
   LINE ICONS
   ============================================================ */
.ico {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.14em;
}

/* Icon sizing in context */
.side-list .ico    { width: 15px; height: 15px; color: var(--brass); margin-top: 2px; }
.side-list a .ico  { width: 13px; height: 13px; vertical-align: -.1em; }
.side-contact .ico { width: 15px; height: 15px; }
.chip .ico         { width: 14px; height: 14px; color: var(--brass); margin-right: 2px; }
.event-hero-meta-item .ico { width: 15px; height: 15px; color: var(--brass-light); }
.footer-contact-list .ico,
.footer-nav-list .ico { width: 14px; height: 14px; color: var(--brass); margin-right: 6px; }
.form-success .ico { width: 17px; height: 17px; margin-right: 6px; }
