/* ==========================================================================
   Blackloom — public site
   --------------------------------------------------------------------------
   One stylesheet. Replaces the Tailwind CDN build plus the seven-file cascade
   that preceded it; those fought each other and the CDN build is not meant for
   production.

   Mobile-first throughout: every base rule is the phone layout, and media
   queries only ever add. Most of this venue's traffic will arrive from a QR
   code or an Instagram link, i.e. on a phone, in the room.

   Colour and type deliberately match menu/index.html so the site and the menu
   read as one brand.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root{
  /* Charcoal, warmed so it sits with the gold rather than going blue */
  --c-0:#0d0b09;         /* deepest — footer, overlays */
  --c-1:#14100c;         /* page ground (matches the menu's --dark) */
  --c-2:#1b1613;         /* raised surface */
  --c-3:#241d18;         /* card / input */
  --c-4:#2f2620;         /* hairline-lifted surface */

  --gold:#c8a96b;        /* brand signature */
  --gold-lite:#d9bd82;
  --gold-glow:#e7cf9c;
  --gold-deep:#8a6a2f;

  /* Text on charcoal. Checked for WCAG AA — see tools/check_contrast.py */
  --t-1:#f4ecdd;         /* primary   ~15.3:1 on --c-1 */
  --t-2:#d9cdb9;         /* secondary ~11.2:1 */
  --t-3:#a89881;         /* muted      ~6.4:1 — the floor, never go lighter */

  --line:rgba(200,169,107,.20);
  --line-strong:rgba(200,169,107,.42);

  --font-display:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --font-sans:'Outfit',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --font-word:'Cinzel',Georgia,serif;

  --wrap:1200px;
  --gut:20px;
  --nav-h:64px;
  --bar-h:68px;          /* sticky mobile action bar */

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

  --ease:cubic-bezier(.22,.61,.36,1);
}

@media (min-width:768px){ :root{ --gut:40px; --nav-h:84px; } }
@media (min-width:1200px){ :root{ --gut:56px; } }

/* ----------------------------------------------------------------- base -- */
*,*::before,*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  /* anchor targets clear the fixed nav */
  scroll-padding-top:calc(var(--nav-h) + 12px);
  /* `clip` not `hidden`: hidden on the root turns html into a scroll
     container, which breaks position:sticky further down the page. The closed
     drawer parks at translateX(100%) and would otherwise widen the document. */
  overflow-x:clip;
}

body{
  margin:0;
  background:var(--c-1);
  color:var(--t-1);
  font-family:var(--font-sans);
  /* 17px: Outfit runs small, and the brief is that older customers must be
     able to read this without pinching. Also stops iOS zooming form fields. */
  font-size:17px;
  line-height:1.6;
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  /* room for the sticky action bar on phones */
  padding-bottom:var(--bar-h);
}
@media (min-width:900px){ body{ padding-bottom:0; } }

img,svg,video{ display:block; max-width:100%; height:auto; }

h1,h2,h3,h4{ margin:0; font-weight:400; line-height:1.08; }
p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }

a{ color:inherit; }

:focus-visible{
  outline:2px solid var(--gold-glow);
  outline-offset:3px;
  border-radius:2px;
}

::selection{ background:var(--gold); color:var(--c-0); }

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--gut);
}

.visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* The skip link must be invisible until focused. The previous build had it
   painted mid-page because it was only offscreen horizontally. */
.skip{
  position:absolute; top:-100px; left:var(--gut); z-index:200;
  background:var(--gold); color:var(--c-0);
  padding:12px 20px; border-radius:0 0 var(--r-sm) var(--r-sm);
  font-weight:600; text-decoration:none;
}
.skip:focus{ top:0; }

/* ------------------------------------------------------------ typography -- */
.display{
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:-.01em;
  line-height:1.02;
}
.display em{ font-style:italic; color:var(--gold); }

.h-xl{ font-size:clamp(2.75rem,11vw,6.5rem); }
.h-lg{ font-size:clamp(2.25rem,8.5vw,4.5rem); }
.h-md{ font-size:clamp(1.85rem,6.5vw,3rem); }

.eyebrow{
  font-family:var(--font-sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--gold);
  margin:0 0 18px;
  display:flex; align-items:center; gap:14px;
}
.eyebrow::before{
  content:""; width:34px; height:1px; background:var(--gold); flex:0 0 auto;
}
.eyebrow--plain::before{ display:none; }

.lede{
  font-size:1.0625rem;
  color:var(--t-2);
  max-width:46ch;
}
@media (min-width:768px){ .lede{ font-size:1.1875rem; } }

.muted{ color:var(--t-3); }
.small{ font-size:.9375rem; }

/* --------------------------------------------------------------- buttons -- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:12px;
  min-height:52px;                 /* comfortably over the 44px tap target */
  padding:14px 26px;
  font-family:var(--font-sans); font-size:1rem; font-weight:500;
  text-decoration:none; cursor:pointer;
  border:1px solid transparent; border-radius:var(--r-sm);
  transition:background .25s var(--ease), color .25s var(--ease),
             border-color .25s var(--ease), transform .18s var(--ease);
}
.btn:active{ transform:translateY(1px); }

.btn--primary{ background:var(--gold); color:#1a1408; border-color:var(--gold); font-weight:600; }
.btn--primary:hover{ background:var(--gold-glow); border-color:var(--gold-glow); }

.btn--ghost{ background:transparent; color:var(--t-1); border-color:var(--line-strong); }
.btn--ghost:hover{ border-color:var(--gold); color:var(--gold-glow); }

.btn--text{
  min-height:44px; padding:8px 0; background:none; border:0; color:var(--t-1);
  font-weight:500; position:relative;
}
.btn--text::after{
  content:""; position:absolute; left:0; right:0; bottom:2px; height:1px;
  background:var(--line-strong); transition:background .25s var(--ease);
}
.btn--text:hover{ color:var(--gold-glow); }
.btn--text:hover::after{ background:var(--gold); }

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

.btn .ico{ width:17px; height:17px; flex:0 0 auto; }

/* ------------------------------------------------------------------- nav -- */
.nav{
  position:sticky; top:0; z-index:100;
  height:var(--nav-h);
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding-inline:var(--gut);
  background:rgba(20,16,12,.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-stuck{ background:rgba(13,11,9,.96); border-bottom-color:var(--line); }

.nav__brand{
  display:flex; align-items:center; gap:11px;
  min-height:46px; text-decoration:none;
}
/* The monogram is a black disc; on charcoal its edge would vanish, so a
   hairline gold ring keeps the circle readable. */
.nav__mark{
  flex:0 0 auto; width:36px; height:36px; border-radius:50%;
  box-shadow:0 0 0 1px var(--line-strong);
}
.nav__lockup{ display:flex; flex-direction:column; gap:6px; }
.nav__word{ display:block; width:128px; height:auto; }
.nav__sub{
  font-size:.5rem; letter-spacing:.34em; color:var(--gold); font-weight:500;
  line-height:1;
}
@media (min-width:768px){
  .nav__mark{ width:42px; height:42px; }
  .nav__word{ width:158px; }
  .nav__sub{ font-size:.5625rem; }
}

.nav__links{ display:none; }
@media (min-width:900px){
  .nav__links{
    display:flex; align-items:center; gap:34px;
    list-style:none; margin:0; padding:0;
  }
  .nav__links a{
    text-decoration:none; font-size:.9375rem; color:var(--t-2);
    padding:6px 0; position:relative; transition:color .22s var(--ease);
  }
  .nav__links a::after{
    content:""; position:absolute; left:0; bottom:0; width:0; height:1px;
    background:var(--gold); transition:width .28s var(--ease);
  }
  .nav__links a:hover{ color:var(--t-1); }
  .nav__links a:hover::after{ width:100%; }
}

.nav__cta{ display:none; }
@media (min-width:900px){ .nav__cta{ display:inline-flex; } }

.nav__burger{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-width:52px; min-height:48px; padding:10px 4px 10px 14px;
  background:none; border:0; color:var(--t-1); cursor:pointer;
  font-family:var(--font-sans); font-size:.9375rem; font-weight:500;
}
@media (min-width:900px){ .nav__burger{ display:none; } }
/* Scoped to the bars only — an unscoped `.nav__burger span` also hits the
   visible "Menu" label and paints a rule straight through it. */
.nav__burger .bars{ display:flex; flex-direction:column; gap:6px; flex:0 0 auto; }
.nav__burger .bars span{ display:block; width:26px; height:1.5px; background:currentColor; }

/* Mobile drawer */
.drawer{
  position:fixed; inset:0; z-index:150;
  background:var(--c-0);
  display:flex; flex-direction:column;
  padding:calc(var(--nav-h) + 24px) var(--gut) 40px;
  transform:translateX(100%);
  /* visibility, not just transform: keeps the closed drawer out of the layout
     overflow calculation and out of the accessibility tree. Delayed on close
     so the slide-out animation still plays. */
  visibility:hidden;
  transition:transform .38s var(--ease), visibility 0s linear .38s;
  overflow-y:auto;
}
.drawer[data-open="true"]{
  transform:none;
  visibility:visible;
  transition:transform .38s var(--ease), visibility 0s;
}
.drawer__close{
  position:absolute; top:14px; right:calc(var(--gut) - 8px);
  width:48px; height:48px; display:grid; place-items:center;
  background:none; border:0; color:var(--t-1); cursor:pointer;
}
.drawer__close svg{ width:22px; height:22px; }
.drawer__links{ list-style:none; margin:0 0 auto; padding:0; }
.drawer__links a{
  display:block; padding:18px 0; text-decoration:none;
  font-family:var(--font-display); font-size:2rem; color:var(--t-1);
  border-bottom:1px solid var(--line);
}
.drawer__foot{ padding-top:32px; display:grid; gap:14px; }

/* --------------------------------------------------- sticky action bar --- */
/* Phone-only. The two things anyone actually wants are always one tap away. */
.actionbar{
  position:fixed; inset:auto 0 0 0; z-index:90;
  height:var(--bar-h);
  display:flex; align-items:center; gap:12px;
  padding:10px var(--gut);
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
  background:rgba(13,11,9,.97);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
}
.actionbar .btn{ flex:1; min-height:48px; padding-inline:14px; font-size:.9375rem; }
.actionbar .btn--ghost{ flex:0 0 auto; padding-inline:20px; }
@media (min-width:900px){ .actionbar{ display:none; } }

/* -------------------------------------------------------------- sections -- */
.section{ padding-block:72px; position:relative; }
@media (min-width:768px){ .section{ padding-block:110px; } }
@media (min-width:1200px){ .section{ padding-block:140px; } }

.section--tight{ padding-block:52px; }
.section--flush{ padding-block:0; }
.section--alt{ background:var(--c-2); }

.section__head{ max-width:44ch; margin-bottom:44px; }
.section__head--centre{ margin-inline:auto; text-align:center; }
.section__head--centre .eyebrow{ justify-content:center; }

/* ------------------------------------------------------------------ hero -- */
.hero{
  padding-top:44px;
  padding-bottom:56px;
}
@media (min-width:900px){
  .hero{
    min-height:calc(100svh - var(--nav-h));
    display:grid; align-items:center;
    padding-top:0; padding-bottom:0;
  }
}
.hero__grid{ display:grid; gap:36px; }
@media (min-width:900px){
  .hero__grid{ grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
}
@media (min-width:1200px){ .hero__grid{ grid-template-columns:1.05fr 1fr; gap:80px; } }

.hero__title{ margin-bottom:24px; }
.hero__actions{
  display:grid; gap:12px; margin-top:32px;
}
@media (min-width:480px){
  .hero__actions{ grid-auto-flow:column; justify-content:start; align-items:center; gap:20px; }
}
.hero__note{ margin-top:18px; font-size:.9375rem; color:var(--t-3); }

.hero__media{
  position:relative; border-radius:var(--r-md); overflow:hidden;
  aspect-ratio:4/5; background:var(--c-3);
}
@media (min-width:900px){ .hero__media{ aspect-ratio:3/4; } }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__caption{
  position:absolute; inset:auto 0 0 0;
  padding:52px 24px 22px;
  background:linear-gradient(to top,rgba(13,11,9,.94),rgba(13,11,9,0));
}
.hero__caption .display{ font-size:clamp(1.35rem,4.5vw,1.9rem); }

/* ---------------------------------------------------------------- ticker -- */
.ticker{
  border-block:1px solid var(--line);
  background:var(--c-2);
  overflow:hidden;
}
.ticker__track{
  display:flex; align-items:center; gap:0;
  padding-block:20px;
  white-space:nowrap;
  animation:ticker 38s linear infinite;
}
.ticker__item{
  display:inline-flex; align-items:center; gap:28px;
  padding-inline:28px;
  font-size:.78rem; font-weight:500; letter-spacing:.2em;
  text-transform:uppercase; color:var(--t-2);
}
.ticker__item svg{ width:13px; height:13px; color:var(--gold); }
@keyframes ticker{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){
  .ticker__track{ animation:none; flex-wrap:wrap; white-space:normal; justify-content:center; }
}

/* ------------------------------------------------------------- three-up -- */
.trio{ display:grid; gap:0; }
@media (min-width:860px){ .trio{ grid-template-columns:repeat(3,1fr); } }

.trio__item{
  padding:34px 0; min-width:0;
  border-top:1px solid var(--line);
}
@media (min-width:860px){
  .trio__item{
    padding:0 34px; border-top:0; border-left:1px solid var(--line);
  }
  .trio__item:first-child{ padding-left:0; border-left:0; }
  .trio__item:last-child{ padding-right:0; }
}
.trio__n{
  font-size:.72rem; letter-spacing:.2em; color:var(--t-3);
  display:flex; justify-content:space-between; align-items:center; margin-bottom:22px;
}
.trio__n svg{ width:20px; height:20px; color:var(--gold); }
.trio__item h3{ font-family:var(--font-display); font-size:1.75rem; margin-bottom:12px; }
.trio__item p{ color:var(--t-2); font-size:1rem; margin-bottom:20px; }

/* ------------------------------------------------------------ split pair -- */
.split{ display:grid; gap:36px; align-items:center; }
.split > *{ min-width:0; }
@media (min-width:900px){
  .split{ grid-template-columns:1fr 1fr; gap:70px; }
  .split--wide-left{ grid-template-columns:1.15fr 1fr; }
  .split--wide-right{ grid-template-columns:1fr 1.15fr; }
  /* On phones the image always comes first; on desktop it can flip. */
  .split--flip .split__media{ order:2; }
}
.split__media{
  position:relative; border-radius:var(--r-md); overflow:hidden;
  aspect-ratio:4/3; background:var(--c-3);
}
@media (min-width:900px){ .split__media{ aspect-ratio:4/5; } }
.split__media img{ width:100%; height:100%; object-fit:cover; }
.split__tag{
  position:absolute; left:0; bottom:0; right:0;
  padding:40px 20px 18px;
  background:linear-gradient(to top,rgba(13,11,9,.9),transparent);
  font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--t-2);
}

/* ------------------------------------------------------------ menu panel -- */
.mtabs{
  display:flex; gap:6px; margin-bottom:26px;
  overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
  border-bottom:1px solid var(--line);
}
.mtabs::-webkit-scrollbar{ display:none; }
.mtab{
  flex:0 0 auto; min-height:46px; padding:10px 16px;
  background:none; border:0; border-bottom:2px solid transparent;
  color:var(--t-3); font-family:var(--font-sans); font-size:.9375rem;
  cursor:pointer; white-space:nowrap; transition:color .2s var(--ease);
}
.mtab[aria-selected="true"]{ color:var(--gold); border-bottom-color:var(--gold); }
.mtab:hover{ color:var(--t-1); }

.mrow{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 16px;
  padding:18px 0; border-bottom:1px solid var(--line);
}
.mrow:last-child{ border-bottom:0; }
.mrow__name{ font-size:1.0625rem; font-weight:500; color:var(--t-1); min-width:0; }
.mrow__price{
  font-family:var(--font-display); font-size:1.25rem; color:var(--gold);
  font-variant-numeric:tabular-nums;
}
.mrow__desc{
  grid-column:1/-1; font-size:.9375rem; color:var(--t-3);
  max-width:56ch; margin:0;
}

/* --------------------------------------------------------------- pills --- */
.pills{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.pill{
  padding:7px 15px; border:1px solid var(--line-strong); border-radius:999px;
  font-size:.8125rem; color:var(--t-2);
}

/* ------------------------------------------------------------- delivery -- */
.delivery{
  border:1px solid var(--line); border-radius:var(--r-md);
  overflow:hidden; background:var(--c-2);
}
.delivery__inner{ padding:32px var(--gut); }
@media (min-width:900px){
  .delivery{ display:grid; grid-template-columns:1fr 1.1fr; align-items:center; }
  .delivery__inner{ padding:56px; }
}
.delivery__media{ aspect-ratio:16/10; background:var(--c-3); }
.delivery__media img{ width:100%; height:100%; object-fit:cover; }
.delivery__brands{ display:flex; flex-wrap:wrap; gap:12px; margin:22px 0 14px; }
.delivery__brand{
  padding:11px 18px; border:1px solid var(--line-strong); border-radius:var(--r-sm);
  font-size:1rem; font-weight:500; color:var(--t-2);
}
.delivery__brand[data-live="true"]{ color:var(--t-1); border-color:var(--gold); }

/* ----------------------------------------------------------------- forms -- */
.form{ display:grid; gap:20px; }
.field{ display:grid; gap:8px; }
.field__label{
  font-size:.8125rem; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; color:var(--t-2);
}
.field__req{ color:var(--gold); }

.input,.select,.textarea{
  width:100%;
  /* 16px minimum or iOS Safari zooms the whole page on focus */
  font-family:var(--font-sans); font-size:16px;
  min-height:54px; padding:14px 16px;
  color:var(--t-1); background:var(--c-3);
  border:1px solid var(--line); border-radius:var(--r-sm);
  transition:border-color .2s var(--ease), background .2s var(--ease);
  appearance:none; -webkit-appearance:none;
}
.textarea{ min-height:130px; padding-top:14px; resize:vertical; line-height:1.55; }
.input:hover,.select:hover,.textarea:hover{ border-color:var(--line-strong); }
.input:focus,.select:focus,.textarea:focus{
  outline:none; border-color:var(--gold); background:var(--c-4);
  box-shadow:0 0 0 3px rgba(200,169,107,.16);
}
.input::placeholder,.textarea::placeholder{ color:var(--t-3); opacity:1; }

.select{
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a89881' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 15px center; background-size:19px;
  padding-right:46px;
}

.field--invalid .input,
.field--invalid .select,
.field--invalid .textarea{ border-color:#e0705f; }
.field__err{ font-size:.875rem; color:#f0938a; }
.field__hint{ font-size:.875rem; color:var(--t-3); }

.form__row{ display:grid; gap:20px; }
@media (min-width:600px){ .form__row{ grid-template-columns:1fr 1fr; } }
@media (min-width:600px){ .form__row--3{ grid-template-columns:repeat(3,1fr); } }

/* Segmented guest/party picker — faster than a select on a phone */
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  min-width:52px; min-height:48px; padding:10px 14px;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--c-3); border:1px solid var(--line); border-radius:var(--r-sm);
  color:var(--t-2); font-size:1rem; cursor:pointer;
  transition:all .18s var(--ease);
}
.chip input{ position:absolute; opacity:0; pointer-events:none; }
.chip:has(input:checked){
  background:var(--gold); border-color:var(--gold); color:#1a1408; font-weight:600;
}
.chip:has(input:focus-visible){ outline:2px solid var(--gold-glow); outline-offset:3px; }

.form__note{
  padding:16px 18px; border-radius:var(--r-sm);
  background:rgba(200,169,107,.08); border:1px solid var(--line);
  font-size:.9375rem; color:var(--t-2);
}

.alert{ padding:16px 18px; border-radius:var(--r-sm); font-size:.9375rem; }
.alert--ok{ background:rgba(111,143,92,.14); border:1px solid rgba(111,143,92,.5); color:#cfe3c2; }
.alert--bad{ background:rgba(224,112,95,.12); border:1px solid rgba(224,112,95,.5); color:#f3b4ab; }

/* ---------------------------------------------------------------- footer -- */
.foot{ background:var(--c-0); border-top:1px solid var(--line); padding-block:56px 32px; }
.foot__grid{ display:grid; gap:36px; }
@media (min-width:768px){ .foot__grid{ grid-template-columns:1.2fr 1fr 1fr; gap:48px; } }
.foot h4{
  font-size:.72rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold); margin-bottom:16px;
}
.foot a{ color:var(--t-2); text-decoration:none; }
.foot a:hover{ color:var(--gold-glow); }
.foot__list{ list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.foot__list a{ display:inline-flex; align-items:center; min-height:44px; }

.foot__word{
  margin-top:52px; padding-top:28px; border-top:1px solid var(--line);
}
.foot__word img{ width:100%; max-width:1000px; opacity:.9; margin-inline:auto; }
.foot__meta{
  margin-top:24px; display:grid; gap:10px;
  font-size:.8125rem; color:var(--t-3);
}
@media (min-width:768px){
  .foot__meta{ grid-auto-flow:column; justify-content:space-between; align-items:center; }
}

/* --------------------------------------------------------------- notices -- */
/* Dev-only setup notice. One slim line by default — it previously ran to four
   lines on a phone and pushed the hero off the first screen. */
.configbar{
  position:relative; z-index:160;
  background:#3a1a14; color:#f0c8bf;
  border-bottom:1px solid rgba(240,200,191,.22);
  font-size:.8125rem; line-height:1.4;
}
.configbar > summary{
  display:flex; align-items:center; gap:10px;
  padding:9px var(--gut);
  cursor:pointer; list-style:none;
  min-height:38px;
}
.configbar > summary::-webkit-details-marker{ display:none; }
.configbar__dot{
  flex:0 0 auto; width:7px; height:7px; border-radius:50%;
  background:#e8896f;
}
.configbar__text{ flex:1 1 auto; }
.configbar__text strong{ color:#fff; }
.configbar__more{
  flex:0 0 auto; font-size:.6875rem; letter-spacing:.12em;
  text-transform:uppercase; opacity:.7;
}
.configbar[open] .configbar__more{ opacity:1; }
.configbar[open] .configbar__more::after{ content:" 3 close"; }

.configbar__body{
  padding:2px var(--gut) 16px;
  border-top:1px solid rgba(240,200,191,.14);
  margin-top:2px; padding-top:14px;
}
.configbar__body ul{ margin:0 0 12px; padding-left:18px; }
.configbar__body li{ margin-bottom:4px; }
.configbar__body p{ margin:0 0 14px; opacity:.85; max-width:70ch; }
.configbar__body code{
  background:rgba(0,0,0,.3); padding:1px 5px; border-radius:3px; font-size:.95em;
}
.configbar__hide{
  min-height:38px; padding:8px 16px;
  background:transparent; color:inherit; cursor:pointer;
  border:1px solid rgba(240,200,191,.4); border-radius:var(--r-sm);
  font-family:var(--font-sans); font-size:.8125rem;
}
.configbar__hide:hover{ border-color:#f0c8bf; background:rgba(255,255,255,.06); }
.configbar[hidden]{ display:none; }

/* ---------------------------------------------------------------- reveal -- */
.reveal{ opacity:0; transform:translateY(20px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms!important; transition-duration:.001ms!important; }
  .reveal{ opacity:1; transform:none; }
  html{ scroll-behavior:auto; }
}

/* Content must be readable with JS off — the observer adds .in, so without
   JS nothing would ever appear. */
.no-js .reveal{ opacity:1; transform:none; }

/* ------------------------------------------------------------- sheets ---- */
/* The two booking forms live in <dialog> sheets rather than inline: inline
   they added ~4,000px to the mobile page and pushed "find us" below them.
   Native <dialog> + showModal() gives focus trapping, Escape-to-close and a
   real backdrop without writing any of it by hand.

   Bottom sheet on a phone (thumb reach), centred panel from tablet up. */
.sheet{
  inset:0;
  margin:auto 0 0 0;               /* pin to the bottom edge */
  width:100%; max-width:100%;
  max-height:94dvh;
  padding:0; border:0;
  background:transparent;
  overflow:visible;
  color:var(--t-1);
}
.sheet::backdrop{
  background:rgba(5,4,3,.74);
  backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
}

.sheet__panel{
  background:var(--c-2);
  border-top:1px solid var(--line-strong);
  border-radius:var(--r-lg) var(--r-lg) 0 0;
  padding:14px var(--gut) calc(30px + env(safe-area-inset-bottom));
  max-height:94dvh;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;     /* stop the page scrolling behind it */
}

/* Drag handle — the affordance people expect on a bottom sheet. */
.sheet__grip{
  width:42px; height:4px; border-radius:999px;
  background:var(--line-strong);
  margin:0 auto 16px;
}

.sheet__head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:16px; margin-bottom:22px;
}
.sheet__head h2{ font-family:var(--font-display); font-size:1.85rem; }
.sheet__head p{ margin:6px 0 0; font-size:.9375rem; color:var(--t-3); }

.sheet__close{
  flex:0 0 auto;
  width:46px; height:46px; display:grid; place-items:center;
  background:var(--c-3); border:1px solid var(--line); border-radius:50%;
  color:var(--t-1); cursor:pointer;
}
.sheet__close svg{ width:19px; height:19px; }
.sheet__close:hover{ border-color:var(--gold); color:var(--gold-glow); }

@media (min-width:768px){
  .sheet{ margin:auto; max-width:580px; max-height:88dvh; }
  .sheet__panel{
    border:1px solid var(--line-strong);
    border-radius:var(--r-lg);
    padding:26px 34px 34px;
    max-height:88dvh;
  }
  .sheet__grip{ display:none; }
}

.sheet[open]{ animation:sheet-up .34s var(--ease); }
.sheet[open]::backdrop{ animation:sheet-fade .3s var(--ease); }
@keyframes sheet-up{ from{ transform:translateY(100%); } }
@keyframes sheet-fade{ from{ opacity:0; } }
@media (min-width:768px){
  .sheet[open]{ animation:sheet-in .26s var(--ease); }
  @keyframes sheet-in{ from{ transform:translateY(14px); opacity:0; } }
}
@media (prefers-reduced-motion:reduce){
  .sheet[open], .sheet[open]::backdrop{ animation:none; }
}

/* The two big entry points that replace the inline forms. */
.choose{ display:grid; gap:14px; }
@media (min-width:700px){ .choose{ grid-template-columns:1fr 1fr; } }

.choose__card{
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  width:100%; text-align:left;
  padding:26px 24px;
  background:var(--c-2); border:1px solid var(--line); border-radius:var(--r-md);
  color:var(--t-1); font-family:var(--font-sans); cursor:pointer;
  transition:border-color .25s var(--ease), background .25s var(--ease), transform .18s var(--ease);
}
.choose__card:hover{ border-color:var(--gold); background:var(--c-3); }
.choose__card:active{ transform:translateY(1px); }
.choose__card svg{ width:26px; height:26px; color:var(--gold); }
.choose__card b{
  font-family:var(--font-display); font-weight:400;
  font-size:1.6rem; line-height:1.1;
}
.choose__card span{ font-size:.9375rem; color:var(--t-3); }
.choose__card em{
  font-style:normal; font-size:.8125rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase; color:var(--gold);
  margin-top:4px;
}

/* Closing animation. Native dialog.close() is instant, so when one sheet is
   swapped for the other this is what stops them cross-fading on top of each
   other — the first slides out, then the second slides in. */
.sheet.is-closing{ animation:sheet-down .24s var(--ease) forwards; }
.sheet.is-closing::backdrop{ animation:sheet-fade-out .24s var(--ease) forwards; }
@keyframes sheet-down{ to{ transform:translateY(100%); } }
@keyframes sheet-fade-out{ to{ opacity:0; } }
@media (min-width:768px){
  .sheet.is-closing{ animation:sheet-out .2s var(--ease) forwards; }
  @keyframes sheet-out{ to{ transform:translateY(10px); opacity:0; } }
}
@media (prefers-reduced-motion:reduce){
  .sheet.is-closing, .sheet.is-closing::backdrop{ animation:none; }
}

/* ------------------------------------------------------ subpage bits ----- */
.crumbs{
  font-size:.8125rem; color:var(--t-3); margin-bottom:26px;
  display:flex; gap:8px; align-items:center; flex-wrap:wrap;
}
.crumbs a{ color:var(--t-2); text-decoration:none; min-height:32px; display:inline-flex; align-items:center; }
.crumbs a:hover{ color:var(--gold-glow); }

.factlist{ list-style:none; margin:0; padding:0; display:grid; gap:16px; }
.factlist li{
  padding-left:18px; border-left:2px solid var(--line-strong);
  color:var(--t-2); font-size:1rem;
}
.factlist strong{ display:block; color:var(--t-1); font-weight:500; margin-bottom:3px; }

.steps{ list-style:none; margin:0; padding:0; display:grid; gap:20px; }
@media (min-width:860px){ .steps{ grid-template-columns:repeat(3,1fr); gap:28px; } }
.steps li{ display:flex; gap:16px; align-items:flex-start; }
.steps__n{
  flex:0 0 auto; width:38px; height:38px; border-radius:50%;
  display:grid; place-items:center;
  border:1px solid var(--gold); color:var(--gold);
  font-family:var(--font-display); font-size:1.125rem;
}
.steps strong{ display:block; color:var(--t-1); font-weight:500; margin-bottom:4px; }
.steps p{ margin:0; color:var(--t-3); font-size:.9375rem; }

/* FSA badge. The FSA's own widget draws the badge — we only give it room and
   keep it on a light ground so the official artwork keeps its contrast. */
.fsa{ margin-top:24px; display:inline-block; max-width:100%; }
.fsa img, .fsa iframe, .fsa svg{ max-width:100%; height:auto; }
.fsa noscript a{ color:var(--gold-glow); }

/* ------------------------------------------------- staff booking cards --- */
.bk-list{ display:grid; gap:16px; margin-bottom:40px; }
.bk{
  border:1px solid var(--line); border-radius:var(--r-md);
  background:var(--c-2); padding:18px;
}
.bk--past{ border-color:rgba(224,112,95,.45); background:#1f1512; }
.bk__head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:14px; }
.bk__when{ margin:0; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.bk__day{ font-family:var(--font-display); font-size:1.65rem; color:var(--gold); line-height:1; }
.bk__time{ font-size:1.25rem; font-weight:500; color:var(--t-1); }
.bk__flag{
  flex:0 0 auto; padding:5px 11px; border-radius:999px; font-size:.75rem;
  font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  border:1px solid var(--line-strong); color:var(--t-2);
}
.bk__flag--today{ background:var(--gold); border-color:var(--gold); color:#1a1408; }
.bk__flag--past{ background:rgba(224,112,95,.16); border-color:rgba(224,112,95,.6); color:#f3b4ab; }

/* Labelled details: two columns on a phone, so nothing has to be guessed at. */
.bk__dl{ margin:0 0 16px; display:grid; grid-template-columns:1fr 1fr; gap:12px 16px; }
@media (min-width:640px){ .bk__dl{ grid-template-columns:repeat(3,1fr); } }
.bk__dl > div{ min-width:0; }
.bk__wide{ grid-column:1/-1; }
.bk__dl dt{
  font-size:.6875rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--t-3); margin-bottom:3px;
}
.bk__dl dd{ margin:0; font-size:1rem; color:var(--t-1); overflow-wrap:anywhere; }
.bk__dl a{ color:var(--gold-glow); }
.bk__dl code{ font-size:.9375rem; color:var(--t-2); }
.bk__wide dd{
  background:var(--c-3); border-radius:var(--r-sm); padding:10px 12px; font-size:.9375rem;
}

.bk__actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.bk__actions .btn{ flex:1; min-width:130px; }
.bk__hint{ flex:1 0 100%; margin:2px 0 0; font-size:.8125rem; color:var(--t-3); }

/* --------------------------------------------------- decline modal ------- */
/* Each reason shows the staff label AND the exact sentence the customer will
   read, so nobody picks a reason without knowing what it says. */
.reasons{ display:grid; gap:8px; }
.reason{
  position:relative; display:flex; gap:12px; align-items:flex-start;
  padding:13px 14px; cursor:pointer;
  background:var(--c-3); border:1px solid var(--line); border-radius:var(--r-sm);
  transition:border-color .18s var(--ease), background .18s var(--ease);
}
.reason input{ margin-top:4px; accent-color:var(--gold); width:18px; height:18px; flex:0 0 auto; }
.reason:has(input:checked){ border-color:var(--gold); background:var(--c-4); }
.reason:has(input:focus-visible){ outline:2px solid var(--gold-glow); outline-offset:2px; }
.reason__body{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.reason__body b{ font-weight:600; color:var(--t-1); font-size:.9375rem; }
.reason__say{ font-size:.8125rem; color:var(--t-3); line-height:1.45; }

/* The email preview sits on white, as it will in the customer's inbox. */
.mailpreview{
  display:block; width:100%; height:min(58vh,560px);
  border:1px solid var(--line-strong); border-radius:var(--r-sm); background:#fff;
}

/* Shown inside a booking sheet while staff have switched bookings off. */
.closednote{ display:grid; gap:14px; }
.closednote__title{
  margin:0; font-family:var(--font-display); font-size:1.5rem; line-height:1.15; color:var(--t-1);
}
.closednote p{ margin:0; color:var(--t-2); }
.closednote__note{
  padding:14px 16px; border-radius:var(--r-sm);
  background:rgba(200,169,107,.10); border-left:3px solid var(--gold);
  color:var(--t-1) !important;
}
.closednote__actions{ display:grid; gap:10px; margin-top:6px; }

/* ------------------------------------------- staff on/off control ------- */
.ctrl{
  margin-bottom:34px; padding:18px;
  border:1px solid var(--line); border-radius:var(--r-md); background:var(--c-2);
}
.ctrl--off{ border-color:rgba(224,112,95,.5); }
.ctrl__status{
  margin:0 0 16px; padding:12px 14px; border-radius:var(--r-sm);
  background:rgba(224,112,95,.12); color:#f3b4ab; font-size:.9375rem;
}
.ctrl__form{ display:grid; gap:14px; }
.ctrl__form .btn{ justify-self:start; min-width:140px; }

/* A real checkbox underneath, so it works without JS and with keyboards. */
.switch{ display:flex; align-items:center; gap:14px; cursor:pointer; min-height:48px; }
.switch input{ position:absolute; opacity:0; pointer-events:none; }
.switch__ui{
  flex:0 0 auto; position:relative; width:52px; height:30px; border-radius:999px;
  background:var(--c-4); border:1px solid var(--line-strong);
  transition:background .2s var(--ease), border-color .2s var(--ease);
}
.switch__ui::after{
  content:""; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%;
  background:var(--t-2); transition:transform .2s var(--ease), background .2s var(--ease);
}
.switch input:checked + .switch__ui{ background:var(--gold); border-color:var(--gold); }
.switch input:checked + .switch__ui::after{ transform:translateX(22px); background:#1a1408; }
.switch input:focus-visible + .switch__ui{ outline:2px solid var(--gold-glow); outline-offset:3px; }
.switch input:disabled + .switch__ui{ opacity:.5; }
.switch__text{ display:flex; flex-direction:column; gap:2px; }
.switch__text b{ font-weight:600; color:var(--t-1); }
.switch__text small{ font-size:.8125rem; color:var(--t-3); }

/* Dashboard header: status button sits beside Sign out. */
.dash-head{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:24px; }
.dash-head__actions{ display:flex; gap:10px; flex-wrap:wrap; }
.bookbtn{ gap:9px; }
.bookbtn__dot{ width:9px; height:9px; border-radius:50%; background:#7bc47f; box-shadow:0 0 0 3px rgba(123,196,127,.18); }
.bookbtn--off{ border-color:rgba(224,112,95,.6); color:#f3b4ab; }
.bookbtn--off .bookbtn__dot{ background:#e0705f; box-shadow:0 0 0 3px rgba(224,112,95,.2); }

/* Slim reminder while bookings are paused — tapping it opens the switches. */
.pausebar{
  display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%;
  margin:0 0 26px; padding:12px 16px; min-height:48px; cursor:pointer; text-align:left;
  background:rgba(224,112,95,.12); border:1px solid rgba(224,112,95,.5); border-radius:var(--r-sm);
  color:#f3b4ab; font-family:var(--font-sans); font-size:.9375rem;
}
.pausebar span{ flex:0 0 auto; font-weight:600; text-decoration:underline; text-underline-offset:3px; }

/* ------------------------------------------- dashboard tabs + history --- */
.dtabs{ display:flex; gap:4px; margin:0 0 24px; border-bottom:1px solid var(--line); }
.dtabs a{
  min-height:46px; display:inline-flex; align-items:center; padding:0 16px;
  text-decoration:none; color:var(--t-3); font-weight:500;
  border-bottom:2px solid transparent; margin-bottom:-1px;
}
.dtabs a[aria-current="page"]{ color:var(--gold); border-bottom-color:var(--gold); }
.dtabs a:hover{ color:var(--t-1); }

.seg{ display:inline-flex; padding:4px; gap:4px; margin-bottom:14px; background:var(--c-3); border-radius:999px; }
.seg__item{ min-height:40px; display:inline-flex; align-items:center; padding:0 16px; border-radius:999px; text-decoration:none; color:var(--t-2); font-size:.9375rem; }
.seg__item[aria-current="page"]{ background:var(--gold); color:#1a1408; font-weight:600; }

.hsearch{ display:flex; gap:8px; margin-bottom:12px; }
.hsearch .input{ flex:1; min-width:0; }
.hsearch .btn{ flex:0 0 auto; }

.chipsrow{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-bottom:4px; }
.chipsrow::-webkit-scrollbar{ display:none; }
.fchip{
  flex:0 0 auto; display:inline-flex; align-items:center; gap:7px; min-height:40px; padding:0 14px;
  border:1px solid var(--line); border-radius:999px; text-decoration:none; color:var(--t-2); font-size:.875rem;
}
.fchip span{ font-size:.75rem; color:var(--t-3); }
.fchip[aria-current="true"]{ border-color:var(--gold); color:var(--gold); }

.hlist{ display:grid; gap:8px; }
.hrow{ border:1px solid var(--line); border-radius:var(--r-sm); background:var(--c-2); }
.hrow[open]{ border-color:var(--line-strong); }
.hrow > summary{
  list-style:none; cursor:pointer; display:grid; grid-template-columns:auto 1fr auto; gap:12px;
  align-items:center; padding:13px 14px; min-height:56px;
}
.hrow > summary::-webkit-details-marker{ display:none; }
.hrow[open] > summary{ border-bottom:1px solid var(--line); }
.hrow > dl{ padding:0 14px 6px; }
.hrow__when{ display:flex; flex-direction:column; font-size:.8125rem; color:var(--t-3); line-height:1.25; }
.hrow__when b{ font-size:.9375rem; color:var(--t-1); font-weight:600; }
.hrow__who{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--t-1); }
.hbadge{
  padding:4px 10px; border-radius:999px; font-size:.6875rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  border:1px solid var(--line-strong); color:var(--t-2); white-space:nowrap;
}
.hbadge--ok{ border-color:rgba(123,196,127,.55); color:#a9dcab; }
.hbadge--bad{ border-color:rgba(224,112,95,.55); color:#f3b4ab; }

.pager{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:20px; }
