/* DCBP 2026 Site Styles (rebuilt + mobile-first)
   DC palette:
   Black #000000
   Cherry Blossom #E20074
   Crape Myrtle #861B54
   Light Gray #E8E8E8
*/

/* =========================
   Tokens
   ========================= */
:root{
  --black:#000000;
  --white:#FFFFFF;
  --gray:#E8E8E8;
  --text:#111111;

  --cherry-blossom:#E20074;
  --crape-myrtle:#861B54;

  /* aliases (legacy support) */
  --magenta:var(--cherry-blossom);
  --berry:var(--crape-myrtle);
}

*{ box-sizing:border-box; }

html{
  margin:0;
  padding:0;
  background:#000;
}

body{
  margin:0;
  padding:0;
  min-height:100vh;

  font-family:"helvetica-neue-lt-pro", Helvetica, Arial, sans-serif;
  font-weight:300;
  font-style:normal;
  font-size:16px;
  line-height:1.9;
  color:var(--text);

  -webkit-font-smoothing:antialiased;

  /* Keep transparent so the video/background shows */
  background: transparent;
}

img, svg, video{ max-width:100%; height:auto; display:block; }
iframe{ max-width:100%; }

a{
  color:var(--cherry-blossom);
  text-decoration:underline;
  text-underline-offset: 3px;
}
a:hover, a:focus{ color:var(--crape-myrtle); }
a:visited{ color:var(--cherry-blossom); }

/* Typography hierarchy */
h1, h2, h3, h4, h5, h6{
  font-family:"helvetica-neue-lt-pro", Helvetica, Arial, sans-serif;
  margin:0 0 12px 0;
}
h1{ font-weight:900; font-size:56px; line-height:1.05; letter-spacing:-.05em; }
h2{ font-weight:500; font-size:30px; line-height:1.15; letter-spacing:-0.01em; }
h3{ font-weight:500; font-size:22px; line-height:1.2; color:var(--cherry-blossom); }
h4{ font-weight:400; font-size:18px; line-height:1.25; }
p{ margin:0 0 14px 0; }

@media (max-width: 768px){
  h1{ font-size:40px; }
  h2{ font-size:26px; }
}

/* =========================
   Background video
   ========================= */
video.bg-video,
.bg-video{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  background: #000;
  filter: brightness(.65);
}

/* =========================
   Layout
   ========================= */
.container{
  width:min(1100px, calc(100% - 36px));
  margin:0 auto;
}

.section{ padding:34px 0; }
@media (max-width: 640px){ .section{ padding:22px 0; } }

/* Panels */
.section--white{ background: var(--white); color: var(--text); }
.section--gray{ background: var(--gray); color: var(--text); }

/* Sections that should reveal the video background */
.section--black{ background: transparent; color: var(--white); }
.section--hero{ background: transparent; color: var(--white); }
.section--social{ background: transparent; color: var(--white); }

/* =========================
   Navbar (sticky + rainbow strip under it)
   ========================= */
.navbar{
  position: sticky;
  top: 0;
  z-index: 10000;

  background: var(--black);
  color: var(--white);

  padding: 10px 0;
  overflow: visible;
}

/* Rainbow strip under nav */
.navbar{
  margin-bottom: 5px;
}
.navbar::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-5px;
  height:5px;
  background-image:url("../img/rainbox-strip-2560x10.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
  pointer-events:none;
}

.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.logo img{ max-height:34px; width:auto; }

.nav-links{
  display:flex;
  align-items:center;
}

/* checkbox/hamburger pattern */
#checkbox_toggle{ display:none; }

.hamburger{
  display:none;
  font-size:26px;
  color:var(--white);
  user-select:none;
  cursor:pointer;
  padding:10px 12px;
  border:1px solid rgba(226,0,116,.45);
}

/* Menu */
.menu{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
  font-size:15px;
}

.menu li{ position:relative; }
.menu a{
  color:var(--white);
  text-decoration:none;
  font-weight:500;
  padding:10px 10px;
  display:inline-block;
  border-radius:0;
}

.menu li:hover > a,
.menu li:focus-within > a{
  color:var(--cherry-blossom);
}

/* Donate as button */
.menu a.nav-donate{
  background:var(--cherry-blossom);
  color:var(--white) !important;
  padding:12px 16px;
  line-height:1;
  font-weight:700;
}
.menu a.nav-donate:hover,
.menu a.nav-donate:focus{
  background:var(--crape-myrtle);
  color:var(--white) !important;
}
.menu li:hover > a.nav-donate,
.menu li:focus-within > a.nav-donate{
  color:var(--white) !important;
}

/* Dropdown (desktop) */
.services{ position:relative; }
.dropdown{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:240px;
  margin:0;
  padding:10px 0;
  list-style:none;

  background: rgba(0,0,0,.96);
  border: 1px solid rgba(255,255,255,.18);
  border-radius:0;
  box-shadow: 0 12px 30px rgba(0,0,0,.65);
  z-index:20000;
}
.dropdown a{
  display:block;
  padding:12px 16px;
  color:var(--white);
  text-decoration:none;
  font-weight:500;
}
.dropdown a:hover,
.dropdown a:focus{
  background: rgba(226,0,116,.22);
  color:var(--white);
}
.services:hover .dropdown,
.services:focus-within .dropdown{ display:block; }

/* Mobile nav */
@media (max-width: 900px){
  .hamburger{ display:block; }

  .menu{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background: var(--black);
    border-top:1px solid rgba(255,255,255,.12);
    padding:10px 0;
  }
  .menu a{ padding:14px 18px; }

  .nav-links input[type="checkbox"]:checked ~ .menu{ display:flex; }

  .dropdown{
    display:block;
    position:static;
    box-shadow:none;
    border:0;
    background:transparent;
    padding:0 0 10px 0;
    min-width:auto;
  }
  .dropdown a{ padding:12px 34px; }

  .menu a.nav-donate{
    margin: 8px 18px 4px;
    text-align:center;
  }
}

/* =========================
   Hero Bleed (different sizes per page)
   - Default = short (inside pages)
   - Add hero-bleed--tall on home page
   ========================= */
.section.section--hero{
  padding-top: 0;
  padding-bottom: 0;
}
.section--hero > .container{
  width: 100% !important;
  margin: 0 auto !important;
}
.hero-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: transparent; /* lets video show through around transparent PNGs */
  --hero-h: clamp(200px, 18vw, 320px); /* short default */
  height: var(--hero-h);
}
.hero-bleed--tall{ --hero-h: clamp(320px, 42vw, 720px); }
.hero-bleed--medium{ --hero-h: clamp(260px, 28vw, 520px); }

.hero-bleed img{
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}

/* =========================
   Sponsors + Social
   ========================= */
.sponsor-wrap{
  padding:34px 0;
  background:var(--white);
  color:var(--text);
}
h1.sponsor{
  text-align:center;
  font-size:30px;
  font-weight:500;
}

.hashtag{
  font-size:16px;
  line-height:1.6;
  margin:0;
  padding:18px 0 10px;
  text-align:center;
  color:var(--white);
}

/* =========================
   Pre-footer + Footer
   ========================= */
.prefooter-attrib{
  background: rgba(0,0,0,.65);
  color: var(--white);
  text-align:center;
  padding:14px 0;
  font-weight:500;
  font-size:15px;
  letter-spacing:.2px;
}

.site-footer{
  position:relative;
  background: rgba(0,0,0,.85);
  color: var(--white);
  padding:28px 0;
}

/* Rainbow strip above footer */
.site-footer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background-image:url("../img/rainbox-strip-2560x10.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
  pointer-events:none;
}

.footer-grid{
  display:grid;
  grid-template-columns: 320px 1fr 260px;
  gap:22px;
  align-items:start;
}
@media (max-width: 980px){
  .footer-grid{ grid-template-columns:1fr; }
}

#footer{
  font-size:12px;
  line-height:1.8;
  color:rgba(255,255,255,.92);
}
#footer a{ color:var(--cherry-blossom); text-decoration:none; }
#footer a:hover{ color:var(--crape-myrtle); text-decoration:underline; }

/* Footer connect */
.footer-connect-title{
  margin:0 0 12px 0;
  font-size:18px;
  font-weight:700;
  color:var(--white);
}
.footer-links{
  list-style:none;
  margin:0;
  padding:0;
}
.footer-links li{ margin:0 0 10px 0; }
.footer-links a{
  color:var(--white);
  text-decoration:none;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-links a:hover,
.footer-links a:focus{
  color:var(--cherry-blossom);
  text-decoration:underline;
}
.connect-icon{ width:22px; height:22px; }

/* =========================
   Theme Marks Grid (flush)
   ========================= */
.theme-marks{ padding:18px 0; }
.theme-marks__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  align-items: stretch;
}
.theme-marks__item{
  display:block;
  width:100%;
  aspect-ratio:770 / 400;
  overflow:hidden;
  margin:0; /* avoids <figure> defaults */
}
.theme-marks__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
a.theme-marks__item:hover,
a.theme-marks__item:focus{
  outline:2px solid rgba(226,0,116,.35);
  outline-offset:4px;
}
.theme-marks__item--empty{ background:transparent; border:0; }

@media (max-width: 900px){
  .theme-marks__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .theme-marks__item--empty{ display:none; }
}
@media (max-width: 520px){
  .theme-marks__grid{ grid-template-columns:1fr; }
}
.involve__list{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.involve__row{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap:22px;
  align-items:center;                 /* centers text vertically with the icon */
}

.involve__media{
  display:flex;
  align-items:center;
  justify-content:center;
}

.involve__media a{
  display:inline-block;
}

.involve__media img{
  width:160px;
  height:auto;
  display:block;
}

/* Copy */
.involve__copy h3{
  margin:0 0 8px 0;
}

.involve__copy p{
  margin:0;
}

/* Links: no underline by default */
.involve__title{
  color: var(--cherry-blossom);
  text-decoration:none;
  font-weight:700;
}

.involve__title:hover,
.involve__title:focus{
  text-decoration:underline;
  text-underline-offset:3px;
  color: var(--crape-myrtle);
}

/* Mobile stack */
@media (max-width: 720px){
  .involve__row{
    grid-template-columns:1fr;
    text-align:center;
  }
  .involve__media img{ width:140px; }
}

.btn{
  display:inline-block;
  background: var(--cherry-blossom);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  line-height: 1;
  cursor: pointer;
}

.btn:hover,
.btn:focus{
  background: var(--crape-myrtle);
  color: var(--white);
}

.btn--outline{
  background: transparent;
  border: 2px solid var(--cherry-blossom);
  color: var(--cherry-blossom);
}

.btn--outline:hover,
.btn--outline:focus{
  background: var(--cherry-blossom);
  color: var(--white);
}
/* Buttons: keep text visible after visit */
a.btn,
a.btn:link,
a.btn:visited{
  color: var(--white) !important;
  text-decoration: none !important;
}

a.btn:hover,
a.btn:focus{
  color: var(--white) !important;
}

/* Outline variant: keep consistent after visit */
a.btn.btn--outline,
a.btn.btn--outline:link,
a.btn.btn--outline:visited{
  color: var(--cherry-blossom) !important;
  text-decoration: none !important;
}

a.btn.btn--outline:hover,
a.btn.btn--outline:focus{
  color: var(--white) !important;
}

/* =========================
   SCHEDULE SYSTEM (mobile-friendly)
   ========================= */

/* Set these once to match your sticky header layout */
:root{
  --nav-h: 64px;      /* height of your sticky nav */
  --nav-strip: 5px;   /* height of rainbow strip under nav */
  --jump-h: 48px;     /* approximate height of the jump bar */
}

/* ===== Jump bar (sticky) ===== */
.schedule-jump{
  position: sticky;
  top: calc(var(--nav-h) + var(--nav-strip));
  z-index: 9000;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin: 0;
  padding: 10px 18px;

  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.schedule-jump__label{
  font-weight: 500;
  color: var(--white);
}

.schedule-jump a{
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.schedule-jump a:hover,
.schedule-jump a:focus{
  color: var(--cherry-blossom);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schedule-jump__sep{
  color: rgba(255,255,255,.55);
}

/* ===== Day sections and anchor offsets ===== */
.schedule-day{
  padding: 18px 0 30px;
  border-top: 1px solid rgba(0,0,0,.12);

  /* Prevent anchor headings from hiding behind sticky bars */
  scroll-margin-top: calc(var(--nav-h) + var(--nav-strip) + var(--jump-h) + 18px);
}

.schedule-day__header{
  text-align: center;
  margin-bottom: 18px;
}

.schedule-day__title{
  margin: 0 0 6px 0;
}

.schedule-day__note{
  margin: 0;
  opacity: .8;
}

/* ===== Event list ===== */
.schedule-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== Event cards ===== */
.event-card{
  display: grid;
  grid-template-columns: 1fr 320px;  /* content left, image right */
  gap: 18px;
  align-items: center;              /* vertical center alignment with image */

  padding: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.12);
}

.event-card--noimg{
  grid-template-columns: 1fr;
}

/* Content */
.event-card__content{
  min-width: 0;
}

.event-time{
  margin: 0 0 6px 0;
  font-style: italic;
}

.event-title{
  margin: 0 0 8px 0;
}

.event-location{
  margin: 0 0 10px 0;
}

/* Media */
.event-card__media{
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card__media a{
  display: block;
  width: 100%;
}

.event-card__media img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Meta block spacing (tags, ASL, CTA) ===== */
.event-meta{
  margin: 10px 0 0;
}

.event-tags{
  margin: 0 0 14px 0;         /* space after tags row */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Tags: Crape Myrtle outline + text */
.tag{
  display: inline-flex;
  align-items: center;

  padding: 6px 10px;
  border: 2px solid var(--crape-myrtle);
  color: var(--crape-myrtle);
  background: transparent;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
}

/* ASL line (before CTA) */
.event-asl{
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 500;
  color: var(--crape-myrtle);
}

.event-asl__icon{
  width: 26px;
  height: auto;
  display: block;
}

/* Description */
.event-desc{
  margin: 12px 0 0;
}

/* ===== Buttons (link-safe: visited keeps text visible) ===== */
a.btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 0;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

/* Outline button style used in schedule */
a.btn.btn--outline,
a.btn.btn--outline:link,
a.btn.btn--outline:visited{
  background: transparent;
  border: 2px solid var(--cherry-blossom);
  color: var(--cherry-blossom) !important;
}

a.btn.btn--outline:hover,
a.btn.btn--outline:focus{
  background: var(--cherry-blossom);
  color: var(--white) !important;
}

/* CTA spacing so it never touches ASL/tags */
.event-cta{
  margin: 0 0 14px 0;
}

/* ===== Mobile behavior ===== */
@media (max-width: 820px){
  .event-card{
    grid-template-columns: 1fr;
    text-align: left;
  }

  .event-card__media{
    order: -1; /* image above content */
  }

  .schedule-jump{
    justify-content: flex-start;
  }
}

/* More space between event cards */
.schedule-list{
  gap: 26px;                 /* was 16px */
}

.event-card{
  margin: 0;                 /* keep reset */
  padding: 22px;             /* optional: a bit more breathing room inside */
}
.event-card{
  margin-bottom: 26px;
}
.schedule-list .event-card:last-child{
  margin-bottom: 0;
}

/* Hamburger: filled Cherry Blossom */
.hamburger{
  background: var(--cherry-blossom);
  border: 2px solid var(--cherry-blossom);
  color: var(--white);
}

.hamburger:hover,
.hamburger:focus{
  background: var(--crape-myrtle);
  border-color: var(--crape-myrtle);
  color: var(--white);
}