/* Bullpen Records — design system
   Source of truth: /brand/Bullpen_Records_Brand_Guide_2026.pdf
   Class names follow the previous site's stylesheet so pages and the member app port without markup changes. */

/* ---------- BRAND TOKENS (the only place hex values live) ---------- */
:root{
  --stitch-red: #B23A2E;   /* primary: CTAs, dividers, key numerals, icons */
  --dugout-black: #121212; /* backgrounds, nav */
  --chalk: #EDE6D8;        /* body text on dark, light sections */
  --rally-red: #E06B52;    /* small text/labels on black, hover, focus rings */
  --clay-brick: #7A2A21;   /* pressed/hover on red, overlays, text on chalk */
  --bench: #1C1B19;        /* cards, panels, form fields */
  --baseline: #33302B;     /* borders, rules */
  --infield-dust: #8F887C; /* secondary text, captions */

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;

  --track-display: 0.015em; /* +1 to +2% */
  --track-label: 0.1em;     /* +8 to +12% */
  --max: 1120px;
  --gutter: 28px;
}

/* ---------- SURFACE ROLES ----------
   Components read these, never the raw tokens, so the same markup works on
   Dugout Black, Chalk and Stitch Red. Each surface re-points the roles. */
:root, .on-dark{
  --page: var(--dugout-black);
  --panel: var(--bench);
  --ink: var(--chalk);
  --ink-soft: var(--infield-dust);
  --accent: var(--stitch-red);     /* large type, numerals, graphics, solid buttons */
  --accent-ink: var(--rally-red);  /* small accent text, outlines, focus */
  --rule: var(--baseline);
  --field-edge: var(--infield-dust);
}
.on-chalk{
  --page: var(--chalk);
  --panel: var(--chalk);
  --ink: var(--dugout-black);
  --ink-soft: var(--baseline);
  --accent: var(--stitch-red);
  --accent-ink: var(--clay-brick);
  --rule: var(--infield-dust);
  --field-edge: var(--baseline);
}
.on-red{
  --page: var(--stitch-red);
  --panel: var(--clay-brick);
  --ink: var(--chalk);
  --ink-soft: var(--chalk);
  --accent: var(--chalk);
  --accent-ink: var(--chalk);
  --rule: var(--clay-brick);
  --field-edge: var(--chalk);
}
/* Cards are always dark panels, whatever band they sit in.
   Stitch Red on Bench is 2.9:1, under the 3:1 needed even for large type,
   so numerals and accents inside a card use Rally Red (5.2:1). */
.channel, .artist-card, .door, .summary-box, .stat{
  --page: var(--dugout-black);
  --panel: var(--bench);
  --ink: var(--chalk);
  --ink-soft: var(--infield-dust);
  --accent: var(--rally-red);
  --accent-ink: var(--rally-red);
  --rule: var(--baseline);
  --field-edge: var(--infield-dust);
}
/* Full-width colour band. Put .on-chalk or .on-red on it, and a .wrap inside. */
.band{ background: var(--page); color: var(--ink); }
.band > .wrap{ padding-top: 72px; padding-bottom: 72px; }

/* ---------- MOTION ---------- */
@view-transition{ navigation: auto; }
::view-transition-old(root),
::view-transition-new(root){
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}
.fade-section{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-section.is-visible{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .fade-section{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root){ animation: none; }
}

/* ---------- BASE ---------- */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
}
img{ max-width: 100%; }

/* Headers: Bebas Neue Regular, always uppercase, never below 28px. */
h1, h2, h3, .display{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: 1;
  margin: 0;
}
h1{ font-size: clamp(3rem, 9vw, 6.5rem); }
h2{ font-size: clamp(2rem, 4.5vw, 3rem); }
h3{ font-size: 1.75rem; }

p{ margin: 0 0 16px; }
.lede{ font-size: 1.1rem; max-width: 52ch; }
.muted{ color: var(--ink-soft); }
.accent{ color: var(--accent); }         /* large type and numerals only */
.accent-ink{ color: var(--accent-ink); } /* safe at small sizes */

a{ color: inherit; }
.text-link{
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.text-link:hover{ border-bottom-color: currentColor; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
.deal-type-option input:focus-visible + label{
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  /* sides only, so section top/bottom spacing still applies */
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
/* Grids that sit outside .wrap: match .wrap's content width and gutters */
.channels, .rooms{
  width: calc(100% - (var(--gutter) * 2));
  max-width: calc(var(--max) - (var(--gutter) * 2));
  margin-left: auto;
  margin-right: auto;
}
/* Keep anchor-linked targets from landing underneath the sticky header */
[id]{ scroll-margin-top: 116px; }

/* Stitch Red divider */
.rule-red{ border: 0; height: 2px; background: var(--accent); margin: 0; }
.rule-red.short{ width: 64px; }

.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- NAV ---------- */
header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--dugout-black);
  color: var(--chalk);
  border-bottom: 1px solid var(--baseline);
}
.nav{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 0;
}
/* Below the max width, keep side gutters so the header doesn't touch the screen edge */
@media (min-width: 641px) and (max-width: 1175px){
  .nav{ padding-left: var(--gutter); padding-right: var(--gutter); }
}
.brand{ display: flex; justify-content: center; order: 2; }
.brand-link{ display: flex; align-items: center; }
/* The logo file carries its own clear space. 160px is the minimum width; never go below it. */
.brand-logo{ display: block; width: 160px; height: 80px; }
nav{ order: 1; }
nav ul{
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
header nav ul li a{
  white-space: nowrap;
  text-decoration: none;
  color: var(--infield-dust);
  transition: color 0.15s ease;
}
header nav ul li a:hover,
header nav ul li a[aria-current="page"]{ color: var(--chalk); }
.nav-actions{
  order: 3;
  justify-self: end;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.nav-login{
  font-size: 0.75rem;
  color: var(--infield-dust);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-login:hover{ color: var(--chalk); }

/* Signed-in links live in a desktop hamburger so they never crowd the centered logo.
   Below 960px the whole .nav-actions row hides and the mobile menu carries these links. */
.member-menu{ position: relative; align-self: stretch; display: flex; align-items: center; }
.member-menu-btn{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 22px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.member-menu-btn span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--chalk);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.member-menu-btn:hover span{ background: var(--rally-red); }
.member-menu-btn[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.member-menu-btn[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.member-menu-btn[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.member-menu-panel{
  position: absolute;
  top: calc(100% + 9px); /* .nav's bottom padding + header border */
  right: 0;
  z-index: 11;
  min-width: 220px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--dugout-black);
  border: 1px solid var(--baseline);
  border-top: 0;
}
.member-menu-panel[hidden]{ display: none; }
.member-menu-panel li{ border-bottom: 1px solid var(--baseline); }
.member-menu-panel li:last-child{ border-bottom: none; }
.member-menu-panel a{
  display: block;
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--infield-dust);
  text-decoration: none;
  transition: color 0.15s ease;
}
.member-menu-panel a:hover,
.member-menu-panel a[aria-current="page"]{ color: var(--chalk); }
.nav-mobile-only{ display: none; }

/* ---------- MOBILE NAV (hamburger) ---------- */
.nav-toggle{ position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 22px;
  cursor: pointer;
}
.nav-toggle-label span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--chalk);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2){ opacity: 0; }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible ~ .nav-toggle-label{ outline: 2px solid var(--rally-red); outline-offset: 6px; }

@media (max-width: 960px){
  .nav{ display: flex; align-items: center; justify-content: space-between; }
  .brand{ order: 1; justify-content: flex-start; }
  .nav-toggle-label{ display: flex; order: 2; }
  .nav-actions{ display: none; }
  .nav-mobile-only{ display: block; }
  nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dugout-black);
    border-bottom: 1px solid var(--baseline);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-toggle:checked ~ nav{ max-height: 640px; visibility: visible; transition-delay: 0s; }
  nav ul{ flex-direction: column; gap: 0; padding: 4px var(--gutter) 12px; }
  nav ul li{ border-bottom: 1px solid var(--baseline); }
  nav ul li:last-child{ border-bottom: none; }
  header nav ul li a{ display: block; padding: 16px 4px; font-size: 0.95rem; }
}

/* ---------- BUTTONS ---------- */
.btn{
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--accent-ink);
  color: var(--accent-ink);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover{ background: var(--accent-ink); color: var(--page); }
.btn-solid{
  background: var(--stitch-red);
  border-color: var(--stitch-red);
  color: var(--chalk);
}
.btn-solid:hover, .btn-solid:active{
  background: var(--clay-brick);
  border-color: var(--clay-brick);
  color: var(--chalk);
}
/* On a Stitch Red band the solid button flips to black so it still reads as the primary action. */
.on-red .btn-solid{ background: var(--dugout-black); border-color: var(--dugout-black); }
.on-red .btn-solid:hover, .on-red .btn-solid:active{ background: var(--clay-brick); border-color: var(--clay-brick); }
.btn[disabled], .btn[aria-disabled="true"]{ opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-block{ display: block; width: 100%; text-align: center; }

/* ---------- HERO ---------- */
.hero{
  /* top/bottom only, so .wrap keeps the side gutters */
  padding-top: 96px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero-eyebrow{
  font-size: 0.75rem;
  color: var(--accent-ink);
  margin-bottom: 22px;
}
.hero h1{ color: var(--ink); line-height: 0.95; }
.hero h1 span{ color: var(--accent); }
.hero-tag{
  max-width: 46ch;
  color: var(--ink);
  font-size: 1.1rem;
  margin: 26px 0 36px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- SECTIONS ---------- */
.section-label{
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.section-title{ font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); margin-bottom: 44px; }
.section-title span{ color: var(--accent); }
section{ padding: 72px 0; border-bottom: 1px solid var(--rule); }
/* Heading that leads straight into a grid below it */
section.section-intro{ padding-bottom: 32px; }
/* Centered closing call-to-action */
.cta-band{ text-align: center; }
.cta-band .section-label{ margin-bottom: 20px; }
.cta-band .btn + .btn{ margin-left: 10px; }

/* ---------- CARD GRIDS (services, paths, packages) ---------- */
.channels{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (max-width: 900px){ .channels{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .channels{ grid-template-columns: 1fr; } }
.channels-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .channels-3{ grid-template-columns: 1fr; } }
.channels-5{ grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px){ .channels-5{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px){ .channels-5{ grid-template-columns: 1fr; } }

.channel{
  border-right: 1px solid var(--baseline);
  border-bottom: 1px solid var(--baseline);
  padding: 28px 22px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--panel);
  color: var(--ink);
}
a.channel{ text-decoration: none; transition: box-shadow 0.15s ease; }
a.channel:hover{ box-shadow: inset 0 3px 0 var(--stitch-red); }
.channel-num{ font-size: 0.75rem; color: var(--accent-ink); }
.channel h3{ color: var(--ink); }
.channel p{ color: var(--ink-soft); font-size: 0.92rem; margin: 0; flex-grow: 1; }
.channel .feature-list li{ font-size: 0.92rem; padding: 10px 0 10px 22px; }

/* ---------- LISTS ---------- */
.about-grid{ display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
@media (max-width: 800px){ .about-grid{ grid-template-columns: 1fr; } }
.about-grid p{ color: var(--ink); }

.specs{ list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.specs li{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.specs li span:first-child{ color: var(--ink-soft); }
.specs li span:last-child{ text-align: right; }

.feature-list{ list-style: none; margin: 0; padding: 0; }
.feature-list li{
  padding: 12px 0 12px 22px;
  position: relative;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 0.95rem;
}
.feature-list li:last-child{ border-bottom: none; }
.feature-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

/* Two-column rows with a status label on the right */
.rooms{ display: grid; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px){ .rooms{ grid-template-columns: 1fr; } }
.room-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}
.rooms .room-row:nth-child(odd){ border-right: 1px solid var(--rule); }
@media (max-width: 640px){ .rooms .room-row:nth-child(odd){ border-right: none; } }
.room-row span:first-child{ font-size: 1rem; color: var(--ink); }
.room-row span:last-child{ font-size: 0.72rem; color: var(--ink-soft); }
a.room-row:hover span:last-child{ color: var(--accent-ink); }

/* How it works */
.steps{
  list-style: none;
  margin: 18px 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.steps-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px){ .steps-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px){ .steps, .steps-4{ grid-template-columns: 1fr; gap: 22px; } }
.steps li{ display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--accent); padding-top: 16px; }
.step-num{ font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.step-title{ font-size: 0.8rem; color: var(--ink); }
.step-text{ color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- ARTIST CARDS ---------- */
.artist-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px){ .artist-grid{ grid-template-columns: 1fr; } }
.roster-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px){ .roster-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .roster-grid{ grid-template-columns: 1fr; } }

.artist-card{
  border: 1px solid var(--baseline);
  background: var(--panel);
  color: var(--ink);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.roster-grid .artist-card{ padding: 0; gap: 0; overflow: hidden; }
.artist-photo{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--baseline);
  background: var(--baseline);
}
.artist-body{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex-grow: 1;
}
.artist-tags{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.artist-tag{ font-size: 0.75rem; color: var(--accent-ink); }
.artist-card h3{ color: var(--ink); }
.artist-card > p{ color: var(--ink-soft); margin: 0; font-size: 0.92rem; }
.artist-genre{ margin: -4px 0 0; color: var(--ink-soft); font-size: 0.82rem; }
.artist-bio{ margin: 0; color: var(--ink); font-size: 0.95rem; }
.card-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.artist-body .card-actions{ padding-top: 6px; }

.bookable-tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--accent-ink);
}
.bookable-tag::before, .live-label::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-ink);
}
.live-label{ display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); }
/* Show format: originals, covers, or a hybrid set */
.format-tag{
  font-size: 0.7rem;
  color: var(--accent-ink);
  border: 1px solid var(--rule);
  padding: 3px 8px;
  line-height: 1.2;
}

/* Home: roster strip */
.roster-strip-head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.roster-strip-head .section-title{ margin-bottom: 0; }
.roster-strip{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.work-strip{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px){ .roster-strip{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px){
  .roster-strip{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-strip{ grid-template-columns: 1fr; }
}
.roster-thumb{ display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.roster-thumb img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--rule);
  background: var(--baseline);
  transition: border-color 0.15s ease;
}
.roster-thumb:hover img{ border-color: var(--accent-ink); }
/* Too small for Bebas Neue (28px minimum), so names here use the label style. */
.roster-thumb-name{ font-size: 0.8rem; line-height: 1.25; }
.roster-thumb-genre{ color: var(--ink-soft); font-size: 0.78rem; }

/* ---------- TAGS, PILLS, SEARCH ---------- */
.tag-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.tag{
  font-size: 0.68rem;
  color: var(--accent-ink);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 999px;
}
.filter-group{ display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-group-label{ font-size: 0.68rem; color: var(--ink-soft); min-width: 44px; }
.filter-pills{ display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill{
  font-size: 0.72rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--field-edge);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.filter-pill:hover{ color: var(--ink); border-color: var(--ink); }
.filter-pill.is-active, .filter-pill[aria-pressed="true"]{
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: var(--page);
}
.search-input{
  display: block;
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--field-edge);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.search-input::placeholder{ color: var(--ink-soft); opacity: 1; }
.search-input:focus{ border-color: var(--accent-ink); }

/* ---------- TWO DOORS ---------- */
.door-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
@media (max-width: 700px){ .door-grid{ grid-template-columns: 1fr; } }
.door{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--baseline);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.door:hover{ border-color: var(--accent-ink); }
.door-eyebrow, .door-link{ font-size: 0.72rem; color: var(--accent-ink); }
.door-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  font-size: clamp(1.8rem, 3.4vw, 2.2rem);
  line-height: 1.05;
}
.door-text{ color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }
.door-link{ margin-top: 6px; }

/* ---------- PACKAGES, PRICES, STATS ---------- */
.package{ gap: 14px; }
.package p{ flex-grow: 0; }
.package .package-build{ margin: 0; }
.package-featured{ box-shadow: inset 0 3px 0 var(--stitch-red); }
.price{ font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); }
.package-build{ font-size: 0.7rem; color: var(--accent-ink); }
.package .feature-list{ margin: 4px 0; }

.stat-row{ display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat{ background: var(--panel); border: 1px solid var(--baseline); padding: 18px 20px; color: var(--ink); }
.stat .n{ font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.stat .l{ font-size: 0.7rem; color: var(--ink-soft); margin-top: 6px; }

/* ---------- TABLES ---------- */
.table-wrap{ overflow-x: auto; }
.table{ width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td{ padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--rule); }
.table th{ font-size: 0.7rem; color: var(--ink-soft); white-space: nowrap; }
.table td.num, .table th.num{ text-align: right; }
.table tbody tr:hover{ background: var(--panel); }

/* ---------- ABOUT: founder ---------- */
.founder-grid{ grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 800px){ .founder-grid{ grid-template-columns: 1fr; } }
.founder-photo{ margin: 0; }
.founder-photo img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 45% 30%;
  border: 1px solid var(--rule);
}
p.founder-role.mono{ color: var(--accent-ink); font-size: 0.75rem; margin: 0 0 20px; }
.founder-specs{ margin-top: 48px; }

/* ---------- CONTACT / FOOTER ---------- */
footer{ padding: 72px 0 40px; }
.contact-grid{ display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin: 64px 0; }
@media (max-width: 800px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-grid h2{ font-size: clamp(2.6rem, 7vw, 4.2rem); color: var(--ink); margin-bottom: 20px; }
.contact-grid h2 span{ color: var(--accent); }
.contact-lede{ color: var(--ink-soft); max-width: 42ch; margin: 0; }
.contact-list{ list-style: none; padding: 0; margin: 0; }
.contact-list li{ margin-bottom: 18px; }
.contact-list .label{ display: block; font-size: 0.7rem; color: var(--ink-soft); margin-bottom: 4px; }
.contact-list a, .contact-list .value{
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.contact-list a{ color: var(--accent-ink); }
.contact-list a:hover{ border-bottom-color: currentColor; }
.foot-links{ display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 0.85rem; }
.foot-links a{ color: var(--ink-soft); text-decoration: none; transition: color 0.15s ease; }
.foot-links a:hover{ color: var(--ink); }
.foot-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* ---------- FORMS ---------- */
.field{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label{ font-size: 0.72rem; color: var(--ink-soft); }
.field input,
.field select,
.field textarea{
  background: var(--panel);
  border: 1px solid var(--field-edge);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 0;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--ink-soft); opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus{ border-color: var(--accent-ink); }
.field textarea{ resize: vertical; min-height: 96px; }
.field .hint{ font-size: 0.8rem; color: var(--ink-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: var(--rally-red); }
.field .error{ font-size: 0.8rem; color: var(--accent-ink); }

.form-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.form-grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
@media (max-width: 700px){ .form-grid, .form-grid-3{ grid-template-columns: 1fr; } }

/* Radio cards */
.deal-type-group{ display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.deal-type-option{ flex: 1; min-width: 160px; position: relative; }
.deal-type-option input{ position: absolute; opacity: 0; pointer-events: none; }
.deal-type-option label{
  display: block;
  border: 1px solid var(--field-edge);
  background: var(--panel);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.deal-type-option input:checked + label{
  border-color: var(--accent-ink);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--accent-ink);
}

.conditional-block{ display: none; }
.conditional-block.is-active{ display: block; }

.status-message{ font-size: 0.85rem; padding: 10px 0; }
.status-message.success{ color: var(--ink); }
.status-message.success::before{ content: "✓ "; color: var(--accent-ink); }
.status-message.error{ color: var(--accent-ink); }

/* ---------- SETTLEMENT ---------- */
.deduction-row{ display: grid; grid-template-columns: 1fr 140px 40px; gap: 12px; align-items: center; margin-bottom: 10px; }
@media (max-width: 560px){ .deduction-row{ grid-template-columns: 1fr 100px 32px; } }
.remove-row-btn{
  background: transparent;
  border: 1px solid var(--field-edge);
  color: var(--ink-soft);
  width: 38px;
  height: 38px;
  border-radius: 0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.remove-row-btn:hover{ border-color: var(--accent-ink); color: var(--accent-ink); }
.payee-row{ display: grid; grid-template-columns: 1fr 90px 120px 40px; gap: 12px; align-items: center; margin-bottom: 10px; }
@media (max-width: 560px){ .payee-row{ grid-template-columns: 1fr 70px 90px 32px; } }
.payee-amount{ font-size: 0.92rem; color: var(--accent-ink); text-align: right; }

.summary-box{ border: 1px solid var(--stitch-red); background: var(--panel); color: var(--ink); padding: 28px; margin: 32px 0; }
.summary-row{
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.summary-row span:last-child{ color: var(--ink); }
.summary-total{ display: flex; justify-content: space-between; align-items: center; padding-top: 20px; margin-top: 8px; }
.summary-total .label{ font-size: 0.85rem; color: var(--ink); }
.summary-total .amount{ font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent); }

.past-entry{
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}
.past-entry:last-child{ border-bottom: none; }
.past-entry .pe-main{ color: var(--ink); }
.past-entry .pe-meta{ font-size: 0.75rem; color: var(--ink-soft); }
.past-entry .pe-amount{ color: var(--accent-ink); }

/* ---------- PAGE HEAD (inner pages) ---------- */
.page-head{ padding-top: 72px; padding-bottom: 48px; }
.page-head h1{ font-size: clamp(2.6rem, 7vw, 4.5rem); margin-bottom: 16px; }
.page-head h1 span{ color: var(--accent); }
.page-head .hero-tag{ margin: 0; }
.page-head .hero-actions, .page-head .door-grid{ margin-top: 32px; }
.section-title.tight{ margin-bottom: 16px; }
.section-lede{ max-width: 56ch; margin: 0 0 32px; }

/* Name on the left, what we did on the right */
.credits{ list-style: none; margin: 0; padding: 0; }
.credits li{
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  gap: 6px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.credits li:first-child{ border-top: 1px solid var(--rule); }
.credits .who{ font-size: 0.8rem; color: var(--ink); }
.credits .what{ color: var(--ink-soft); }
@media (max-width: 560px){ .credits li{ grid-template-columns: 1fr; } }

/* Card with no photo that sits alone */
.solo-card{ max-width: 560px; }
.card-sub{ font-size: 0.8rem; color: var(--ink-soft); margin: -8px 0 0; }

/* ---------- CONTACT FORM ---------- */
.contact-form{ max-width: 640px; }
.contact-form .conditional-block{ border-left: 2px solid var(--accent); padding-left: 20px; margin-bottom: 8px; }
.contact-form .req{ color: var(--accent-ink); }
.form-note{ font-size: 0.82rem; color: var(--ink-soft); margin: 16px 0 0; }
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* The contact page has its own heading, so the footer's contact block is not repeated there. */
body.no-foot-cta footer .contact-grid{ display: none; }
body.no-foot-cta footer{ padding-top: 40px; }

/* ---------- SIGNED-IN STATE ---------- */
/* <html data-auth="in|out"> is set by js/main.js (public pages) or js/auth.js (protected pages). */
html:not([data-auth="in"]) [data-auth-only]{ display: none !important; }
html[data-auth="in"] [data-guest-only]{ display: none !important; }
/* Protected pages stay hidden until the session is confirmed (or the visitor is sent to /login/). */
html[data-require-auth]:not([data-auth="in"]) main{ visibility: hidden; }
/* Staff-only links and pages: hidden from artist logins (set by js/auth.js, cached for public pages). */
html:not([data-role="admin"]) [data-admin-only]{ display: none !important; }
html[data-require-admin]:not([data-role="admin"]) main{ visibility: hidden; }

/* ---------- LABEL TYPE (kept late so it wins) ---------- */
/* Labels, tags, buttons, figures: Archivo SemiBold caps, wide tracking, tabular figures */
.mono, .label, .btn, .hero-eyebrow, .section-label, .channel-num, .artist-tag, .tag,
.filter-pill, .filter-group-label, .room-row span:last-child, .contact-list .label,
.foot-bottom, .field label, .deal-type-option label, .summary-total .label, .nav-login,
.bookable-tag, .format-tag, .door-eyebrow, .door-link, .step-title, .package-build,
.roster-thumb-name, .stat .l, .table th, .live-label, .credits .who, .card-sub{
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-variant-numeric: tabular-nums;
}
/* Figures and data: Archivo with tabular numbers, sentence case */
.specs, .payee-amount, .summary-row span:last-child, .past-entry .pe-meta,
.past-entry .pe-amount, .status-message, .table td, .num{
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}
.price, .step-num, .stat .n, .summary-total .amount{ letter-spacing: var(--track-display); }

/* ---------- MOBILE POLISH ---------- */
@media (max-width: 640px){
  :root{ --gutter: 20px; }
  .hero{ padding-top: 48px; padding-bottom: 40px; }
  .hero-tag{ font-size: 1rem; }
  section{ padding: 48px 0; }
  .section-title{ margin-bottom: 28px; }
  .band > .wrap{ padding-top: 48px; padding-bottom: 48px; }
  footer{ padding: 48px 0 28px; }
  .contact-grid{ margin: 40px 0; }
  /* Bigger tap targets on small screens */
  .btn{ padding: 14px 20px; font-size: 0.82rem; }
  .channel, .artist-card, .room-row{ padding-top: 24px; padding-bottom: 24px; }
  .roster-grid .artist-card{ padding: 0; }
  .foot-bottom{ flex-direction: column; align-items: flex-start; }
  .card-actions{ flex-direction: column; align-items: stretch; }
  .card-actions .btn, .cta-band .btn{ display: block; text-align: center; }
  .cta-band .btn + .btn{ margin: 12px 0 0; }
}
