/* ============================================
   Meigs Drama Booster Club, Cavaliers On Stage
   Token system
   ============================================ */
:root{
  --maroon: #5C1B2E;
  --maroon-dark: #35101C;
  --maroon-bright: #7A2740;
  --black: #16130F;
  --charcoal: #211D19;
  --stone: #8C8580;
  --stone-light: #E4DFD8;
  --paper: #F6F3EE;
  --white: #FDFCFA;
  --gold: #C6A24D;
  --gold-bright: #E3C273;

  --display: 'Fraunces', 'Georgia', serif;
  --body: 'Work Sans', -apple-system, sans-serif;
  --mono: 'Space Mono', monospace;

  --max: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 700;
  margin: 0 0 .4em;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; }

.eyebrow{
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display:inline-block;
  margin-bottom: .9em;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior:auto !important; }
}

/* ============ Header ============ */
.site-header{
  background: var(--black);
  border-bottom: 1px solid rgba(198,162,77,.25);
  position: sticky; top:0; z-index: 50;
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: var(--white);
}
.brand img{ width: 44px; height:44px; border-radius:50%; flex-shrink:0; }
.brand-text{ line-height:1.15; }
.brand-text .line1{
  display:block;
  font-family: var(--display);
  font-weight:700;
  font-size: 1.05rem;
  color: var(--white);
  white-space: nowrap;
}
.brand-text .line2{
  display:block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
nav.primary-nav{ display:flex; gap: 26px; align-items:center; }
nav.primary-nav a{
  text-decoration:none;
  color: var(--stone-light);
  font-size: .92rem;
  letter-spacing:.01em;
  position:relative;
  padding: 4px 0;
}
nav.primary-nav a:hover, nav.primary-nav a.active{ color: var(--white); }
nav.primary-nav a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-4px;
  height: 2px; background: var(--gold);
}
.nav-cta{
  background: var(--gold);
  color: var(--black) !important;
  padding: 8px 16px !important;
  border-radius: 3px;
  font-weight:600;
}
.nav-cta:hover{ background: var(--gold-bright); }
.nav-cta-outline{
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 7px 15px !important;
  border-radius: 3px;
  font-weight:600;
}
.nav-cta-outline:hover{ background: rgba(198,162,77,.12); color: var(--gold-bright) !important; }
.nav-cta-outline.active{ color: var(--black) !important; background: var(--gold); }
.nav-cta-outline.active::after{ display:none; }
.nav-icon-link{
  display:inline-flex; align-items:center; justify-content:center;
  color: var(--stone-light) !important;
  padding: 4px !important;
}
.nav-icon-link:hover{ color: var(--gold-bright) !important; }
.nav-icon-link svg{ width:20px; height:20px; display:block; }
.menu-toggle{ display:none; }

@media (max-width: 820px){
  nav.primary-nav{
    position: fixed; inset: 64px 0 0 0;
    background: var(--black);
    flex-direction: column;
    padding: 24px 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  nav.primary-nav.open{ opacity:1; pointer-events:auto; transform: translateY(0); }
  .menu-toggle{
    display:block;
    background:none; border: 1px solid var(--stone);
    color: var(--white);
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 3px;
  }
}

/* ============ Spotlight motif (signature element) ============ */
.spotlight-field{
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow:hidden;
}
.spotlight-field::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 620px 520px at 50% -8%, rgba(230,196,120,.16), transparent 60%),
    radial-gradient(ellipse 900px 700px at 82% 110%, rgba(122,39,64,.35), transparent 55%);
  pointer-events:none;
}
.spotlight-field .wrap{ position:relative; z-index:1; }
.spotlight-field.flat-dark::before{ display:none; }

/* ============ Hero ============ */
.hero{
  padding: 92px 0 84px;
  text-align:center;
}
.hero .crest{
  width: 128px; height:128px;
  margin: 0 auto 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(198,162,77,.4), 0 20px 60px rgba(0,0,0,.5);
}
.hero h1{
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  color: var(--white);
  max-width: 15ch;
  margin-left:auto; margin-right:auto;
}
.hero .sub{
  font-size: 1.1rem;
  color: var(--stone-light);
  max-width: 56ch;
  margin: 18px auto 34px;
}
.hero-actions{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
}

/* ============ Buttons ============ */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--body);
  font-weight:600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-gold{ background: var(--gold); color: var(--black); }
.btn-gold:hover{ background: var(--gold-bright); }
.btn-outline{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-bright); }
.btn-outline.on-light{ color: var(--maroon); border-color: var(--stone-light); }
.btn-outline.on-light:hover{ border-color: var(--maroon); color: var(--maroon-bright); }
.btn-maroon{ background: var(--maroon); color: var(--white); }
.btn-maroon:hover{ background: var(--maroon-bright); }
.btn[aria-disabled="true"]{
  opacity: .5; cursor: default; pointer-events:none;
}
.btn .arrow{ transition: transform .15s ease; }
.btn:hover .arrow{ transform: translateX(3px); }

/* ============ Section shell ============ */
section{ padding: 76px 0; }
.section-head{ max-width: 62ch; margin-bottom: 40px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.on-black .section-head{ color: var(--white); }

/* ============ Mission strip ============ */
.mission{
  background: var(--white);
  border-top: 1px solid var(--stone-light);
  border-bottom: 1px solid var(--stone-light);
}
.mission .wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items:start;
}
.mission h2{ font-size: 2rem; color: var(--maroon); }
.fund-list{ list-style:none; margin:0; padding:0; }
.fund-list li{
  display:flex; gap:12px; align-items:flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--stone-light);
  font-size: .98rem;
}
.fund-list li:last-child{ border-bottom:none; }
.fund-list .mark{
  font-family: var(--display); color: var(--gold);
  font-weight:700; font-size:1.1rem; line-height:1;
}
.quote{
  margin-top: 26px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  font-style: italic;
  color: var(--charcoal);
}
.quote cite{
  display:block; margin-top:8px; font-style:normal;
  font-family: var(--mono); font-size:.75rem; letter-spacing:.06em;
  color: var(--stone); text-transform:uppercase;
}

@media (max-width: 780px){
  .mission .wrap{ grid-template-columns: 1fr; }
}

/* ============ Season / Playbill ============ */
.playbill{ background: var(--paper); }
.season-groups{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.season-group h3{
  font-size: 1.15rem;
  color: var(--maroon);
  margin-bottom: 4px;
}
.season-group .group-note{
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--stone);
  margin-bottom: 18px;
  display:block;
}
.show-row{
  display:flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--stone-light);
}
.show-row:last-child{ border-bottom:none; }
.show-date{
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--maroon);
  white-space: nowrap;
  padding-top: 3px;
  min-width: 108px;
}
.show-title{ font-weight:600; }
@media (max-width: 780px){
  .season-groups{ grid-template-columns: 1fr; }
}

/* ============ Tickets coming soon ============ */
.tickets-band{
  background: var(--maroon);
  color: var(--white);
  text-align:center;
}
.tickets-band h2{ color: var(--white); font-size:1.7rem; }
.tickets-band .tag{
  display:inline-block;
  font-family: var(--mono);
  font-size:.7rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  background: rgba(255,255,255,.14);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.tickets-band p{ max-width:50ch; margin: 0 auto 22px; color: var(--stone-light); }

.involve-band{
  background: var(--black);
  color: var(--white);
  text-align:center;
}
.involve-band .wrap{ max-width: 720px; }
.involve-band h2{ color: var(--white); font-size:1.7rem; }
.involve-band p{ color: var(--stone-light); margin: 0 auto 24px; }

/* ============ Quick links / cards ============ */
.quick-links{ background: var(--white); }
.quick-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quick-card{
  border: 1px solid var(--stone-light);
  border-radius: 4px;
  padding: 30px 26px;
  text-decoration:none;
  color: var(--charcoal);
  transition: border-color .15s ease, transform .15s ease;
  display:block;
}
.quick-card:hover{ border-color: var(--gold); transform: translateY(-3px); }
.quick-card .mask{ font-size:1.6rem; margin-bottom:14px; display:block; }
.quick-card h3{ font-size:1.15rem; color: var(--maroon); }
.quick-card .go{
  font-family: var(--mono); font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; color: var(--gold); margin-top:14px; display:inline-block;
}
@media (max-width: 820px){ .quick-grid{ grid-template-columns:1fr; } }

/* ============ Sponsorship tiers ============ */
.tiers{
  display:grid;
  gap: 22px;
}
.tier{
  border: 1px solid var(--stone-light);
  border-radius: 6px;
  background: var(--white);
  padding: 30px 32px;
  display:grid;
  grid-template-columns: 84px 220px 1fr 170px;
  gap: 24px;
  align-items:center;
}
.tier-icon-link{
  display:block;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--stone-light);
  padding: 14px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.tier-icon-link:hover{
  transform: scale(1.06);
  border-color: var(--gold);
  background: #fff;
}
.tier-icon-link img{ width:100%; height:100%; object-fit:contain; }
.tier--premier .tier-icon-link{ background: #FBF6EA; }
.tier .name{
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--maroon);
}
.tier .price{
  font-family: var(--mono);
  color: var(--gold);
  font-size: 1rem;
  display:block;
  margin-top:4px;
}
.tier ul{ margin:0; padding-left: 1.1em; }
.tier li{ margin-bottom: 6px; font-size: .95rem; }
.tier .action{ text-align:right; }

/* escalating tier weight = the tiers themselves encode rank */
.tier--spotlight{ border-left: 4px solid var(--stone); }
.tier--director{ border-left: 4px solid var(--maroon); }
.tier--producer{ border-left: 4px solid var(--maroon-bright); box-shadow: 0 8px 30px rgba(92,27,46,.08); }
.tier--premier{
  border-left: 4px solid var(--gold);
  background: linear-gradient(180deg, #fff, #FBF6EA);
  box-shadow: 0 10px 34px rgba(198,162,77,.18);
}
.tier--premier .name{ color: var(--maroon-dark); }

@media (max-width: 900px){
  .tier{ grid-template-columns: 1fr; text-align:left; }
  .tier .action{ text-align:left; }
  .tier-icon-link{ margin-bottom: 6px; }
}

/* ============ Support / donate page ============ */
.support-list{ list-style:none; margin: 0 0 30px; padding:0; }
.support-list li{
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--stone-light);
  position:relative;
}
.support-list li::before{
  content: "\2726";
  position:absolute; left:0; top:12px;
  color: var(--gold);
  font-size: .8rem;
}
.how-steps{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin: 30px 0 34px;
}
.how-step{
  border: 1px solid var(--stone-light);
  border-radius: 4px;
  padding: 22px 20px;
  background: var(--white);
}
.how-step .n{
  font-family: var(--mono); color: var(--gold);
  font-size:.75rem; letter-spacing:.1em; text-transform:uppercase;
  display:block; margin-bottom:8px;
}
@media (max-width: 820px){ .how-steps{ grid-template-columns:1fr; } }

.donate-cta{
  background: var(--black); color: var(--white);
  border-radius: 8px;
  padding: 44px 40px;
  text-align:center;
  position:relative; overflow:hidden;
}
.donate-cta::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse 500px 300px at 50% 0%, rgba(230,196,120,.2), transparent 65%);
}
.donate-cta > *{ position:relative; z-index:1; }
.donate-cta h2{ color: var(--white); }
.donate-cta p{ color: var(--stone-light); max-width: 46ch; margin: 0 auto 24px; }

/* ============ Forms ============ */
.form-shell{
  background: var(--white);
  border: 1px solid var(--stone-light);
  border-radius: 8px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}
.field{ margin-bottom: 22px; }
.field label{
  display:block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  font-family: var(--body);
  font-size: .98rem;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--stone-light);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 130px; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .field-row{ grid-template-columns: 1fr; } }

.form-status{
  font-size: .9rem;
  margin-top: 16px;
  display:none;
}
.form-status.visible{ display:block; }
.form-status.success{ color: #2E6B44; }
.form-status.error{ color: var(--maroon-bright); }

.form-success{
  display:none;
  text-align:center;
  padding: 30px 10px;
}
.form-success.visible{ display:block; }
.form-success .mark{ font-size: 2.2rem; color: var(--gold); display:block; margin-bottom:10px; }

/* inline notify form (tickets band) */
.notify-form{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
  max-width: 420px;
  margin: 0 auto;
}
.notify-form input[type="email"]{
  flex: 1 1 220px;
  font-family: var(--body);
  font-size: .95rem;
  padding: 12px 16px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.notify-form input[type="email"]::placeholder{ color: rgba(255,255,255,.55); }
.notify-form input[type="email"]:focus{
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.14);
}
.notify-status{
  margin-top: 14px;
  font-size: .85rem;
  display:none;
}
.notify-status.visible{ display:block; }
.notify-status.success{ color: var(--gold-bright); }
.notify-status.error{ color: #E88; }
.notify-form.on-light input[type="email"]{
  border: 1px solid var(--stone-light);
  background: var(--white);
  color: var(--maroon-dark);
}
.notify-form.on-light input[type="email"]::placeholder{ color: var(--stone); }
.notify-form.on-light input[type="email"]:focus{
  border-color: var(--maroon);
  background: var(--white);
}
.notify-status.on-light.success{ color: var(--maroon); }
.notify-status.on-light.error{ color: #B33; }

/* ============ Tickets ============ */
.ticket-badge{
  display:inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.ticket-badge.onsale{ background: rgba(198,162,77,.16); color: var(--gold); }
.ticket-badge.upcoming{ background: var(--stone-light); color: var(--stone); }
.ticket-badge.ended{ background: var(--stone-light); color: var(--stone); }

.ticket-card{
  border: 1px solid var(--stone-light);
  border-radius: 6px;
  background: var(--white);
  padding: 26px 30px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 24px;
  margin-bottom: 18px;
}
.ticket-card h3{ font-size: 1.2rem; color: var(--maroon); margin-bottom: 2px; }
.ticket-dates{ font-family: var(--mono); font-size: .82rem; color: var(--stone); margin:0; }
.ticket-card-action{ display:flex; flex-direction:column; gap: 10px; align-items: flex-end; }
@media (max-width: 640px){
  .ticket-card-action{ align-items: flex-start; width:100%; }
  .ticket-card-action .btn{ width:100%; text-align:center; }
}
.ticket-empty{ color: var(--stone); text-align:center; }

/* ============ Photo wall ============ */
.photo-wall{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-tile{
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow:hidden;
  background: var(--stone-light);
}
.photo-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-tile.placeholder{ background: var(--stone-light); }
@media (max-width: 640px){
  .photo-wall{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .ticket-card{ flex-direction:column; align-items:flex-start; }
}

.tag.onsale{ background: rgba(198,162,77,.22); color: var(--gold-bright); }

footer{
  background: var(--black);
  color: var(--stone-light);
  padding: 46px 0 30px;
}
footer .wrap{
  display:flex;
  justify-content:space-between;
  gap: 30px;
  flex-wrap:wrap;
}
footer .f-brand{ display:flex; gap:12px; align-items:center; max-width: 360px; }
footer .f-brand img{ width:40px; height:40px; border-radius:50%; }
footer .f-brand .name{ font-family: var(--display); font-weight:700; color:var(--white); }
footer .f-links{ display:flex; gap:44px; flex-wrap:wrap; }
footer .f-col h4{
  font-family: var(--mono); font-size:.7rem; letter-spacing:.12em;
  text-transform:uppercase; color: var(--gold); margin-bottom:12px;
}
footer .f-col a{
  display:block; text-decoration:none; color: var(--stone-light);
  font-size:.9rem; padding: 5px 0;
}
footer .f-col a:hover{ color: var(--white); }
.copy-email{
  position:relative;
  display:inline-flex; align-items:center; gap:6px;
  background:none; border:none; padding:5px 0;
  font-family: var(--body); font-size:.9rem; color: var(--stone-light);
  cursor:pointer; text-align:left;
}
.copy-email:hover{ color: var(--gold-bright); }
.copy-email::after{
  content: "\2709";
  font-size:.75rem; opacity:.55;
}
.copy-email .copy-feedback{
  position:absolute; left:0; top:-30px;
  background: var(--gold); color: var(--black);
  font-family: var(--mono); font-size:.68rem; letter-spacing:.06em; text-transform:uppercase;
  padding: 5px 10px; border-radius: 4px;
  opacity:0; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events:none;
  white-space:nowrap;
}
.copy-email.copied .copy-feedback{ opacity:1; transform: translateY(0); }
.copy-email.on-light{ color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.copy-email.on-light:hover{ color: var(--maroon-bright); }
.legal{
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  color: var(--stone);
  max-width: 80ch;
}

/* ============ Page hero (interior pages) ============ */
.page-hero{ padding: 62px 0 56px; text-align:left; }
.page-hero h1{ color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); max-width: 18ch; }
.page-hero .sub{ color: var(--stone-light); max-width: 60ch; margin-top: 14px; }
.breadcrumb{
  font-family: var(--mono); font-size: .7rem; letter-spacing:.12em;
  text-transform:uppercase; color: var(--gold); margin-bottom: 18px; display:block;
}
