/* 3ON Virtual Fest v5.8 — production layout / typography reconciliation.
   Loaded LAST to resolve legacy v5.2-v5.7 cascade conflicts, without losing existing UI. */
:root{
  --vf-bg:#06080e;
  --vf-surface:#0c111b;
  --vf-elevated:#111a27;
  --vf-border:rgba(165,188,216,.16);
  --vf-quiet:#9aa9bb;
  --vf-text:#f1f5fa;
  --vf-red:#fb2849;
  --vf-blue:#2598f5;
  --vf-content:1260px;
  --vf-radius:16px;
  --vf-space:clamp(16px,2.5vw,36px);
  --vf-shadow:0 16px 52px rgba(0,0,0,.26);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{min-width:320px;overflow-x:clip;background:var(--vf-bg);color:var(--vf-text);font-size:15px;line-height:1.58;-webkit-font-smoothing:antialiased}
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
p,li,dd{overflow-wrap:break-word}
h1,h2,h3,h4{font-weight:800;line-height:1.15;letter-spacing:-.027em;overflow-wrap:break-word}
body main h1,body main h2,body main h3{max-width:none}
body main h1{font-size:clamp(2.2rem,4vw,4rem);line-height:1.04;letter-spacing:-.047em}
body main h2{font-size:clamp(1.55rem,2.4vw,2.6rem);line-height:1.13}
body main h3{font-size:clamp(1.05rem,1.4vw,1.4rem);line-height:1.28}
.section{padding-block:clamp(38px,4.5vw,68px)}
.container{width:min(var(--vf-content),calc(100% - 2*var(--vf-space)));max-width:none;margin-inline:auto}
body:not(.admin-body):not(.coming-soon-v56) .container{width:min(var(--vf-content),calc(100% - 2*var(--vf-space)));max-width:none}
.section-head{gap:20px;margin-bottom:24px}
.section-head p{max-width:70ch}
.muted,.text-muted{color:var(--vf-quiet)}
.eyebrow{font-size:.72rem;letter-spacing:.13em;font-weight:800}
.btn,button,input,select,textarea{max-width:100%}
.btn{min-height:42px;min-width:0;padding:10px 17px;border-radius:10px;font-size:.85rem;line-height:1.2;letter-spacing:.005em;font-weight:750;box-shadow:none;transition:background .17s ease,border-color .17s ease,transform .17s ease}
.btn:hover{transform:translateY(-1px)}
.btn-lg{min-height:48px;padding:12px 19px;font-size:.9rem}
.btn-small{min-height:34px;padding:7px 12px;font-size:.77rem}
.btn-primary{background:var(--vf-red);border-color:rgba(255,255,255,.16);color:#fff}
.btn-primary:hover{background:#e51f41}
.btn-blue{background:#147aca;color:#fff}
.btn-ghost,.btn-glass{background:rgba(255,255,255,.045);border-color:var(--vf-border);color:#eff5ff}
.btn:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #79c0ff;outline-offset:3px}
input,select,textarea{min-height:42px;border-radius:9px;font-size:.9rem;line-height:1.45}
input[type=checkbox],input[type=radio]{min-height:0;max-width:none;accent-color:var(--vf-blue)}
textarea{resize:vertical;min-height:100px}
.form-grid{gap:16px}
.field label{font-size:.81rem;font-weight:730}
:where(.panel,.admin-card,.card,.value-card,.event-card-v5,.artist-tile,.auth-card-v5){border-radius:var(--vf-radius)}
:where(.panel,.admin-card,.value-card,.auth-card-v5){border-color:var(--vf-border);background:var(--vf-surface);box-shadow:none}
.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-wrap table{min-width:620px}
table th{font-size:.72rem;white-space:nowrap}
table td{font-size:.81rem;vertical-align:top}
img,svg,video,iframe{max-width:100%}
img{height:auto}
[hidden]{display:none!important}

/* Keep the verified 3ON/3ONVF imagery unchanged. Refine the two-layer navigation. */
.threeon-suite-rail{min-height:31px;padding-inline:var(--vf-space);gap:12px;background:#070a0f;border-color:rgba(251,40,73,.25)}
.threeon-suite-brand img{height:23px;width:auto;max-width:128px}
.threeon-suite-links a{font-size:.69rem;letter-spacing:.01em;font-weight:650;padding:5px 10px}
body:not(.admin-body):not(.coming-soon-v56) .topbar-v52{height:68px;min-height:68px;background:rgba(6,9,15,.96);border-color:var(--vf-border);box-shadow:none}
body:not(.admin-body):not(.coming-soon-v56) .nav-v52{width:min(1400px,calc(100% - 2*var(--vf-space)));height:100%;gap:15px}
body:not(.admin-body):not(.coming-soon-v56) .brand-v52{width:164px;min-width:164px}
body:not(.admin-body):not(.coming-soon-v56) .brand-v52 img{width:164px;height:61px;object-fit:contain;object-position:left center}
body:not(.admin-body):not(.coming-soon-v56) .desktop-nav-v52>a{font-size:.8rem;letter-spacing:0;padding-inline:11px;font-weight:730}
body:not(.admin-body):not(.coming-soon-v56) .header-search-btn,body:not(.admin-body):not(.coming-soon-v56) .header-icon-btn{width:37px;height:37px}
.topbar-v52 .mobile-nav-panel{position:absolute;left:0;right:0;top:68px;z-index:1140;max-height:calc(100dvh - 100px);overflow-y:auto;padding-block:18px 22px;background:rgba(7,10,16,.99);box-shadow:0 28px 70px rgba(0,0,0,.5)}
.mobile-nav-toggle.is-open svg{display:none}
.mobile-nav-toggle.is-open:after{content:"×";font-size:26px;line-height:1}

/* The public landing: one stage composition with grounded type scale. */
body:not(.admin-body):not(.coming-soon-v56) .landing-hero{position:relative;min-height:0;padding:clamp(54px,6vw,90px) 0 clamp(52px,5.5vw,84px);isolation:isolate;overflow:hidden;border-bottom:1px solid var(--vf-border);background:
  radial-gradient(ellipse 34% 66% at 18% 18%,rgba(251,40,73,.19),transparent 72%),
  radial-gradient(ellipse 30% 65% at 89% 30%,rgba(37,152,245,.22),transparent 75%),
  linear-gradient(180deg,#0b101b 0%,#050810 100%)}
.landing-hero:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.45;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0,transparent 79px,rgba(150,181,212,.06) 80px),linear-gradient(0deg,rgba(255,255,255,.015),transparent 45%);mask-image:linear-gradient(180deg,#000,transparent 94%)}
.landing-hero:after{content:"";position:absolute;left:-10%;right:-10%;bottom:-90px;height:170px;z-index:-1;opacity:.32;filter:blur(50px);background:linear-gradient(90deg,transparent,var(--vf-red) 28%,transparent 47%,var(--vf-blue) 75%,transparent)}
.landing-hero .hero-grid-bg{opacity:.24}
.landing-hero .hero-beam{opacity:.26;pointer-events:none}
body:not(.admin-body):not(.coming-soon-v56) .landing-hero-inner{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(305px,.84fr);gap:clamp(34px,5vw,74px);align-items:center;max-width:var(--vf-content);min-height:0}
body:not(.admin-body):not(.coming-soon-v56) .landing-copy{min-width:0}
body:not(.admin-body):not(.coming-soon-v56) .landing-copy h1{font-size:clamp(2.65rem,4.6vw,4.95rem)!important;max-width:12ch!important;line-height:1.03!important;letter-spacing:-.055em;margin:18px 0 20px}
body:not(.admin-body):not(.coming-soon-v56) .landing-copy h1:after{width:72px;height:3px;margin-top:21px}
body:not(.admin-body):not(.coming-soon-v56) .landing-copy>p{max-width:57ch;font-size:clamp(.97rem,1.2vw,1.1rem);line-height:1.7;color:#b4c1d3}
.hero-pill{min-height:28px;padding:6px 11px;font-size:.65rem;font-weight:800;letter-spacing:.09em}
.hero-actions{gap:10px;flex-wrap:wrap}
.hero-proof{gap:24px;flex-wrap:wrap}
.hero-proof strong{font-size:clamp(1.3rem,2vw,1.85rem);letter-spacing:-.04em}
.hero-proof span{font-size:.71rem}
body:not(.admin-body):not(.coming-soon-v56) .hero-stage-card{max-width:500px;width:100%;justify-self:end;padding:clamp(20px,2.8vw,32px);background:linear-gradient(155deg,rgba(18,28,44,.96),rgba(7,11,19,.96));border:1px solid rgba(113,157,206,.29);border-radius:20px;box-shadow:0 28px 80px rgba(0,0,0,.37),inset 0 1px rgba(255,255,255,.045)}
.hero-stage-logo{width:min(250px,72%);height:145px;max-height:145px;object-fit:contain;margin:0 auto 16px;filter:drop-shadow(0 15px 28px rgba(0,0,0,.24))}
.hero-stage-card h3{font-size:clamp(1.26rem,1.8vw,1.65rem);line-height:1.25;margin-block:8px}
.hero-stage-card p{font-size:.85rem;line-height:1.6;color:#a2b0c3}
.mini-countdown{font-size:.9rem;letter-spacing:.015em}
.mini-countdown b{font-variant-numeric:tabular-nums;font-size:1.1rem}
.trust-strip{border-bottom:1px solid var(--vf-border);background:#080d15}
.trust-items{gap:14px;flex-wrap:wrap;justify-content:center;padding-block:15px}
.trust-items span{font-size:.66rem;font-weight:750;letter-spacing:.095em}
.section-tint{background:linear-gradient(180deg,rgba(22,33,49,.45),rgba(7,10,17,.4))}
.event-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.event-card-v5{min-width:0;background:var(--vf-surface);border:1px solid var(--vf-border);overflow:hidden;transition:transform .16s,border-color .16s}
.event-card-v5:hover{transform:translateY(-3px);border-color:rgba(37,152,245,.55)}
.event-visual{height:190px;background:linear-gradient(145deg,#17243a,#080f1d);overflow:hidden}
.event-visual img{height:100%;width:100%;object-fit:cover}
.event-visual img[src$="3onvf-logo.png"]{object-fit:contain;padding:25px}
.event-copy{padding:17px 19px 20px}
.event-copy>span{font-size:.73rem}
.event-copy h3{font-size:1.05rem;margin:8px 0}
.event-copy p{font-size:.81rem;margin:0}
.artist-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.artist-tile{min-width:0;gap:11px;padding:12px;border:1px solid var(--vf-border);background:var(--vf-surface)}
.artist-photo{flex:0 0 auto;width:65px;height:65px;border-radius:12px;overflow:hidden}
.artist-tile h3{font-size:.94rem;margin:0 0 4px}
.artist-tile p{font-size:.75rem;line-height:1.45}
.community-promo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.community-promo-copy h2{max-width:18ch}
.community-promo-copy p{max-width:62ch;color:#a9bacb;line-height:1.7}
.value-grid{gap:15px;grid-template-columns:repeat(4,minmax(0,1fr))}
.value-card{min-width:0;padding:20px}
.value-card>span{font-size:.75rem}
.value-card h3{font-size:1.08rem}
.value-card p{font-size:.83rem;color:#a6b4c6}
.cta-stage{padding-block:clamp(35px,4.5vw,58px)}
.cta-stage h2{font-size:clamp(1.5rem,2.65vw,2.65rem)}
.cta-stage img{max-width:110px}

/* Consistent product and community widths, no horizontal cut-off. */
body.community-body:not(.admin-body) .community-shell-v5{width:min(1380px,calc(100% - 2*var(--vf-space)));max-width:none;grid-template-columns:minmax(190px,225px) minmax(0,1fr) minmax(245px,290px);gap:15px}
.community-feed-column,.community-left,.community-right{min-width:0}
.social-post,.composer-card{padding:clamp(13px,1.65vw,19px)}
.post-author-line{min-width:0}
.community-feed-head h1{font-size:clamp(1.25rem,1.7vw,1.55rem);letter-spacing:-.025em}
.composer-card textarea{font-size:.9rem}
.post-body,.post-body p{font-size:.9rem;line-height:1.65}
.profile-page-v5,.settings-layout{max-width:var(--vf-content)}
.profile-cover{height:clamp(190px,22vw,290px)}
.group-card-grid,.event-community-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.media-gallery-v53{grid-template-columns:repeat(4,minmax(0,1fr))}
.messages-layout{grid-template-columns:minmax(220px,320px) minmax(0,1fr);max-width:var(--vf-content)}
.dm-thread{min-width:0}
.auth-stage{padding-block:clamp(30px,4.3vw,60px)}
.auth-layout-v5{max-width:1100px;gap:24px;grid-template-columns:minmax(0,1fr) minmax(370px,.9fr)}
.auth-brand-panel,.auth-card-v5{padding:clamp(20px,2.8vw,40px)}

/* Actual admin labels remain legible on laptops rather than icon-only slivers. */
body.admin-body{background:#070a11}
.admin-shell-v5{grid-template-columns:246px minmax(0,1fr);min-height:calc(100dvh - 32px)}
.admin-sidebar-v5{min-width:0;width:auto;background:#090e17;border-right:1px solid var(--vf-border)}
.admin-sidebar-v5 nav{padding:12px 9px 24px}
.admin-sidebar-v5 nav a{font-size:.77rem;line-height:1.4;min-height:37px;padding:9px 11px;overflow-wrap:anywhere}
.admin-sidebar-v5 .sidebar-group{font-size:.65rem;letter-spacing:.11em;color:#8c9db2}
.admin-brand img{width:135px;max-width:100%;max-height:70px}
.admin-main-v5{min-width:0;width:100%;max-width:none;padding:clamp(18px,2.5vw,34px);overflow-x:hidden}
.admin-main-v5 h1{font-size:clamp(1.65rem,2.6vw,2.5rem)}
.admin-main-v5 h2{font-size:clamp(1.2rem,1.7vw,1.8rem)}
.admin-main-v5 h3{font-size:clamp(1rem,1.25vw,1.25rem)}
.kpis-v5,.admin-dashboard-grid,.control-grid{gap:14px}
.kpis-v5{grid-template-columns:repeat(4,minmax(0,1fr))}
.kpi strong,.kpis-v5 strong{font-size:clamp(1.35rem,2.1vw,2.15rem)}
.setup-check-grid,.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-card{min-width:0;padding:clamp(15px,1.6vw,22px)}
.admin-page-head{gap:16px;margin-bottom:22px}
.admin-head-actions{flex-wrap:wrap}
.admin-main-v5 .table-wrap{overflow-x:auto;max-width:100%}

/* Footer is editorial and readable, not oversized. */
.footer-v52{margin-top:clamp(35px,4vw,60px);border-color:var(--vf-border)}
.footer-top-v52{padding-block:25px;gap:18px}
.footer-top-v52>div:first-child strong{font-size:1.08rem;line-height:1.3}
.footer-grid-v52{grid-template-columns:minmax(200px,1.5fr) repeat(4,minmax(100px,1fr));gap:clamp(16px,2vw,34px);padding-block:30px}
.footer-grid-v52>div>a{font-size:.76rem}
.footer-brand-v52 img{width:175px;max-height:95px}
.footer-bottom-v52{color:#8491a1}

@media (min-width:1700px){
  body:not(.admin-body):not(.coming-soon-v56) .landing-copy h1{font-size:5rem!important}
  .artist-rail{grid-template-columns:repeat(4,minmax(0,1fr))}
  .event-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1190px){
  body:not(.admin-body):not(.coming-soon-v56) .desktop-nav-v52{display:none}
  .mobile-nav-toggle{display:grid}
  body.community-body:not(.admin-body) .community-shell-v5{grid-template-columns:205px minmax(0,1fr)}
  .community-right{display:none}
  .event-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .artist-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-shell-v5{grid-template-columns:222px minmax(0,1fr)}
  .admin-sidebar-v5 nav a{font-size:.75rem!important;display:block;height:auto;min-height:37px}
  .admin-sidebar-v5 .admin-brand span,.admin-sidebar-v5 .sidebar-group{font-size:.64rem}
  .admin-sidebar-v5 nav a:first-letter{font-size:inherit}
  .kpis-v5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid-v52{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-grid-v52>.footer-brand-v52{grid-column:1/-1}
}
@media (max-width:850px){
  body:not(.admin-body):not(.coming-soon-v56) .landing-hero-inner{grid-template-columns:minmax(0,1fr);gap:30px}
  body:not(.admin-body):not(.coming-soon-v56) .landing-copy h1{font-size:clamp(2.55rem,7.2vw,4rem)!important;max-width:15ch!important}
  body:not(.admin-body):not(.coming-soon-v56) .hero-stage-card{justify-self:start;max-width:560px}
  .community-promo{grid-template-columns:minmax(0,1fr)}
  .value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .artist-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .auth-layout-v5{grid-template-columns:minmax(0,1fr)}
  .footer-grid-v52{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:700px){
  :root{--vf-space:16px}
  body{font-size:14px}
  body:not(.admin-body):not(.coming-soon-v56) .topbar-v52{height:62px;min-height:62px}
  body:not(.admin-body):not(.coming-soon-v56) .brand-v52{width:132px;min-width:132px}
  body:not(.admin-body):not(.coming-soon-v56) .brand-v52 img{width:132px;height:55px}
  .topbar-v52 .mobile-nav-panel{top:62px}
  .threeon-suite-links a{font-size:.64rem;padding-inline:7px}
  body:not(.admin-body):not(.coming-soon-v56) .landing-hero{padding-block:42px 50px}
  body:not(.admin-body):not(.coming-soon-v56) .landing-copy h1{font-size:clamp(2.25rem,9vw,3.3rem)!important;margin-block:14px 17px}
  .landing-copy>p{font-size:.95rem}
  .hero-proof{gap:16px}
  .hero-stage-logo{height:110px;max-height:110px}
  .section{padding-block:36px}
  .event-card-grid{grid-template-columns:minmax(0,1fr)}
  .event-visual{height:180px}
  .artist-rail{grid-template-columns:minmax(0,1fr)}
  .artist-tile{display:flex;align-items:center}
  .group-card-grid,.event-community-grid,.media-gallery-v53{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.community-body:not(.admin-body) .community-shell-v5{display:block;width:100%;padding-top:0}
  .community-left{position:sticky;top:62px;z-index:50;width:100%;max-width:100%;overflow-x:auto;border-radius:0;padding:6px 10px}
  .community-feed-column{border-inline:0;border-radius:0}
  .messages-layout{grid-template-columns:minmax(0,1fr)}
  .auth-stage{padding:22px 0 40px}
  .auth-card-v5{padding:20px}
  .admin-shell-v5{display:block;min-height:0}
  .admin-sidebar-v5{position:sticky;z-index:1000;top:0;display:flex;width:100%;height:auto;max-height:78px;overflow-x:auto;overflow-y:hidden;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--vf-border);scrollbar-width:thin}
  .admin-sidebar-v5 nav{display:flex;align-items:center;gap:5px;padding:8px;min-width:max-content}
  .admin-sidebar-v5 nav a{display:inline-flex!important;align-items:center;font-size:.74rem!important;white-space:nowrap;line-height:1.2;width:auto;min-height:40px;padding:9px 10px}
  .admin-sidebar-v5 .sidebar-group,.admin-sidebar-v5 .sidebar-top,.admin-sidebar-v5 .sidebar-bottom{display:none}
  .admin-main-v5{padding:18px 14px}
  .kpis-v5,.setup-check-grid,.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-page-head{flex-direction:column;align-items:start}
  .footer-grid-v52{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid-v52>.footer-brand-v52{grid-column:1/-1}
  .footer-top-v52{align-items:start}
  .footer-cta-actions{flex-wrap:wrap}
  .footer-bottom-v52{align-items:start}
}
@media (max-width:460px){
  :root{--vf-space:12px}
  .threeon-suite-links a:nth-child(n+3){display:none}
  .hero-actions{display:flex;flex-direction:column}
  .hero-actions .btn{width:100%}
  .value-grid,.group-card-grid,.event-community-grid{grid-template-columns:minmax(0,1fr)}
  .kpis-v5,.setup-check-grid,.integration-grid{grid-template-columns:minmax(0,1fr)}
  .footer-grid-v52{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .footer-cta-actions{width:100%;flex-direction:column}
  .footer-cta-actions .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

.vf-demo-disclosure{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:11px clamp(16px,3vw,36px);background:#142238;border-bottom:1px solid rgba(77,156,247,.28);color:#c5dbf6;font-size:.78rem;line-height:1.5}
.vf-demo-disclosure strong{text-transform:uppercase;letter-spacing:.06em;font-size:.68rem;color:#87c4ff;white-space:nowrap}
