/* ==========================================================================
   Greeneville Swing Band
   Design tokens: deep teal-black stage, brass accents, sheet-music cream.
   Display: Bodoni Moda (didone, 1930s sheet-music covers)
   Body/UI: Karla
   ========================================================================== */

:root {
  /* Palette */
  --stage:      #0C1B1F;  /* deep teal-black — the darkened house */
  --stage-2:    #12262B;  /* raised surface */
  --stage-3:    #1A343A;  /* borders, hairlines on dark */
  --brass:      #C99B4A;  /* the horn section */
  --brass-lit:  #E7C57E;  /* highlight on brass */
  --oxblood:    #8A3535;  /* curtain red, used sparingly */
  --cream:      #F3EDE1;  /* sheet music */
  --cream-dim:  #C9C2B4;  /* secondary text on dark */
  --ink:        #0C1B1F;  /* text on light surfaces */

  /* Type */
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  /* Scale — the display steps are fluid. Fixed rem values meant the hero H1
     could not shrink below its own text width, so "GREENEVILLE" ran past the
     edge of a 390px phone. */
  --step--1: 0.8125rem;
  --step-0:  1.0625rem;
  --step-1:  1.375rem;
  --step-2:  clamp(1.5rem,  1.24rem + 1.1vw, 1.875rem);
  --step-3:  clamp(1.875rem, 1.42rem + 2.0vw, 2.5rem);
  --step-4:  clamp(2.25rem, 1.42rem + 3.6vw, 3.5rem);

  /* Rhythm */
  --gutter: 1.5rem;
  --measure: 68ch;
  --wrap: 1180px;
  --section-y: 6rem;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 48rem) {
  :root {
    --step-3: 3.25rem;
    --step-4: 5rem;
    --gutter: 2.5rem;
    --section-y: 8rem;
  }
}

/* --------------------------------------------------------------- Reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* The closed mobile nav is position:fixed and parked off-canvas at
   translateX(100%). A fixed element is laid out against the initial containing
   block, so clipping on <body> does not contain it — it has to happen on the
   root, or every page scrolls sideways on a phone. `clip` rather than `hidden`
   keeps the sticky header working. */
html { overflow-x: clip; }

body {
  margin: 0;
  background: var(--stage);
  color: var(--cream);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Older browsers that do not know `overflow: clip` still need the overflow
   contained; they lose sticky positioning on the header, which is a fair trade
   against a horizontally scrolling page. */
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}

img { max-width: 100%; display: block; }
a { color: var(--brass-lit); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--brass-lit);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass);
  color: var(--stage);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

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

/* ------------------------------------------------------------- Layout -- */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.wrap--narrow { max-width: 760px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.section--light {
  background: var(--cream);
  color: var(--ink);
}
.section--light a { color: var(--oxblood); }
.section--light a:hover { color: var(--ink); }

/* Eyebrow: small tracked label. Used for section kickers only. */
.eyebrow {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  max-width: 8rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }

.section--light .eyebrow { color: var(--oxblood); }
.section--light .eyebrow::after {
  background: linear-gradient(90deg, var(--oxblood), transparent);
}

/* ------------------------------------------------------------ Buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--stage);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--brass-lit);
  border-color: var(--brass-lit);
  color: var(--stage);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--brass-lit);
}
.btn--ghost:hover {
  background: var(--brass);
  color: var(--stage);
}

.section--light .btn--ghost {
  color: var(--oxblood);
  border-color: var(--oxblood);
}
.section--light .btn--ghost:hover {
  background: var(--oxblood);
  color: var(--cream);
}

/* -------------------------------------------------------- Site header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 27, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stage-3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--cream);
}
.brand:hover { color: var(--cream); }

.brand__mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.02em;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}
.brand__tag {
  font-size: 0.6875rem;
  white-space: nowrap;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--brass-lit); }

@media (max-width: 61.99rem) {
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--stage-2);
    border-left: 1px solid var(--stage-3);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
    overflow-y: auto;
  }
  .site-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s var(--ease), visibility 0s;
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .site-nav a { font-size: var(--step-0); }
}

@media (max-width: 26rem) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1rem; }
}

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 16, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 90;
}
.nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------- Signature: marquee -- */
/*
   The hero is a bandstand marquee: a double brass rule frames the band
   name, and the next booking is posted on the board below it.
*/

.marquee {
  position: relative;
  padding-block: clamp(4rem, 12vw, 8rem);
  overflow: hidden;
  border-bottom: 1px solid var(--stage-3);
}

.marquee__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(201, 155, 74, 0.18), transparent 62%);
  pointer-events: none;
}

/* Faint staff lines running behind the hero — the band's own material. */
.marquee__staff {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 22px,
    rgba(243, 237, 225, 0.05) 22px 23px
  );
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}

.marquee__inner {
  position: relative;
  text-align: center;
}

.marquee__frame {
  display: inline-block;
  max-width: 100%;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 5rem);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  position: relative;
}
.marquee__frame::before,
.marquee__frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: rgba(201, 155, 74, 0.4);
}
.marquee__frame::before { top: 5px; }
.marquee__frame::after { bottom: 5px; }

.marquee__kicker {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.25rem;
}

.marquee__title {
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 900;
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.marquee__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--brass-lit);
  font-size: 0.42em;
  margin-top: 0.5rem;
}

.marquee__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Next-booking board */
.next-up {
  margin-top: 3.5rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 1rem 1.75rem;
  border: 1px solid var(--stage-3);
  background: rgba(18, 38, 43, 0.7);
  border-radius: var(--radius);
  text-align: left;
}
.next-up__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.next-up__title {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 700;
}
.next-up__meta {
  font-size: var(--step--1);
  color: var(--cream-dim);
}
.next-up a { text-decoration: none; }

/* ---------------------------------------------------------- Home bits -- */

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stage-3);
}
.stat__num {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--brass-lit);
  line-height: 1;
  display: block;
}
.stat__label {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.5rem;
  display: block;
}

.frame-img {
  position: relative;
  border: 1px solid var(--stage-3);
  padding: 0.75rem;
}
.frame-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.frame-img--tall img { aspect-ratio: 4 / 5; }

/* ------------------------------------------------------- Page banner -- */

.page-head {
  padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--stage-3);
  position: relative;
}
.page-head__title {
  font-size: var(--step-3);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.page-head p {
  color: var(--cream-dim);
  max-width: 56ch;
  margin: 0;
}

/* ------------------------------------------------------------ Events -- */

.view-switch {
  display: inline-flex;
  border: 1px solid var(--stage-3);
  border-radius: var(--radius);
  overflow: hidden;
}
.view-switch button {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  background: transparent;
  color: var(--cream-dim);
  border: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.view-switch button[aria-pressed="true"] {
  background: var(--brass);
  color: var(--stage);
}

.events-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.event-list { display: grid; gap: 1.25rem; }

.event-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--stage-3);
  background: var(--stage-2);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.event-card:hover { border-color: var(--brass); }
.event-card[data-past="true"] { opacity: 0.62; }

@media (min-width: 44rem) {
  .event-card { grid-template-columns: 108px 1fr auto; align-items: start; }
}

/* Date block reads like a torn ticket stub */
.event-date {
  justify-self: start;
  text-align: center;
  border: 1px solid var(--brass);
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius);
  align-self: start;
  min-width: 96px;
}
.event-date__mon {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.event-date__day {
  display: block;
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.05;
}
.event-date__yr {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
}

.event-card__title {
  font-size: var(--step-2);
  margin: 0 0 0.4rem;
}
.event-card__meta {
  font-size: var(--step--1);
  color: var(--cream-dim);
  margin: 0 0 0.2rem;
}
.event-card__meta strong { color: var(--cream); font-weight: 700; }
.event-card__meta span + span::before {
  content: "·";
  margin: 0 0.55rem;
  color: var(--brass);
}
.event-card__where {
  font-size: var(--step--1);
  color: var(--cream-dim);
  margin: 0 0 0.85rem;
  opacity: 0.8;
}
.event-card__desc { margin: 0; color: var(--cream-dim); }

.event-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: stretch;
}
@media (max-width: 43.99rem) {
  .event-card__actions { flex-direction: row; flex-wrap: wrap; }
}

.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--brass);
  color: var(--brass);
  margin-bottom: 0.75rem;
}
.tag--free { border-color: var(--brass); }
.tag--past { border-color: var(--cream-dim); color: var(--cream-dim); }

/* Month grid */
.calendar { border: 1px solid var(--stage-3); border-radius: var(--radius); overflow: hidden; }

.calendar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--stage-2);
  border-bottom: 1px solid var(--stage-3);
}
.calendar__month {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 700;
  margin: 0;
}
.calendar__nav { display: flex; gap: 0.5rem; }
.calendar__nav button {
  width: 40px; height: 40px;
  border: 1px solid var(--stage-3);
  background: transparent;
  color: var(--cream);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.calendar__nav button:hover { border-color: var(--brass); color: var(--brass-lit); }

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar__dow {
  padding: 0.7rem 0.4rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--stage-3);
}
.calendar__cell {
  min-height: 92px;
  padding: 0.5rem;
  border-right: 1px solid rgba(26, 52, 58, 0.6);
  border-bottom: 1px solid rgba(26, 52, 58, 0.6);
  font-size: var(--step--1);
}
.calendar__cell:nth-child(7n) { border-right: 0; }
.calendar__cell[data-muted="true"] { opacity: 0.3; }
.calendar__cell[data-today="true"] { background: rgba(201, 155, 74, 0.08); }
.calendar__daynum { color: var(--cream-dim); display: block; margin-bottom: 0.3rem; }
.calendar__cell[data-today="true"] .calendar__daynum { color: var(--brass-lit); font-weight: 700; }

.calendar__event {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--brass);
  color: var(--stage);
  border: 0;
  border-radius: var(--radius);
  padding: 0.3rem 0.4rem;
  margin-bottom: 0.25rem;
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.calendar__event:hover { background: var(--brass-lit); }
.calendar__event[data-past="true"] { background: var(--stage-3); color: var(--cream-dim); }

@media (max-width: 40rem) {
  .dow-full { display: none; }
  .calendar__cell { min-height: 64px; padding: 0.3rem; }
  .calendar__event { font-size: 0.5625rem; padding: 0.2rem 0.25rem; }
}

.empty-state {
  border: 1px dashed var(--stage-3);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--cream-dim);
}
.empty-state h3 { color: var(--cream); font-size: var(--step-1); }
.empty-state p { margin-inline: auto; }

/* ----------------------------------------------------------- Gallery -- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filter-bar button {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--cream-dim);
  border: 1px solid var(--stage-3);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-bar button:hover { border-color: var(--brass); color: var(--brass-lit); }
.filter-bar button[aria-pressed="true"] {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--stage);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.shot {
  position: relative;
  padding: 0;
  border: 1px solid var(--stage-3);
  background: var(--stage-2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.shot:hover { border-color: var(--brass); transform: translateY(-3px); }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.shot:hover img { transform: scale(1.04); }

.shot__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(12, 27, 31, 0.95), transparent);
  font-size: var(--step--1);
  color: var(--cream);
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.shot:hover .shot__caption,
.shot:focus-visible .shot__caption { opacity: 1; }

/* Graceful stand-in when a photo file is missing */
.shot__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  background:
    repeating-linear-gradient(45deg,
      rgba(201, 155, 74, 0.06) 0 10px,
      transparent 10px 20px),
    var(--stage-2);
  color: var(--brass);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(6, 14, 16, 0.96);
  display: none;
  padding: clamp(1rem, 4vw, 3rem);
  grid-template-rows: 1fr auto;
  gap: 1rem;
}
.lightbox[data-open="true"] { display: grid; }

.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--stage-3);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--cream-dim);
  font-size: var(--step--1);
}
.lightbox__btn {
  background: transparent;
  border: 1px solid var(--stage-3);
  color: var(--cream);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox__btn:hover { border-color: var(--brass); color: var(--brass-lit); }
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
}

/* ------------------------------------------------------------- Forms -- */

.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field--full { grid-column: 1 / -1; }
}

.field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--brass);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--cream);
  background: var(--stage-2);
  border: 1px solid var(--stage-3);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brass); outline: none; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(201, 194, 180, 0.5); }

.field__hint { font-size: var(--step--1); color: var(--cream-dim); margin: 0.4rem 0 0; }
.field__error {
  font-size: var(--step--1);
  color: #E8867F;
  margin: 0.4rem 0 0;
  display: none;
}
.field[data-invalid="true"] .field__error { display: block; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea { border-color: #E8867F; }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--stage-3);
  font-size: var(--step--1);
  display: none;
}
.form-status[data-state="ok"] {
  display: block;
  border-color: var(--brass);
  color: var(--brass-lit);
}
.form-status[data-state="error"] {
  display: block;
  border-color: #E8867F;
  color: #E8867F;
}

/* Contact detail cards */
.contact-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.contact-card {
  border: 1px solid var(--stage-3);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--stage-2);
}
.contact-card h3 {
  font-size: var(--step-1);
  margin-bottom: 0.3rem;
}
.contact-card p { color: var(--cream-dim); margin: 0; font-size: var(--step--1); }

/* -------------------------------------------------------------- Prose -- */

.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }

.pull {
  border-left: 2px solid var(--brass);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.25;
  color: var(--cream);
}
.section--light .pull { border-color: var(--oxblood); color: var(--ink); }

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--stage-3);
  border: 1px solid var(--stage-3);
  margin-top: 2rem;
}
.roster div {
  background: var(--stage);
  padding: 1.25rem;
}
.roster dt {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.35rem;
}
.roster dd { margin: 0; color: var(--cream-dim); font-size: var(--step--1); }

/* -------------------------------------------------------------- CTA -- */

.cta-band {
  background: var(--brass);
  color: var(--stage);
  text-align: center;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.cta-band h2 {
  font-size: var(--step-3);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cta-band p {
  margin-inline: auto;
  max-width: 46ch;
  color: rgba(12, 27, 31, 0.8);
}
.cta-band .btn {
  background: var(--stage);
  border-color: var(--stage);
  color: var(--brass-lit);
  margin-top: 1.5rem;
}
.cta-band .btn:hover { background: #061013; border-color: #061013; }

/* ------------------------------------------------------------ Footer -- */

.site-footer {
  border-top: 1px solid var(--stage-3);
  padding-block: 3.5rem 2rem;
  font-size: var(--step--1);
  color: var(--cream-dim);
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: var(--cream-dim); text-decoration: none; }
.site-footer a:hover { color: var(--brass-lit); }

.social {
  display: flex;
  gap: 0.75rem;
}
.social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stage-3);
  border-radius: 50%;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.social a:hover { border-color: var(--brass); color: var(--brass-lit); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.colophon {
  border-top: 1px solid var(--stage-3);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ------------------------------------------------------------ Motion -- */

/* Reveal-on-scroll is opt-in: the `js` class is set by an inline script in
   <head>. Without JavaScript the rule never applies, so all content renders
   normally instead of sitting at opacity 0 forever. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------- Print */

@media print {
  .site-header, .site-footer, .marquee__actions, .btn { display: none; }
  body { background: #fff; color: #000; }
}
