/* Beenleigh Brass Band — site stylesheet
   Palette drawn from the band logo: brass gold + deep maroon on warm cream/ink. */

:root {
  --ink: #15161a;
  --ink-2: #202229;
  --brass: #c9a03c;
  --brass-2: #e6c86b;
  --maroon: #8a1e2a;
  --maroon-2: #a52836;
  --cream: #faf6ee;
  --white: #ffffff;
  --text: #24262b;
  --muted: #646873;
  --line: #e6e0d4;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 20px 50px -30px rgba(21, 22, 26, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
a:hover { color: var(--maroon-2); }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 760px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .55em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.on-dark .eyebrow { color: var(--brass-2); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}
.brand img { width: 46px; height: 46px; }
.brand small {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: rgba(21, 22, 26, .07);
  color: var(--ink);
}
.nav-links .btn { margin-left: .6rem; padding: .6rem 1.1rem; }
.nav-links .btn:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s, opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-links .btn { margin: .5rem 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-2); border-color: var(--brass-2); color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-maroon { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-2); border-color: var(--maroon-2); color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-outline.light { color: #fff; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 22, 26, .25) 0%, rgba(21, 22, 26, .78) 62%, var(--ink) 100%);
}
.hero .container { position: relative; z-index: 1; padding: clamp(5rem, 12vw, 8rem) 0 3.5rem; }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 54ch; }
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .85rem;
  margin-bottom: 1.4rem;
}
.hero .badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass-2);
  box-shadow: 0 0 0 4px rgba(230, 200, 107, .25);
}

/* ---------- Fact strip ---------- */
.facts { background: var(--ink); padding: 0 0 3.5rem; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact { background: var(--ink); padding: 1.6rem 1.5rem; }
.fact small {
  display: block;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .35rem;
}
.fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brass-2);
  line-height: 1.15;
  margin-bottom: .25rem;
}
.fact span { color: rgba(255, 255, 255, .72); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .85); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse .media { order: -1; }
.split .media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split .media.landscape img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .split .media img { aspect-ratio: 4 / 3; }
}

.checks { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.pills li {
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(21, 22, 26, .06);
  font-size: .9rem;
  font-weight: 500;
}
.section-dark .pills li { background: rgba(255, 255, 255, .1); color: #fff; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(201, 160, 60, .18);
  color: var(--maroon);
  margin-bottom: 1rem;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card p a { word-break: break-word; }
.section-dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: rgba(255, 255, 255, .7); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery figure { margin: 0; }
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.gallery .tall img { aspect-ratio: 4 / 3; object-position: top; }

dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1200px);
  max-height: 94vh;
  overflow: visible;
}
dialog.lightbox::backdrop { background: rgba(21, 22, 26, .92); }
dialog.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}
dialog.lightbox p { color: rgba(255, 255, 255, .8); text-align: center; margin: .75rem 0 0; font-size: .95rem; }
dialog.lightbox .close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Call to action ---------- */
.cta {
  background: linear-gradient(135deg, var(--maroon) 0%, #5e1119 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 200, 107, .28), transparent 65%);
  pointer-events: none;
}
.cta .container { position: relative; display: grid; gap: 1.5rem; grid-template-columns: 1.4fr 1fr; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) {
  .cta .container { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -40%;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 60, .22), transparent 62%);
  pointer-events: none;
}
.page-head .container { position: relative; }
.page-head h1 { color: #fff; max-width: 16ch; font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.page-head .lead { color: rgba(255, 255, 255, .78); max-width: 58ch; }

/* ---------- Content blocks ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.3rem; }
.callout {
  border-left: 4px solid var(--brass);
  background: rgba(201, 160, 60, .12);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.details-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 860px) { .details-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.contact-list .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(201, 160, 60, .18);
  color: var(--maroon);
}
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { color: var(--muted); font-size: .95rem; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1rem;
}
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: .35rem; }
.form input, .form textarea, .form select {
  width: 100%;
  font: inherit;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid rgba(201, 160, 60, .5); border-color: var(--brass); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form .hint { font-size: .85rem; color: var(--muted); margin: 0; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form .form-status { margin: 0; font-weight: 500; display: none; }
.form .form-status.error { display: block; color: var(--maroon); }
.form .form-status.ok { display: block; color: #1f6b3a; }
.form.sent > *:not(.form-status):not(h3) { display: none; }
.form button[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255, 255, 255, .55); }
.site-footer .brand img { background: #fff; border-radius: 10px; }
.site-footer p { max-width: 42ch; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.site-footer .ext { display: inline-flex; align-items: center; gap: .45rem; }
.site-footer .ext svg { width: 16px; height: 16px; opacity: .7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.4rem 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}
.social {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem .6rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff !important;
  font-weight: 600;
  font-size: .9rem;
}
.social:hover { background: rgba(255, 255, 255, .14); }
.social svg { width: 20px; height: 20px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery img { transition: none; }
}
