/* Emerson & Oliver — site styles (direction D: After Hours with the Program) */
:root {
  --ink: #0E0D0C;
  --ink-2: #141210;
  --panel: #161412;
  --line: #262320;
  --line-2: #2A2622;
  --dash: #5A4F3A;
  --text: #F3EDE2;
  --text-2: #D9D1C4;
  --muted: #B9AF9F;
  --gold: #C9A24B;
  --gold-2: #E2BC63;
  --on-gold: #1A1610;
  --serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --type: 'Special Elite', 'Courier New', monospace;
  --wrap: 1240px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-2); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.label { font-family: var(--type); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.label.muted { color: var(--muted); font-size: 12px; letter-spacing: 0.14em; }
.lede { font-size: 18px; color: var(--text-2); }
.h2 { font-size: 40px; }
.h3 { font-size: 27px; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 16px; padding: 16px 26px; border-radius: 999px; text-decoration: none; line-height: 1.2; text-align: center; cursor: pointer; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-2); color: var(--on-gold); }
.btn-outline { border-color: var(--gold); color: var(--text); background: transparent; }
.btn-outline:hover { color: var(--gold-2); border-color: var(--gold-2); }
.btn-ink { background: var(--on-gold); color: var(--text); }
.btn-ink:hover { color: var(--gold-2); }
.btn-sm { font-size: 15px; padding: 12px 20px; }
.link { font-weight: 600; font-size: 15px; text-decoration: none; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); background: rgba(14, 13, 12, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wordmark { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 0.01em; color: var(--text); text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--type); font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; }
.site-nav a { color: var(--text-2); text-decoration: none; padding: 4px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #0E0D0C; }
.hero-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2.2s ease-in-out; }
.hero-layer.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-layer { transition: none; } }
.hero-scrim { position: absolute; inset: 0; background: rgba(10, 9, 8, 0.6); }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; padding-top: 96px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.01em; max-width: 14ch; }
.hero-copy .lede { font-size: 19px; color: #E6DFD2; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

/* Program card */
.program { flex: 1 1 340px; min-width: 0; max-width: 440px; background: rgba(22, 20, 18, 0.92); border: 1px solid #3A3328; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; font-family: var(--type); }
.program .label { border-bottom: 1px dashed var(--dash); padding-bottom: 10px; }
.program .label.sub { margin-top: 4px; }
.program-list { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.35; }
.program-list li { display: flex; flex-direction: column; gap: 2px; }
.program-list li + li { border-top: 1px dashed var(--dash); padding-top: 12px; }
.program-list .show { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; }
.program-list .when { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.program-list .who { font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.05; color: var(--text); }
.program-list .show:hover .who, .program-list .show:focus-visible .who { color: var(--gold-2); }
.program-list .show:hover .when { color: var(--text); }
.program-list .what { color: var(--muted); }
.program-list .status { color: var(--gold); }
.coming { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--text-2); }
.coming li { display: flex; gap: 10px; align-items: baseline; }
.coming .d { white-space: nowrap; }
.coming .dots { flex: 1; border-bottom: 1px dotted var(--dash); transform: translateY(-5px); }
.coming .row { display: flex; gap: 10px; align-items: baseline; flex: 1; color: var(--text-2); text-decoration: none; }
.coming .row:hover, .coming .row:focus-visible { color: var(--gold-2); }
.program .btn { margin-top: 6px; font-family: var(--sans); font-size: 15px; padding: 13px 20px; }
.program .quiet { color: var(--muted); font-size: 14px; }
.program .more { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* Sections */
.section { padding-top: 88px; padding-bottom: 56px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.split.reverse { flex-wrap: wrap-reverse; }
.split-img { flex: 1 1 380px; min-width: 0; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.split-img.sm { max-width: 460px; flex-basis: 340px; }
.split-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; font-size: 16px; margin-top: 8px; }
.facts dt { font-family: var(--type); color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.facts a { color: var(--text); text-decoration: none; }

/* Menu */
.band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { padding-top: 72px; padding-bottom: 80px; }
.center { text-align: center; }
.menu-intro { margin-bottom: 40px; }
.menu-intro h2 { font-size: 44px; }
.menu-intro .note { margin-top: 10px; font-size: 17px; color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 72px; }
.menu-col { display: flex; flex-direction: column; gap: 14px; }
.menu-col > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.menu-h { font-family: var(--type); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border-bottom: 1px dashed var(--dash); padding-bottom: 8px; margin: 0 0 4px; font-weight: 400; }
.menu-h.spaced { margin-top: 22px; }
.item { display: flex; gap: 10px; align-items: baseline; font-family: var(--type); font-size: 16px; }
.item .dots { flex: 1; border-bottom: 1px dotted var(--dash); }
.item .price { color: var(--gold); white-space: nowrap; }
.desc { margin: -8px 0 0; font-size: 15px; color: var(--muted); }
.plain { font-size: 15px; color: var(--muted); }
.gold-band { background: var(--gold); color: var(--on-gold); }
.gold-band .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.gold-band h2 { font-size: 36px; margin-bottom: 10px; }
.gold-band p { font-size: 17px; }
.gold-band .copy { flex: 1 1 480px; min-width: 0; }

/* Page hero (interior pages) */
.page-head { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); text-wrap: balance; }
.page-head .lede { max-width: 60ch; text-wrap: pretty; }
/* Two columns on wide screens: title left, intro and button right, so the head spans the same width as the calendar */
.head-title, .head-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.head-copy { gap: 22px; }
@media (min-width: 900px) {
  .page-head.duo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: center; padding-top: 80px; padding-bottom: 48px; }
  .page-head.duo .lede { max-width: none; line-height: 1.6; }
  .page-head.duo .hero-actions { margin-top: 0; }
}

/* Private events hero: the room photo full-bleed beside the copy */
.pe-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--ink-2); border-bottom: 1px solid var(--line); }
.pe-hero-img { width: 100%; height: 100%; min-height: 560px; max-height: 780px; object-fit: cover; object-position: 50% 62%; }
.pe-hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; max-width: 620px; padding: 72px var(--gutter) 72px 64px; }
.pe-hero-copy h1 { font-size: clamp(40px, 4.4vw, 60px); text-wrap: balance; }
.pe-hero-copy .lede { text-wrap: pretty; line-height: 1.6; }
.figs { display: flex; flex-wrap: wrap; gap: 16px 44px; margin: 4px 0 6px; }
.figs dt { font-family: var(--type); color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.figs dd { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--text); margin-top: 8px; }

/* Band intro with a photo beside the heading */
.band-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; margin-bottom: 44px; }
.band-split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.band-split h2 { font-size: 44px; margin-top: 12px; text-wrap: balance; }
.band-split .note { margin-top: 14px; font-size: 17px; color: var(--muted); text-wrap: pretty; }

/* Events / embeds */
.embed { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px; }
#ec-calendar-widget { min-height: 600px; }
.bookres-inline { min-height: 560px; }

/* Rental tables */
.rate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 26px; }
.card .big { font-family: var(--serif); font-size: 34px; color: var(--gold); }
.card .big .per { display: block; font-family: var(--type); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.card ul { display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 15px; }
.card ul li::before { content: '· '; color: var(--gold); }
.fine { font-size: 14px; color: var(--muted); line-height: 1.6; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table th { font-family: var(--type); font-weight: 400; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.table td.num { white-space: nowrap; color: var(--gold); }
.table th, .table td:first-child { white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* Prose (privacy) */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; color: var(--text-2); font-size: 17px; }
.prose h2 { font-size: 26px; color: var(--text); margin-top: 8px; }

/* Footer */
.site-foot { padding-top: 64px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; font-size: 15px; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { text-decoration: none; }
.foot-mark { font-family: var(--serif); font-size: 24px; color: var(--text); }
.foot-strong { color: var(--text) !important; }
.foot-col .label { color: var(--text); font-size: 13px; letter-spacing: 0.14em; }
.foot-fine { margin-top: 8px; font-size: 13px; }
.foot-fine a { color: var(--muted); text-decoration: underline; }

/* Sticky mobile actions */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 13, 12, 0.96); border-top: 1px solid #3A3328; }
.sticky-cta .btn { font-size: 15px; padding: 13px 16px; }
.sticky-cta .btn-gold { flex: 1 1 auto; }
.sticky-cta .btn-outline { flex: 0 0 auto; padding: 12px 18px; }

/* Narrow laptops: tighter nav so the header stays on one row down to about 980px */
@media (max-width: 1100px) and (min-width: 721px) {
  .site-nav { gap: 8px 18px; font-size: 14px; }
}

/* Tablet: photo heroes and band intros stack */
@media (max-width: 900px) {
  .pe-hero { grid-template-columns: 1fr; }
  .pe-hero-img { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
  .pe-hero-copy { max-width: none; padding: 48px var(--gutter) 56px; }
  .band-split { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { padding-bottom: 76px; }
  .site-head { position: static; padding: 14px var(--gutter); row-gap: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .wordmark { font-size: 22px; }
  .site-nav { order: 3; flex: 0 0 100%; flex-wrap: wrap; gap: 0 20px; font-size: 14px; }
  .site-nav a { white-space: nowrap; padding: 8px 0; }
  .site-head .btn-sm { padding: 10px 16px; font-size: 14px; }
  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; height: auto; aspect-ratio: 4 / 3; }
  .hero-scrim { display: none; }
  .hero-inner { padding-top: 28px; padding-bottom: 40px; gap: 32px; }
  .hero-copy h1 { font-size: 38px; }
  .program { max-width: none; }
  .section { padding-top: 56px; padding-bottom: 40px; }
  .h2, .menu-intro h2 { font-size: 32px; }
  .band .wrap { padding-top: 48px; padding-bottom: 56px; }
  .gold-band .wrap { padding-top: 40px; padding-bottom: 40px; }
  .page-head { padding-top: 40px; }
  .facts { grid-template-columns: 1fr; }
  .pe-hero-copy { padding: 36px var(--gutter) 44px; }
  .figs dd { font-size: 44px; }
  .band-split h2 { font-size: 32px; }
  .sticky-cta { display: flex; }
}

/* Calendar iframe embed (auto-resized by cal.eventsatethereal.com/js/embed.js) */
.cal-frame { width: 100%; min-height: 900px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); display: block; }
