/* Phase 1: homepage only. All colors come from the existing TBCC theme. */
.home-premium { --home-line: rgba(17,20,37,.13); }
.home-premium .container { max-width: 1320px; padding-inline: clamp(20px,4vw,48px); }
.home-premium h1,.home-premium h2,.home-premium h3,.home-premium h5 { font-family: 'Montserrat',system-ui,sans-serif; letter-spacing: -.045em; }
.home-skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; background: white; color: var(--tbcc-ink); padding: 14px 20px; }
.home-skip-link:focus { top: 12px; }
.home-premium :is(a,button,[tabindex]):focus-visible { outline: 3px solid var(--tbcc-blue); outline-offset: 5px; }
.home-premium .navbar { background: #fff !important; border-image: none; border-bottom: 1px solid var(--home-line); box-shadow: none; padding-block: 12px !important; }
.home-premium .navbar-brand img { height: 76px !important; }
.home-premium .navbar-carf-seal,.home-premium .navbar-carf-seal img { width: 62px !important; height: 62px !important; min-width: 62px; max-width: 62px !important; filter: none; }
.home-premium .navbar-nav { align-items: center; gap: 3px; }
.home-premium .navbar-nav .nav-link { color: var(--tbcc-ink) !important; font-size: .72rem; margin: 0; padding-inline: 7px; }
.home-premium .navbar-nav .nav-link:hover,.home-premium .navbar-nav .nav-link.active { color: var(--tbcc-primary) !important; }
.home-premium .navbar-nav .btn { padding: 10px 13px; font-size: .75rem; }
.home-premium .navbar-nav .btn-outline-light { color: var(--tbcc-ink); border-color: var(--home-line); }
.home-premium .navbar-toggler { background: var(--tbcc-ink); }
.home-premium .btn { border-radius: 5px; font-weight: 700; letter-spacing: -.015em; transition: transform .2s,box-shadow .2s; }
.home-premium .btn-primary { color: var(--tbcc-ink) !important; background: var(--tbcc-rainbow) !important; box-shadow: none; }
.home-hero { padding: clamp(48px,6vw,88px) 0 0; background: white; }
.home-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px,5vw,80px); align-items: center; margin-bottom: 52px; }
.home-eyebrow { color: var(--tbcc-primary); text-transform: uppercase; font-size: .68rem; font-weight: 800; letter-spacing: .15em; margin-bottom: 22px; }
.home-eyebrow > span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tbcc-pink); margin-right: 9px; }
.home-premium .home-hero h1 { color: var(--tbcc-ink); font-size: clamp(2.6rem,4.6vw,4.7rem); line-height: 1.06; font-weight: 800; margin: 0 0 24px; }
.home-hero-description { color: var(--tbcc-dark); max-width: 510px; font-size: 1rem; line-height: 1.85; margin-bottom: 28px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero-actions .btn { padding: 16px 22px; font-size: .82rem; }
.home-hero-actions .btn span { margin-left: 24px; }
.home-donate { border: 1px solid var(--home-line); color: var(--tbcc-ink); background: white; }
.home-donate:hover { border-color: var(--tbcc-primary); }
.home-resource-link { display: inline-block; margin-top: 25px; font-size: .76rem; font-weight: 600; color: var(--tbcc-primary); }
.home-resource-link span { margin-left: 12px; }
.home-brand-panel { background: var(--tbcc-ink); border-radius: 8px; padding: 30px 24px 20px; text-align: center; position: relative; overflow: hidden; animation: home-brand-float 6.4s ease-in-out 2.25s infinite; will-change: transform; }
/* A deliberately quiet, continuous lift gives the lockup presence without
   competing with the one-time STAY L.I.T. assembly animation. */
@keyframes home-brand-float { 0%,100% { transform: translateY(0); box-shadow: 0 12px 24px rgba(17,20,37,.10); } 50% { transform: translateY(-11px); box-shadow: 0 26px 40px rgba(17,20,37,.18); } }
/* One brief assembly sequence; artwork and final lockup remain unchanged. */
.home-brand-animated .stay-script-image { animation: brand-from-left 1s cubic-bezier(.22,1,.36,1) .1s both; }
.home-brand-animated .stay-block { animation: brand-from-right 1s cubic-bezier(.22,1,.36,1) .4s both; }
.home-brand-animated .stay-subline { animation: brand-rise .85s cubic-bezier(.22,1,.36,1) .8s both; }
.home-brand-animated .stay-lit-underline { animation: brand-line .7s ease 1.2s both; transform-origin: center; }
.home-brand-animated > p { animation: brand-rise .7s ease 1.4s both; }
@keyframes brand-from-left { from { opacity: 0; transform: translateX(-65px); } to { opacity: 1; transform: translateX(0); } }
@keyframes brand-from-right { from { opacity: 0; transform: translateX(65px); } to { opacity: 1; transform: translateX(0); } }
@keyframes brand-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes brand-line { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
.home-brand-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--tbcc-rainbow); }
.home-brand-panel .stay-lit-wordmark { margin: 0; }
.home-brand-panel .stay-script-image { width: 190px; height: auto; max-width: 80%; margin: 0; }
.home-brand-panel .stay-block { font-size: 6rem; }
.home-brand-panel .stay-subline { font-size: 2.8rem; }
.home-brand-panel .stay-lit-underline { width: 150px; height: 4px; box-shadow: none; margin-top: 14px; }
.home-brand-panel > p { color: white; font-size: .63rem; letter-spacing: .035em; margin: 18px 0 0; }
.home-community-photo { margin: 0; position: relative; }
.home-community-photo picture { display: block; border-radius: 8px; overflow: hidden; }
.home-community-photo img { width: 100%; height: auto; display: block; }
.home-community-photo figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0 24px; font-size: .65rem; font-weight: 600; color: var(--tbcc-dark); }
.home-belief-strip { border-block: 1px solid var(--home-line); }
.home-belief-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.home-belief-strip span,.home-belief-strip a { font-size: .68rem; font-weight: 800; }
.home-belief-strip p { margin: 0; font-size: .75rem; }
.home-premium .section { padding-block: clamp(56px,7vw,100px); }
.home-premium .section-title { font-size: clamp(1.9rem,3.1vw,3rem); line-height: 1.2; color: var(--tbcc-ink); font-weight: 800; margin-top: 0; }
.home-premium .section-title::after { display: none; }
.home-premium #stats-section { background: var(--tbcc-ink) !important; }
.home-premium #stats-section .section-title { color: white; }
.home-premium #stats-section .home-eyebrow { color: var(--tbcc-sky); }
.home-premium .stats-item { border-right: 1px solid rgba(255,255,255,.2); }
.home-premium .stats-item:last-child { border-right: 0; }
.home-premium .stats-item h3 { color: var(--tbcc-sky); font-size: clamp(3rem,6vw,5rem); font-weight: 800; margin-top: 0; }
.home-premium .stats-item:nth-child(2) h3 { color: var(--tbcc-pink); }
.home-premium .stats-item:nth-child(3) h3 { color: var(--tbcc-green); }
.home-premium .stats-item p { color: white; font-size: .8rem; }
.home-premium .fy-card,.home-premium .event-card { border: 1px solid var(--home-line); box-shadow: none; border-radius: 8px; }
.home-premium .events-empty { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 28px; padding: clamp(26px,4vw,42px); text-align: left; background: #fff; }
.events-empty-icon { display: grid; width: 56px; height: 56px; place-items: center; color: var(--tbcc-ink); border-radius: 50%; background: var(--tbcc-rainbow); font-size: 1.25rem; }
.events-empty-kicker { display: block; margin-bottom: 6px; color: var(--tbcc-primary); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-premium .events-empty h3 { margin: 0 0 8px; color: var(--tbcc-ink); font-size: clamp(1.1rem,2vw,1.35rem); font-weight: 800; }
.home-premium .events-empty p { margin: 0; color: var(--tbcc-dark); font-size: .82rem; line-height: 1.7; }
.events-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.events-empty-actions .btn { padding: 13px 16px; font-size: .72rem; white-space: nowrap; }
.events-empty-actions > a:not(.btn) { color: var(--tbcc-ink); font-size: .72rem; font-weight: 800; white-space: nowrap; }
@media (max-width: 767.98px) { .home-premium .events-empty { grid-template-columns: 1fr; gap: 18px; } .events-empty-actions { align-items: flex-start; flex-direction: column; } }
.home-premium .section-kicker { color: var(--tbcc-primary); letter-spacing: .13em; font-size: .68rem; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.home-section-heading .section-title { margin-bottom: 0; }
.home-section-heading a { font-size: .8rem; font-weight: 700; white-space: nowrap; }
.home-premium .program-highlights-section .card { text-align: left !important; padding: 30px 24px !important; border: 1px solid var(--home-line); box-shadow: none; border-radius: 8px; }
.home-premium .program-highlights-section .card::before { background: var(--tbcc-rainbow); height: 3px; }
.home-premium .program-highlights-section .card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(17,20,37,.08); }
.home-premium .program-highlights-section .card-title { color: var(--tbcc-ink); font-size: 1.2rem; line-height: 1.4; margin-block: 18px 14px; }
.home-premium .program-highlights-section .card-text { font-size: .84rem; line-height: 1.85; flex-grow: 1; }
.home-premium .program-highlights-section .stretched-link { font-size: .75rem; font-weight: 700; margin-top: 18px; }
.home-premium .program-highlights-section .fa-3x { font-size: 1.8rem; }
.home-premium .mission-lite-section { border-block: 1px solid var(--home-line); background: white !important; }
.home-premium .mission-lite-section p { max-width: 960px; margin-inline: auto; line-height: 1.9; }
.home-premium .careers-cta-section { background: var(--tbcc-ink) !important; }
.home-premium .careers-cta-section .container { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.home-premium .careers-cta-section :is(h2,p) { color: white; }
.home-premium .careers-cta-section p { max-width: 750px; margin-inline: auto; }
.home-premium .careers-cta-section .btn-outline-primary { color: white; border-color: white; }
.home-premium .partners-section { background: white !important; }
.home-premium .tbcc-cursor-dot,.home-premium .tbcc-cursor-ring { display: none; }
.home-premium,.home-premium a,.home-premium button { cursor: auto !important; }
.home-premium a,.home-premium button { cursor: pointer !important; }
.home-premium .community-map-section .community-map-frame { width: min(100%,760px) !important; max-width: 760px !important; aspect-ratio: 760 / 660 !important; min-height: 0 !important; }
.home-premium .community-map-section .community-map-overlay.community-map-zoomed { position: relative !important; inset: auto !important; z-index: 1 !important; display: block !important; width: 100% !important; height: 100% !important; pointer-events: auto !important; }
.home-premium .community-map-section .community-map-zoomed image { image-rendering: auto; }
.home-premium .community-map-section .community-hotspot:hover,.home-premium .community-map-section .community-hotspot:focus { fill: rgba(255,203,5,.28) !important; stroke: rgba(0,61,115,.85) !important; stroke-width: 4 !important; filter: drop-shadow(0 0 10px rgba(255,203,5,.80)) !important; }
.home-premium .home-entered > .container { animation: home-enter .65s ease both; }
@keyframes home-enter { from { opacity: .65; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media(min-width:1200px) { .home-premium .navbar .container { max-width: 1440px; padding-inline: 24px; } }
@media(max-width:1199.98px) {
  .home-premium .navbar-collapse { padding-top: 22px; }
  .home-premium .navbar-nav { align-items: stretch; gap: 6px; }
  .home-premium .navbar-nav .nav-link { padding: 10px; font-size: .9rem; }
  .home-premium .navbar-nav .btn { display: block; margin: 0 0 8px; }
  .home-premium .navbar-carf-seal { margin-right: auto; }
}
@media(max-width:767.98px) {
  .home-premium .home-hero h1 { font-size: clamp(2.05rem,9vw,2.8rem); }
  .home-hero-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 28px; }
  .home-hero-copy { max-width: 560px; }
  .home-brand-panel { padding-block: 22px; }
  .home-brand-panel .stay-script-image { width: 140px; }
  .home-brand-panel .stay-block { font-size: 4.5rem; }
  .home-brand-panel .stay-subline { font-size: 2.1rem; }
  .home-community-photo img { min-height: 170px; object-fit: cover; object-position: center; }
  .home-community-photo figcaption { font-size: .58rem; }
  .home-belief-strip .container { flex-wrap: wrap; gap: 12px; }
  .home-belief-strip p { order: 3; width: 100%; line-height: 1.7; }
  .home-premium .stats-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .home-premium .stats-item:last-child { border-bottom: 0; }
  .home-section-heading { display: block; }
  .home-section-heading > a { display: inline-block; margin-top: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  .home-premium *, .home-premium *::before,.home-premium *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
