/* =========================================================
   THE FALAFEL SHACK — shared design system
   One stylesheet for every page. Colours are taken from
   the three business cards. Change a colour here and it
   changes everywhere.
   ========================================================= */

:root {
  /* --- Falafel Shack (the tiles) --- */
  --ink:        #1C1A1B;  /* tile black, main dark background */
  --bone:       #EFE3C8;  /* logo lettering, light text on dark */
  --tile-red:   #9D3124;  /* tile red, main accent */
  --tile-blue:  #5573B9;  /* tile blue, links on light backgrounds */
  --gold:       #C9A24A;  /* gold lines and small headings */

  /* --- Solomon's Lament (the feast) --- */
  --lament-wine:  #3D1A18;
  --lament-gold:  #D8AE62;
  --lament-red:   #8D3124;

  /* --- Sababa Sangha (the fire) --- */
  --sangha-ember: #A9411A;
  --sangha-earth: #24170F;
  --sangha-flame: #F6C978;

  /* --- Shared paper --- */
  --parchment:  #F2E8CF;  /* light pages, from the card backs */
  --text:       #2A2421;  /* body text on light backgrounds */
  --text-soft:  #5E524A;

  /* --- Type (same fonts as the business cards) --- */
  --font-display: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-body:    "Roboto", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.9rem;
  --step-0:  1.125rem;   /* 18px body: easier to read */
  --step-1:  1.35rem;
  --step-2:  1.75rem;
  --step-3:  clamp(2rem, 6vw, 2.9rem);

  /* --- Space --- */
  --gap:   1.25rem;
  --pad:   clamp(1.25rem, 5vw, 3rem);
  --measure: 62ch;
  --radius: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p  { margin: 0 0 1em; max-width: var(--measure); }
a  { color: var(--tile-blue); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 var(--pad); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Motto (appears on every card) ---------- */
.motto {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8em 1.3em;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 48px;          /* big enough for thumbs */
  font: inherit; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--tile-red); color: var(--bone); }
.btn-primary:hover { background: #7f2619; }
.btn-line { border-color: var(--gold); color: var(--bone); background: transparent; }
.btn-line:hover { background: rgba(201,162,74,.15); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--ink);
  border-bottom: 3px solid var(--tile-red);
  padding-top: env(safe-area-inset-top, 0px);
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bone);
  text-decoration: none;
  font-size: 1.2rem;
  white-space: nowrap;
}
.menu-toggle {
  background: none; border: 2px solid var(--gold); color: var(--bone);
  font: inherit; font-weight: 700; padding: 0.4em 0.9em;
  border-radius: var(--radius); min-height: 44px; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--bone); text-decoration: none; font-weight: 500;
  display: block; padding: 0.75rem 0;
}
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a:hover { color: var(--gold); }

/* Phone: menu drops down */
@media (max-width: 1299px) {
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink);
    border-bottom: 3px solid var(--tile-red);
    padding: 0.5rem var(--pad) 1rem;
  }
  .site-nav.open { display: block; }
  .site-nav li + li { border-top: 1px solid rgba(239,227,200,.12); }
}
/* Larger screens: menu in a row */
@media (min-width: 1300px) {
  .menu-toggle { display: none; }
  .site-nav ul { display: flex; gap: 1.4rem; }
  .site-nav a { padding: 0.25rem 0; font-size: 1rem; }
}

/* ---------- Hero (the tiles) ---------- */
.hero { background: var(--ink); color: var(--bone); }
.hero-tiles img { width: 100%; max-height: 380px; object-fit: cover; object-position: center; }
.hero-text { padding-top: 2rem; padding-bottom: 2.75rem; }
.hero-text h1 { color: var(--bone); max-width: 20ch; }
.hero-text .regions { color: var(--gold); font-style: italic; font-size: var(--step-1); }
.hero-text p { color: var(--bone); }

/* ---------- Food photo strip ---------- */
.food-strip {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 3px; background: var(--tile-red);
  border-top: 3px solid var(--tile-red); border-bottom: 3px solid var(--tile-red);
}
.food-strip img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; }
@media (min-width: 700px) { .food-strip { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section-intro { margin-bottom: 2rem; }
.list-inline { padding: 0; margin: 0 0 1em; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; }
.list-inline li {
  background: rgba(157,49,36,.1); color: var(--tile-red);
  padding: 0.25em 0.7em; border-radius: 99px; font-weight: 500; font-size: var(--step--1);
}

/* ---------- The family: each branch in its own colours ---------- */
.family { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .family { grid-template-columns: 1fr 1fr; } .family .lament { grid-column: 1 / -1; } }

.branch { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.branch-body { padding: 1.5rem; flex: 1; }
.branch-body p { max-width: 55ch; }

/* Solomon's Lament */
.lament { background: var(--lament-wine); color: #F0E2C7; border: 2px solid var(--lament-gold); }
.lament h3, .lament .motto { color: var(--lament-gold); }
.lament .btn-line { border-color: var(--lament-gold); color: #F0E2C7; }
@media (min-width: 900px) {
  .lament { flex-direction: row; align-items: center; }
  .lament img { width: 55%; }
}

/* Sababa Sangha */
.sangha { background: var(--sangha-earth); color: #F2E8C5; }
.sangha h3 { color: var(--sangha-flame); }
.sangha .btn-line { border-color: var(--sangha-ember); color: #F2E8C5; }
.sangha img { aspect-ratio: 11 / 4; object-fit: cover; width: 100%; }

/* Circle dancing */
.dance { background: var(--parchment); border: 2px solid var(--tile-red); color: var(--text); }
.dance h3 { color: var(--tile-red); }
.dance .btn-line { border-color: var(--tile-red); color: var(--tile-red); }


/* ---------- Events ---------- */
.events-empty {
  border: 2px dashed var(--gold); border-radius: var(--radius);
  padding: 1.5rem; background: rgba(201,162,74,.08);
}

/* ---------- Footer / contact ---------- */
.site-footer { background: var(--ink); color: var(--bone); padding: 3rem 0 2rem; border-top: 3px solid var(--tile-red); }
.site-footer a { color: var(--bone); }
.site-footer h2 { color: var(--gold); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.contact-list .phone { font-size: var(--step-2); font-weight: 700; letter-spacing: .03em; text-decoration: none; }
.site-footer .motto { color: var(--gold); font-size: var(--step-1); margin-top: 1.5rem; }
.small { font-size: var(--step--1); color: rgba(239,227,200,.7); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--ink); color: var(--bone); padding: 2.5rem 0 2rem; border-bottom: 3px solid var(--tile-red); }
.page-hero h1 { color: var(--bone); }
.page-hero .motto { color: var(--gold); }

/* Sub-brand themes: add class="theme-lament" or "theme-sangha" to <body> */
.theme-lament .page-hero { background: var(--lament-wine); border-bottom-color: var(--lament-gold); }
.theme-lament .page-hero h1, .theme-lament .page-hero .motto { color: var(--lament-gold); }
.theme-sangha .page-hero { background: var(--sangha-earth); border-bottom-color: var(--sangha-ember); }
.theme-sangha .page-hero h1 { color: var(--sangha-flame); }
.theme-sangha .page-hero .motto { color: #F2E8C5; }

/* ---------- Solomon's Lament page ---------- */
.lament-hero { background: var(--lament-wine); padding: 1.5rem 0 0; }
.lament-hero img { margin: 0 auto; width: 100%; max-width: 760px; }
.lament-verse { background: var(--lament-wine); color: #F0E2C7; padding: 2rem 0 3rem; text-align: center;
  border-bottom: 3px solid var(--lament-gold); }
.lament-tagline { color: var(--lament-gold); font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1.25;
  max-width: 22ch; margin: 0 auto 1rem; }
.lament-tagline::before { content: "\201C"; }
.lament-tagline::after  { content: "\201D"; }
.lament-full { margin: 0 auto; max-width: 46ch; font-family: var(--font-display); font-size: var(--step-0); }
.lament-ref { display: block; margin-top: .5rem; color: var(--lament-gold); font-size: var(--step--1); letter-spacing: .04em; }
.lament-story h2, .lament-details h2 { color: var(--lament-red); }
.lament-story p { font-family: var(--font-display); line-height: 1.75; }
.lament-details { padding-top: 0; }
.lament-facts { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.lament-facts li { margin-bottom: .4rem; }
.lament-facts li::marker { color: var(--lament-gold); }
.lament .motto::before { content: "\201C"; }
.lament .motto::after  { content: "\201D"; }

/* ---------- God mode ---------- */
.god { background: var(--parchment); }
.god-field { margin-bottom: 2rem; }
.god-field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.god-field textarea, .god-login input {
  width: 100%; font: inherit; padding: .7rem; border: 2px solid var(--text-soft);
  border-radius: var(--radius); background: #fff; color: var(--text);
}
.god-field textarea:focus, .god-login input:focus { outline: 3px solid var(--gold); border-color: var(--gold); }
.god-preview { margin-top: .6rem; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--lament-wine); color: #F0E2C7; }
.god-preview.as-tagline { color: var(--lament-gold); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.5rem; }
.god-preview.as-story { background: var(--parchment); color: var(--text); border: 1px solid var(--gold); font-family: var(--font-display); }
.god-preview.as-heading { background: var(--parchment); color: var(--lament-red); border: 1px solid var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.god-preview.as-motto { background: var(--ink); color: var(--gold); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.25rem; }
.god-status { font-weight: 700; min-height: 1.6em; }
.god-status.ok { color: #2f6b2f; }
.god-status.bad { color: var(--tile-red); }
.god-save { padding: 1.5rem 0 calc(1rem + env(safe-area-inset-bottom, 0px)); border-top: 2px solid var(--gold); }
/* Outline button on light backgrounds */
.lament-details .btn-line { border-color: var(--lament-red); color: var(--lament-red); }
.lament-details .btn-line:hover { background: rgba(141,49,36,.08); }

/* ---------- Catering (food page) ---------- */
.catering-intro { padding-bottom: 1rem; }
.menu-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.menu-jump a {
  text-decoration: none; font-weight: 500; color: var(--tile-red);
  border: 2px solid var(--tile-red); border-radius: 99px; padding: .4em .9em; min-height: 44px;
  display: inline-flex; align-items: center;
}
.menus { display: grid; gap: 2rem; padding-bottom: 3rem; }
.menu-item {
  background: #FBF5E6; border: 2px solid var(--gold); border-radius: var(--radius); overflow: hidden;
  scroll-margin-top: 5rem;
}
.menu-photo { width: 100%; height: 240px; object-fit: cover; }
.menu-body { padding: 1.5rem; }
.menu-body h2 { color: var(--tile-red); margin-bottom: .2em; }
.menu-sub { font-family: var(--font-display); font-style: italic; color: var(--text-soft); }
.dish-list { padding-left: 1.2rem; margin: 0 0 1em; }
.dish-list li { margin-bottom: .25rem; }
.dish-list li::marker { color: var(--tile-red); }
.note { color: var(--text-soft); font-style: italic; margin-top: 1rem; }
@media (min-width: 760px) {
  .menu-item { display: grid; grid-template-columns: 240px 1fr; }
  .menu-photo { height: 100%; min-height: 240px; }
  .menu-feature .tile-band { grid-column: 1 / -1; }
}

/* The Mezze Feast stands out: tile black with the tile band */
.menu-feature { background: var(--ink); color: var(--bone); border-color: var(--tile-red); }
.menu-feature h2 { color: var(--gold); }
.menu-feature .menu-sub { color: var(--bone); opacity: .85; }
.menu-feature .dish-list li::marker { color: var(--gold); }
.tile-band {
  height: 56px;
  background: url("../images/tile-band.jpg") left center / auto 100% repeat-x;
  border-bottom: 3px solid var(--tile-red);
}

/* Price tables */
.price-table { width: 100%; max-width: 30rem; border-collapse: collapse; margin-top: .5rem; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid rgba(201,162,74,.5); }
.price-table thead th { font-size: var(--step--1); color: var(--text-soft); font-weight: 500; }
.price-table tbody th { font-weight: 700; }
.price-table .price { font-weight: 700; font-size: var(--step-1); }
.price-table .pp { color: var(--text-soft); }
.menu-feature .price-table thead th, .menu-feature .price-table .pp { color: rgba(239,227,200,.75); }
.price-table.sweets { max-width: 24rem; margin-bottom: 1rem; }

.btn-line.light { border-color: var(--tile-red); color: var(--tile-red); }

.tribes { background: var(--ink); color: var(--bone); }
.tribes .wrap { padding-top: 2.5rem; padding-bottom: 3rem; }
.tribes h2 { color: var(--gold); }

/* ---------- Sababa Sangha tents ---------- */
.tent { border-radius: var(--radius); overflow: hidden; }
.tent-available { background: var(--sangha-earth); color: #F2E8C5; }
.tent-available img { width: 100%; aspect-ratio: 11 / 5; object-fit: cover; }
.tent-body { padding: 1.5rem; }
.tent-available h2 { color: var(--sangha-flame); margin-bottom: .1em; }
.tent-status {
  display: inline-block; font-weight: 700; font-size: var(--step--1);
  padding: .2em .8em; border-radius: 99px; margin-bottom: .75rem;
  background: var(--sangha-ember); color: #FFF4E0;
}
.tent-size { font-family: var(--font-display); font-size: var(--step-1); margin-bottom: .6em; }
.tent-price { font-family: var(--font-display); margin: 1.25rem 0 .75rem; }
.tent-price [data-edit="sangha.marquee.price"] { font-size: var(--step-3); font-weight: 700; color: var(--sangha-flame); margin-right: .4rem; }
.tent-terms { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.tent-terms li { margin-bottom: .35rem; }
.tent-terms li::marker { color: var(--sangha-ember); }
.tent-available .btn-line { border-color: var(--sangha-ember); color: #F2E8C5; }

.tents-heading { margin-top: 3rem; color: var(--sangha-ember); }
.tent-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .tent-grid { grid-template-columns: 1fr 1fr; } }
.tent-soon { border: 2px dashed var(--sangha-ember); background: rgba(169,65,26,.06); }
.tent-soon h3 { color: var(--sangha-earth); margin-bottom: .1em; }
.tent-soon .tent-status { background: transparent; color: var(--sangha-ember); border: 2px solid var(--sangha-ember); }

.sangha-food { padding-top: 0; }
.sangha-food h2 { color: var(--sangha-ember); }
.sangha-food .btn-line { border-color: var(--sangha-ember); color: var(--sangha-ember); }
.god-group { margin-top: 2.5rem; padding-top: 1rem; border-top: 3px solid var(--tile-red); color: var(--tile-red); }
.god-preview.as-price { background: var(--parchment); color: var(--text); border: 1px solid var(--gold); font-weight: 700; font-size: 1.35rem; }
.god-preview.as-sangha { background: var(--sangha-earth); color: #F2E8C5; }
.god-preview.as-status { background: var(--parchment); border: 1px solid var(--gold); color: var(--sangha-ember); font-weight: 700; }

/* ---------- Forms ---------- */
.form { max-width: 36rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: .7rem; min-height: 48px;
  border: 2px solid var(--text-soft); border-radius: var(--radius); background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--tile-red); }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-status { font-weight: 700; min-height: 1.6em; }
.form-status.ok { color: #2f6b2f; }
.form-status.bad { color: var(--tile-red); }
.form-alt { margin-top: 1.5rem; }
.tent-soon img { width: 100%; aspect-ratio: 11 / 5; object-fit: cover; }

/* ---------- God mode (only visible when logged in) ---------- */
.god-on { padding-bottom: 11rem; }
.god-on [data-edit] { outline: 2px dashed rgba(201,162,74,.8); outline-offset: 2px; cursor: text; }
.god-on [data-edit]:focus { outline: 3px solid var(--gold); background: rgba(201,162,74,.12); }
.god-on [data-edit-img] { outline: 3px dashed var(--gold); outline-offset: -3px; cursor: pointer; }
.god-on [data-edit-img]:hover, .god-on [data-edit-img]:focus { opacity: .85; }
.god-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--ink); color: var(--bone); border-top: 3px solid var(--gold);
  padding: .75rem var(--pad) calc(.75rem + env(safe-area-inset-bottom, 0px));
  font-size: var(--step--1);
}
.god-bar p { margin: 0 0 .4rem; max-width: none; }
.god-bar-status.ok { color: #9fd49f; font-weight: 700; }
.god-bar-status.bad { color: #ff9b8a; font-weight: 700; }
.god-bar-buttons { display: flex; gap: .6rem; }
.god-bar .btn { padding: .55em 1em; min-height: 44px; }
.god-exit-btn { background: transparent; border: 2px solid var(--bone); color: var(--bone); }
.god-how li, .god-pages li { margin-bottom: .5rem; }
.god-pages a { font-weight: 700; }

/* ---------- Booking ---------- */
.nav-book { color: var(--ink) !important; background: var(--gold); padding: .35rem .9rem !important; border-radius: var(--radius); font-weight: 700 !important; display: inline-block !important; margin-top: .25rem; }
.nav-book[aria-current="page"] { background: var(--bone); }
@media (min-width: 1300px) { .site-nav ul { align-items: center; gap: 1.1rem; } .site-nav a { font-size: .95rem; } }
.steps { padding-left: 1.4rem; margin: 0 0 2rem; max-width: 36rem; }
.steps li { margin-bottom: .4rem; }
.steps li::marker { color: var(--tile-red); font-weight: 700; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.form legend { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; color: var(--tile-red); margin-bottom: .75rem; padding: 0; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; margin-bottom: .9rem; cursor: pointer; }
.check input { width: 1.4rem; height: 1.4rem; margin-top: .15rem; accent-color: var(--tile-red); flex: none; }
.sub { border-left: 3px solid var(--gold); padding: .25rem 0 .25rem 1rem; margin: -.25rem 0 1.25rem .6rem; }
.estimate { background: var(--ink); color: var(--bone); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; border-top: 3px solid var(--gold); }
.estimate h2 { color: var(--gold); font-size: var(--step-1); }
.estimate ul { padding-left: 1.2rem; margin: 0 0 .75rem; }
.estimate-total { font-weight: 700; font-size: var(--step-1); }
.estimate-note { font-size: var(--step--1); opacity: .85; margin: 0; }
.book-done { background: #FBF5E6; border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; max-width: 36rem; }

/* ---------- Bookings screen ---------- */
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.admin-bar select, .bk select, .bk input, .bk textarea {
  font: inherit; padding: .5rem .6rem; min-height: 44px; border: 2px solid var(--text-soft); border-radius: var(--radius); background: #fff; color: var(--text);
}
.bk { background: #FBF5E6; border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.bk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.bk-date { margin: 0; font-size: var(--step-1); color: var(--tile-red); }
.bk-status { font-weight: 700; font-size: var(--step--1); padding: .2em .8em; border-radius: 99px; background: var(--gold); color: var(--ink); }
.bk-status.s-new { background: var(--tile-red); color: var(--bone); }
.bk-status.s-deposit-paid, .bk-status.s-paid-in-full { background: #2f6b2f; color: #fff; }
.bk-status.s-declined, .bk-status.s-cancelled { background: #888; color: #fff; }
.bk-who { font-weight: 700; margin: .5rem 0 .2rem; }
.bk-wants { padding-left: 1.2rem; margin: .5rem 0; }
.bk-est { font-weight: 700; }
.bk-msg { font-style: italic; }
.bk-ref { font-size: var(--step--1); color: var(--text-soft); }
.bk-pays, .bk-manage { border-top: 1px solid var(--gold); margin-top: 1rem; padding-top: 1rem; display: grid; gap: .6rem; }
.bk-pays h3 { margin: 0; font-size: 1.1rem; }
.bk-pay { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.bk-pay-state { font-size: var(--step--1); font-weight: 700; color: var(--tile-red); }
.bk-pay.paid .bk-pay-state { color: #2f6b2f; }
.btn.small { padding: .4em .8em; min-height: 40px; font-size: .95rem; }
.bk-make { display: flex; flex-wrap: wrap; gap: .5rem; }
.bk-make input { width: 9rem; }
.bk-manage textarea { width: 100%; }
.bk-decline { font-size: var(--step--1); }
.bk-none { color: var(--text-soft); }
.terms h2 { color: var(--tile-red); font-size: var(--step-1); margin-top: 1.75rem; }

/* ---------- Calendar ---------- */
.cal { background: #FBF5E6; border: 2px solid var(--gold); border-radius: var(--radius); padding: .75rem; max-width: 30rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal-title { margin: 0; font-size: 1.15rem; }
.cal-nav { font: inherit; font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; border: 2px solid var(--gold); background: transparent; border-radius: var(--radius); cursor: pointer; color: var(--text); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .8rem; font-weight: 700; color: var(--text-soft); padding: .2rem 0; }
.cal-day { font: inherit; min-height: 44px; border: 1px solid rgba(201,162,74,.6); border-radius: 4px; background: #fff; color: var(--text); cursor: pointer; padding: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cal-num { font-weight: 700; }
.cal-label { font-size: .62rem; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-day.past { background: transparent; color: #b5aa9a; border-color: transparent; cursor: default; }
.cal-day.taken, .cal-day.blocked { background: #e4dccb; color: #8a7f70; text-decoration: line-through; cursor: not-allowed; }
.cal-day.booked { background: var(--tile-red); color: var(--bone); border-color: var(--tile-red); text-decoration: none; cursor: pointer; }
.cal-day.blocked { cursor: pointer; }
.cal-day.chosen { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.cal-day.clash { background: var(--tile-red); color: #fff; text-decoration: line-through; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: var(--step--1); margin: .6rem 0 0; padding: 0; list-style: none; }
.cal-legend span { display: inline-block; width: 1em; height: 1em; border-radius: 3px; vertical-align: -.15em; margin-right: .3rem; border: 1px solid rgba(201,162,74,.6); }
.cal-choice { font-weight: 700; margin-top: .75rem; }
.cal-choice.bad { color: var(--tile-red); }
.cal-ask { font-weight: 700; margin-bottom: .4rem; }
.wagon-hire { background: #FBF5E6; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.wagon-hire h2 { color: var(--tile-red); }
.wagon-price { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--tile-red); }
.estimate-total p { font-weight: 700; margin-bottom: .5rem; }
.estimate-total p + p { font-weight: 400; font-size: var(--step-0); }
.paid-check { font-weight: 700; color: var(--gold); }
.admin-cal { margin-bottom: 2.5rem; }
.admin-cal .cal { max-width: 34rem; }
.bk-quote { color: var(--text-soft); }
.bk-sec { font-weight: 700; color: var(--sangha-ember); }
.bk-refunded { font-size: var(--step--1); font-weight: 700; color: #2f6b2f; }
.bk-refund { display: flex; gap: .5rem; flex-basis: 100%; }
.bk-refund-amt { width: 6rem; }
.bk-secbox { font-weight: 500; }
.estimate-total .due-now { font-size: var(--step-1); color: var(--gold); }
.admin-records { background: #FBF5E6; border: 1px solid var(--gold); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.admin-records p { flex-basis: 100%; margin: 0 0 .25rem; }
.bk-emailed { font-size: var(--step--1); color: var(--text-soft); }
.bk-history { margin-top: 1rem; font-size: var(--step--1); }
.bk-history summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.bk-history ul { padding-left: 1.2rem; margin: .25rem 0 0; }
.hint { color: var(--text-soft); margin-bottom: 1rem; }
.dance-hire { background: #FBF5E6; border-bottom: 2px solid var(--gold); }
.dance-hire h2 { color: var(--tile-red); }
.per-day { font-size: var(--step-0); font-weight: 400; color: var(--text-soft); }
.bk-van { font-weight: 700; color: var(--tile-blue); }

/* ---------- Watch and listen ---------- */
.media { margin-top: 2rem; }
.media h3 { color: var(--tile-red); margin-top: 1.5rem; }
.media-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .media-grid.video { grid-template-columns: repeat(3, 1fr); } .media-grid.audio { grid-template-columns: repeat(3, 1fr); } }
.media-slot { margin: 0; }
.media-slot:not(.filled) { display: none; }
.media-frame iframe { width: 100%; border: 0; border-radius: var(--radius); display: block; background: var(--ink); }
.media-grid.video .media-frame iframe { aspect-ratio: 16 / 9; height: auto; }
.media-frame iframe.tall { height: 352px; }
.media-frame iframe.short { height: 166px; }
.media-frame audio { width: 100%; }
.media-slot figcaption { font-size: var(--step--1); color: var(--text-soft); margin-top: .35rem; }
.media.empty { display: none; }
/* God mode shows empty slots so they can be filled */
.god-on .media, .god-on .media-slot { display: block !important; }
.god-on .media-slot:not(.filled) .media-frame { border: 2px dashed var(--gold); border-radius: var(--radius); min-height: 90px; display: flex; align-items: center; justify-content: center; color: var(--text-soft); }
.god-embed { background: var(--ink); color: var(--bone); border-radius: var(--radius); padding: .6rem; margin-top: .4rem; display: grid; gap: .4rem; font-size: var(--step--1); }
.god-embed input[type=url] { font: inherit; padding: .45rem; border-radius: 4px; border: 1px solid var(--gold); width: 100%; }
.god-embed .row { display: flex; flex-wrap: wrap; gap: .4rem; }
.god-embed .btn { padding: .35em .8em; min-height: 40px; font-size: .9rem; }
.dance-need { background: #fbe9e5; border-left: 4px solid var(--tile-red); padding: .75rem 1rem; border-radius: 4px; font-weight: 500; }
.dance-need .btn { margin-top: .5rem; display: inline-block; }

/* ---------- Header wears the Falafel Shack tiles ---------- */
.site-header {
  background: var(--ink) url("../images/tile-band.jpg") left center / auto 100% repeat-x;
}
.site-header .wrap { min-height: 4.5rem; }
/* The name sits in a dark panel with a gold edge, like the logo */
.brand {
  background: var(--ink);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: .35rem 1.1rem;
  box-shadow: 0 0 0 3px var(--ink);
  letter-spacing: .02em;
  color: var(--bone);
}
.menu-toggle { background: var(--ink); box-shadow: 0 0 0 3px var(--ink); }
.site-header .wrap > span { background: var(--ink); padding: .3rem .8rem; border-radius: 999px; border: 2px solid var(--gold); }
@media (min-width: 1300px) {
  .site-nav ul { background: var(--ink); border: 2px solid var(--gold); border-radius: 999px; padding: .3rem .4rem .3rem 1.1rem; box-shadow: 0 0 0 3px var(--ink); }
}
@media (min-width: 1300px) { .site-nav a { white-space: nowrap; } .site-nav ul { gap: .95rem; } }
.god-bar-buttons { flex-wrap: wrap; }
.god-banner { margin-top: .6rem; border-top: 1px solid rgba(201,162,74,.5); padding-top: .6rem; }
.god-banner .row { display: flex; flex-wrap: wrap; gap: .4rem; }
.god-banner .btn { padding: .4em .8em; min-height: 40px; font-size: .9rem; }
.media-play { font: inherit; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--ink); color: var(--bone); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; }
.media-grid.audio .media-play { aspect-ratio: auto; min-height: 120px; }
.media-play-icon { font-size: 2.2rem; color: var(--gold); line-height: 1; }
.media-play-text { font-size: var(--step--1); max-width: 26ch; }
.media-play:hover .media-play-icon, .media-play:focus .media-play-icon { color: var(--bone); }
.privacy .pv-legal:has([hidden]) { display: none; }
.small-print { font-size: var(--step--1); color: var(--text-soft); margin-top: 2rem; }
.field-note { font-size: var(--step--1); color: var(--text-soft); margin: .35rem 0 1rem; }
.settings-save { position: sticky; bottom: 0; background: var(--parchment); border-top: 2px solid var(--gold); padding: .75rem 0 calc(.75rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.settings-save .form-status { flex-basis: 100%; margin: 0; }
.god-link-chip { font: inherit; font-size: .75rem; font-weight: 700; margin-left: .35rem; padding: .2rem .55rem; border-radius: 99px;
  border: 1px solid var(--gold); background: var(--ink); color: var(--gold); cursor: pointer; vertical-align: middle; min-height: 32px; }
.bk-allergy { font-weight: 700; color: var(--tile-red); }
.bk-privacy { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px dashed var(--gold); padding-top: .75rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 2 160px; column-gap: .75rem; }
@media (min-width: 900px) { .gallery { columns: 3 220px; } }
.gallery-item { break-inside: avoid; margin: 0 0 .75rem; background: #FBF5E6; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(201,162,74,.5); }
.gallery-item img { width: 100%; display: block; cursor: zoom-in; }
.gallery-item figcaption { font-size: var(--step--1); color: var(--text-soft); padding: .45rem .6rem .55rem; }
.gallery-cap-input { width: 100%; font: inherit; font-size: .95rem; padding: .45rem; border: 0; border-top: 1px solid var(--gold); }
.gallery-god-row { display: flex; gap: .3rem; padding: .4rem; flex-wrap: wrap; }
.god-gallery-tools { background: var(--ink); color: var(--bone); border: 2px solid var(--gold); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.25rem; }
.god-gallery-tools .btn-line.light { color: var(--bone); border-color: var(--gold); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(20,18,18,.9); }
.lightbox img { max-width: 96vw; max-height: 82vh; display: block; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { color: var(--bone); text-align: center; margin: .6rem auto 0; }
.lightbox-close { position: fixed; top: calc(.75rem + env(safe-area-inset-top, 0px)); right: .75rem; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--ink); color: var(--bone); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.photo-pair { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.photo-pair figcaption { font-size: var(--step--1); color: var(--text-soft); margin-top: .3rem; }
.section-photo { width: 100%; max-width: 30rem; max-height: 340px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; display: block; }
.about-row { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; align-items: center; }
.about-row img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
.about h2 { color: var(--tile-red); }
@media (min-width: 760px) { .about-row { grid-template-columns: 2fr 3fr; } .about-row.flip img { order: 2; } }
.about-motto { color: var(--tile-red); font-size: var(--step-2); }
.page-hero .motto { max-width: 40ch; }
.photo-pair { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.photo-pair figcaption { font-size: var(--step--1); color: var(--text-soft); margin-top: .3rem; }
.section-photo { width: 100%; max-width: 30rem; max-height: 340px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; display: block; }
.about-row { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; align-items: center; }
.about-row img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
.about h2 { color: var(--tile-red); }
@media (min-width: 760px) { .about-row { grid-template-columns: 2fr 3fr; } .about-row.flip img { order: 2; } }
.about-motto { color: var(--tile-red); font-size: var(--step-2); }
.page-hero .motto { max-width: 40ch; }
/* Gallery in rows (reads left to right, so moving photos is easy to follow) */
.gallery { columns: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { margin: 0; }
.gallery-item img { aspect-ratio: 1; object-fit: cover; }
.dish-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.dish-pair figure { margin: 0; }
.dish-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); max-height: none; }
.dish-pair figcaption { font-size: var(--step--1); color: var(--text-soft); margin-top: .3rem; text-align: center; }
@media (min-width: 760px) { .about-row.flip .dish-pair { order: 2; } }
.about-motto { margin-top: 4rem; padding-top: 2rem; border-top: 2px solid var(--gold); text-align: center; max-width: none; }
.about .btn-row { justify-content: center; }
.menu-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 240px; background: var(--gold); }
.menu-photo-pair img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .menu-photo-pair { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: 100%; min-height: 300px; } }
.about-wide { margin: 0 0 1rem; }
.about-wide img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.about-wide figcaption { font-size: var(--step--1); color: var(--text-soft); margin-top: .4rem; text-align: center; }
.lament-details .section-photo { max-height: 260px; }
.about-closing { font-family: var(--font-display); font-size: var(--step-1); font-style: italic; color: var(--text); max-width: 40ch; margin: 0 auto 2rem; text-align: center; }

/* The name at the top wears the same badge shape as the logo */
.brand {
  background: url("../images/badge.svg") center / 100% 100% no-repeat;
  border: 0; border-radius: 0; box-shadow: none;
  padding: .75rem 1.9rem .8rem;
  filter: drop-shadow(0 0 3px rgba(28,26,27,.9));
  line-height: 1.1;
}
.brand:focus-visible { outline-offset: 4px; }

/* The tile pattern runs behind the top bar; the name sits in its badge */
.brand { filter: drop-shadow(0 0 3px rgba(28,26,27,.9)); }

/* ---------- Slideshow ---------- */
.slideshow { max-width: 36rem; margin-bottom: 1.5rem; }
.slides-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--lament-wine); cursor: pointer; border: 2px solid var(--lament-gold); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .6rem; color: #F0E2C7; font-family: var(--font-display);
  background: linear-gradient(transparent, rgba(40,16,14,.85)); }
.slides-hint { position: absolute; top: .5rem; right: .5rem; background: rgba(28,26,27,.75); color: var(--bone); font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; }
.slides-dots { display: flex; justify-content: center; gap: .35rem; margin-top: .5rem; flex-wrap: wrap; }
.slides-dots button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; position: relative; }
.slides-dots button::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: rgba(141,49,36,.3); }
.slides-dots button[aria-current="true"]::after { background: var(--lament-red); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.slides-god-list { display: grid; gap: .5rem; margin: .5rem 0 1rem; }
.slides-god-row { display: grid; grid-template-columns: 64px 1fr; gap: .5rem; align-items: center; }
.slides-god-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; grid-row: span 2; }
.slides-god-row input { font: inherit; padding: .4rem; border-radius: 4px; border: 1px solid var(--gold); }
.slides-god-row .row { display: flex; gap: .3rem; }
.lament-statement { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.6; color: var(--lament-wine); max-width: 34ch; }

/* ---------- Lists: tents, extras and the God mode list editor ---------- */
.tent-available + .tent-available { margin-top: 1.5rem; }
.tent-price-big { font-size: var(--step-3); font-weight: 700; color: var(--sangha-flame); margin-right: .4rem; }
.tent-sec { font-size: var(--step--1); opacity: .9; }
.tent-info { background: #FBF5E6; border: 1px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.25rem; }
.tent-info h3 { color: var(--sangha-ember); margin-bottom: .4rem; }
.tent-info .tent-terms { margin-bottom: 0; }
.extra-price { color: var(--text-soft); font-weight: 400; }
.extras-choice { border: 0; padding: 0; margin: .5rem 0 0; }
.extras-choice legend { font-family: var(--font-body); font-size: var(--step-0); color: var(--text); font-weight: 700; margin-bottom: .5rem; }
.list-edit-open { margin: 0 0 1rem; }
.list-editor { margin-bottom: 1.5rem; }
.list-editor h3 { color: var(--gold); margin-bottom: .3rem; }
.list-card { background: rgba(239,227,200,.07); border: 1px solid rgba(201,162,74,.6); border-radius: var(--radius); margin: .6rem 0; padding: .2rem .8rem .8rem; }
.list-card summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.list-field { margin: .7rem 0; }
.list-field > label { display: block; font-weight: 700; font-size: var(--step--1); margin-bottom: .25rem; }
.list-editor input[type=text], .list-editor input[type=number], .list-editor textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .5rem; border-radius: 4px; border: 1px solid var(--gold); background: #fff; color: var(--text); }
.list-editor .check { color: var(--bone); }
.list-editor .row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.list-editor .btn-line.light { color: var(--bone); border-color: var(--gold); }
.tier-row { display: grid; grid-template-columns: auto 5rem auto 1fr; gap: .35rem .5rem; align-items: center; margin-bottom: .5rem; }
.tier-row .tier-pp { grid-column: 2 / 4; font-size: var(--step--1); color: var(--gold); }
.tier-row .btn { grid-column: 4; justify-self: start; }
.tier-label { font-size: var(--step--1); }
.list-photo { display: grid; grid-template-columns: 64px 1fr; gap: .4rem .6rem; align-items: center; margin-bottom: .5rem; }
.list-photo img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; grid-row: span 2; }

/* ---------- Book us for your festival ---------- */
.fest-callout { background: var(--ink); color: var(--bone); border-top: 3px solid var(--tile-red); border-bottom: 3px solid var(--tile-red); }
.fest-callout .wrap { padding-top: 2rem; padding-bottom: 2.25rem; }
.fest-callout h2 { color: var(--gold); font-size: var(--step-3); }
.fest-callout p { color: var(--bone); }
.fest-hero .btn { margin-top: .5rem; }
.fest-bring { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .fest-bring { grid-template-columns: 1fr 1fr; align-items: start; } }
.fest-list { padding-left: 1.2rem; margin: 0; }
.fest-list li { margin-bottom: .6rem; }
.fest-list li::marker { color: var(--tile-red); }
.fest-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.fest-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.fest-history { background: #FBF5E6; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.fest-history h2, .fest-offer h2 { color: var(--tile-red); }
.history { display: grid; gap: .75rem; }
@media (min-width: 760px) { .history { grid-template-columns: 1fr 1fr; } }
.history-item { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid rgba(201,162,74,.6); border-radius: var(--radius); overflow: hidden; }
.history-item.has-photo { grid-template-columns: 96px 1fr; }
.history-item img { width: 96px; height: 100%; min-height: 96px; object-fit: cover; }
.history-body { padding: .7rem .9rem; }
.history-body h3 { font-size: 1.1rem; margin: 0 0 .15rem; color: var(--ink); }
.history-body h3 a { color: var(--ink); }
.history-meta { color: var(--text-soft); font-size: var(--step--1); margin: 0 0 .2rem; }
.history-body p:last-child { margin-bottom: 0; }
.radio-group { border: 0; padding: 0; margin: 0 0 1.1rem; }
.radio-group legend { font-family: var(--font-body); font-size: var(--step-0); color: var(--text); font-weight: 700; margin-bottom: .5rem; }
.radio-group .check input { border-radius: 50%; }
.offer-terms { display: grid; grid-template-columns: max-content 1fr; gap: .25rem .9rem; margin: .75rem 0; }
.offer-terms dt { font-weight: 700; color: var(--text-soft); font-size: var(--step--1); padding-top: .15rem; }
.offer-terms dd { margin: 0; }
.bk-status.s-accepted, .bk-status.s-applied { background: #2f6b2f; color: #fff; }
.menu-between { margin: 0; }
.menu-between img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--gold); }
.menu-between figcaption { text-align: center; font-size: var(--step--1); color: var(--text-soft); margin-top: .4rem; font-family: var(--font-display); font-style: italic; }
.fest-bring { grid-template-columns: 1fr; }
@media (min-width: 860px) { .fest-bring { grid-template-columns: 1fr 1fr; } }
.fest-slides { max-width: none; margin: 0; }
.fest-slides .slides-stage { border-color: var(--gold); background: var(--ink); }
.fest-slides .slide figcaption { background: linear-gradient(transparent, rgba(28,26,27,.85)); }
.fest-slides .slides-dots button[aria-current="true"]::after { background: var(--tile-red); }
.bring-grid { display: grid; gap: .75rem; }
.bring-card { background: #FBF5E6; border: 1px solid rgba(201,162,74,.7); border-left: 4px solid var(--tile-red); border-radius: var(--radius); padding: .8rem 1rem; }
.bring-card h3 { font-size: 1.15rem; margin: 0 0 .2rem; color: var(--tile-red); }
.bring-card p { margin: 0 0 .35rem; }
.bring-link { font-weight: 700; text-decoration: none; display: inline-block; padding: .35rem 0; min-height: 44px; line-height: 2; }
.bring-link:hover { text-decoration: underline; }
/* Festival bar at the very top of the home page */
.fest-ribbon { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .6rem var(--pad);
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; text-align: center; line-height: 1.3; }
.fest-ribbon:hover { background: #d8b35c; }
.fest-ribbon span[aria-hidden] { font-size: 1.4rem; line-height: 1; }
.god-on .fest-ribbon { cursor: text; }

/* ---------- Event organisers page ---------- */
.org-sections { display: grid; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.org-section { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 860px) {
  .org-section { grid-template-columns: 3fr 2fr; gap: 2rem; }
  .org-section.flip .org-media { order: 2; }
}
.org-slides { max-width: none; margin: 0; }
.org-slides .slides-stage { border-color: var(--gold); background: var(--ink); }
.org-slides .slide figcaption { background: linear-gradient(transparent, rgba(28,26,27,.85)); }
.org-slides .slides-dots button[aria-current="true"]::after { background: var(--tile-red); }
.org-video { margin: .75rem 0 0; }
.org-body h2 { color: var(--tile-red); font-size: var(--step-2); margin-bottom: .3rem; }
.org-body p { margin-bottom: .6rem; }
.org-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.org-link { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .9rem; border-radius: 99px;
  background: rgba(157,49,36,.1); color: var(--tile-red); font-weight: 700; text-decoration: none; border: 2px solid rgba(157,49,36,.35); }
.org-link:hover, .org-link:focus-visible { background: var(--tile-red); color: var(--bone); }
.fest-hero .btn-row { margin-top: .5rem; }
.org-book { font-size: 1.15rem; padding: .9em 1.6em; }
/* "Book us now" bar that stays on screen on phones */
.org-sticky { display: none; }
@media (max-width: 859px) {
  .org-sticky { display: flex; position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); z-index: 20;
    justify-content: center; align-items: center; min-height: 52px; border-radius: var(--radius); background: var(--tile-red); color: var(--bone);
    font-weight: 700; font-size: 1.1rem; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: opacity .2s, transform .2s; }
  .org-sticky.away { opacity: 0; transform: translateY(120%); pointer-events: none; }
  body:has(.org-sticky) .site-footer { padding-bottom: 5.5rem; }
}
.god-on .org-sticky { display: none; }
@media (prefers-reduced-motion: reduce) { .org-sticky { transition: none; } }
.org-specs { background: #FBF5E6; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.org-specs h2 { color: var(--tile-red); }
.specs { margin: 0; display: grid; gap: 0; max-width: 44rem; }
.spec-row { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: .6rem 0; border-bottom: 1px solid rgba(201,162,74,.5); }
@media (min-width: 600px) { .spec-row { grid-template-columns: 13rem 1fr; gap: 1rem; } }
.spec-row dt { font-weight: 700; color: var(--ink); }
.spec-row dd { margin: 0; }
@media (min-width: 860px) { .org-section.flip { grid-template-columns: 2fr 3fr; } }

/* ---------- Extras gallery ---------- */
.extras-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1rem 0 1.25rem; }
@media (min-width: 760px) { .extras-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .extras-grid { grid-template-columns: repeat(4, 1fr); } }
.extra-card { background: #FBF5E6; border: 1px solid rgba(201,162,74,.7); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.extra-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.extra-card.no-photo { border-top: 4px solid var(--tile-red); }
.extra-body { padding: .6rem .75rem .7rem; }
.extra-body h3 { font-size: 1rem; margin: 0 0 .15rem; color: var(--ink); font-family: var(--font-display); }
.extra-price { margin: 0; font-size: var(--step--1); color: var(--tile-red); font-weight: 700; }
.extras-grid { align-items: start; }
.gallery-filter { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.gallery-filter-btn { font: inherit; font-weight: 700; min-height: 44px; padding: .4rem 1rem; border-radius: 99px; cursor: pointer;
  border: 2px solid var(--tile-red); background: transparent; color: var(--tile-red); }
.gallery-filter-btn[aria-pressed="true"] { background: var(--tile-red); color: var(--bone); }
.gallery-tag { padding: .3rem .5rem 0; margin: 0; font-size: .9rem; }
/* Gallery viewer and slideshow */
.gallery-top { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.gallery-top .gallery-filter { margin: 0; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; background: rgba(20,18,18,.96); }
.lightbox::backdrop { background: rgba(20,18,18,.96); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: 100vw; max-height: calc(100dvh - 7rem); object-fit: contain; border-radius: 0; }
.lightbox-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px)); color: var(--bone); max-width: 60rem; }
.lightbox-bar p { margin: 0; }
.lightbox-count { font-size: var(--step--1); opacity: .75; }
.lightbox-play { font: inherit; font-weight: 700; min-height: 44px; padding: .3rem 1rem; border-radius: 99px; border: 2px solid var(--gold); background: transparent; color: var(--bone); cursor: pointer; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; z-index: 2;
  border: 2px solid var(--gold); background: rgba(28,26,27,.7); color: var(--bone); font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-nav.prev { left: .6rem; }
.lightbox-nav.next { right: .6rem; }
.lightbox-close { z-index: 3; }
.tent-slides { max-width: none; margin: 0; }
.tent-slides .slides-stage { border: 0; border-radius: 0; background: var(--sangha-earth); aspect-ratio: 4 / 3; }
@media (min-width: 860px) { .tent-slides .slides-stage { aspect-ratio: 16 / 9; } }
.tent-slides .slide figcaption { background: linear-gradient(transparent, rgba(36,23,15,.85)); }
.tent-slides .slides-dots { background: var(--sangha-earth); margin: 0; padding: .35rem 0; }
.tent-slides .slides-dots button::after { background: rgba(246,201,120,.35); }
.tent-slides .slides-dots button[aria-current="true"]::after { background: var(--sangha-flame); }
.tent-soon .tent-slides .slides-stage { aspect-ratio: 11 / 5; }
/* Our story (About) and the quote band (Home) */
.about-story { max-width: 44rem; margin-bottom: 2.5rem; }
.about-story h2 { color: var(--tile-red); }
.about-story p { font-size: var(--step-0); line-height: 1.75; }
.about-pull { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--tile-red); border-left: 4px solid var(--gold); padding-left: 1rem; margin-top: 1.5rem; }
.quote-band { background: var(--parchment); border-bottom: 2px solid var(--gold); }
.quote-band .wrap { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.quote-band p { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.35; color: var(--tile-red); text-align: center; max-width: 30ch; margin: 0 auto; }
.inline-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.page-hero .inline-link, .fest-callout .inline-link { color: var(--gold); }
/* God mode: choose photos from the gallery */
.picker { width: min(64rem, 96vw); max-height: 92dvh; padding: 0; border: 2px solid var(--gold); border-radius: var(--radius); background: var(--parchment); display: flex; flex-direction: column; }
.picker::backdrop { background: rgba(20,18,18,.7); }
.picker-head { padding: 1rem 1rem .5rem; }
.picker-head h2 { margin: 0 0 .2rem; color: var(--tile-red); }
.picker-head p { margin: 0; }
.picker-grid { flex: 1 1 auto; min-height: 0; grid-auto-rows: max-content; overflow: auto; padding: .5rem 1rem; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.picker-item { position: relative; display: block; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: #fff; cursor: pointer; }
.picker-item:has(input:checked) { border-color: var(--tile-red); }
.picker-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.picker-item input { position: absolute; top: .4rem; left: .4rem; width: 1.5rem; height: 1.5rem; accent-color: var(--tile-red); }
.picker-item span { display: block; font-size: .8rem; padding: .3rem .4rem; color: var(--text-soft); }
.picker-item.already { opacity: .55; cursor: default; }
.picker-foot { display: flex; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid var(--gold); background: #FBF5E6; }

/* God mode: Make a link */
.god-link-form { display: grid; gap: .5rem; margin-top: .4rem; }
.god-link-form label { display: grid; gap: .2rem; font-size: .9rem; }
.god-link-form select, .god-link-form input { font: inherit; font-size: 1rem; padding: .45rem .5rem; border-radius: 6px; border: 1px solid #bbb; min-height: 40px; width: 100%; max-width: 28rem; }
.god-link[hidden], .god-link [hidden] { display: none !important; }

/* Unfinished pages stay out of the menu until switched on in Settings */
html:not(.show-nav-community) li:has(> [data-nav="community"]),
html:not(.show-nav-music) li:has(> [data-nav="music"]) { display: none; }
.field-check label { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.field-check input { width: 1.4rem; height: 1.4rem; min-height: 0; padding: 0; flex: none; accent-color: var(--tile-red); }
