/* BEYON V11 — DARK ONLY / STABLE COMPACT LAYOUT
   Purpose: eliminate light mode, remove layout-breaking reveal states,
   reduce excessive vertical whitespace, keep fixed-header anchors visible. */

:root,
html,
html[data-theme="dark"],
html[data-theme="light"]{
  color-scheme:dark;
  --black:#050506!important;
  --ink:#080809!important;
  --panel:#0b0b0d!important;
  --panel-2:#111114!important;
  --soft:#17171b!important;
  --text:#f6f3eb!important;
  --muted:#9b978f!important;
  --line:rgba(231,189,74,.14)!important;
  --shadow:0 24px 70px rgba(0,0,0,.42)!important;
  --font-sport:"Rajdhani","Arial Narrow",system-ui,sans-serif!important;
  --font-display:"Oxanium","Rajdhani","Arial Narrow",system-ui,sans-serif!important;
}
html{scroll-padding-top:112px!important;background:#050506!important}
html[data-theme="light"] body,body{background:#050506!important;color:#f6f3eb!important;transition:none!important}
body,.public-view,.portal-view,.auth-view{background:#050506!important;color:#f6f3eb!important}

/* Light mode is gone, including stale cached buttons. */
[data-action="theme"],.sunmoon{display:none!important}

/* Fixed navigation stays compact and never masks anchored titles. */
.site-header{
  top:18px!important;
  height:74px!important;
  width:min(1280px,calc(100% - 36px))!important;
  background:rgba(6,6,7,.90)!important;
  border-color:rgba(231,189,74,.24)!important;
  box-shadow:0 18px 60px rgba(0,0,0,.40),inset 0 1px rgba(255,244,202,.035)!important;
}
.brand{width:156px!important;height:52px!important}
.desktop-nav{gap:30px!important}
.desktop-nav a{color:#bab5aa!important;font-size:12px!important;letter-spacing:.09em!important;text-transform:uppercase!important}
.desktop-nav a:hover{color:#f3cf64!important}
.header-actions{gap:9px!important}

#home,#academy,#programs,#membership,#contact{scroll-margin-top:112px!important}
.section-shell{width:min(1280px,calc(100% - 48px))!important}
.section{padding:76px 0!important}

/* Hero: powerful, but no huge text or broken wrapping. */
.hero{
  min-height:100svh!important;
  padding:138px max(24px,calc((100vw - 1280px)/2)) 62px!important;
  display:flex!important;
  align-items:center!important;
}
.hero-content{width:min(720px,58vw)!important;max-width:720px!important}
.hero h1,.hero .motion-title{
  max-width:720px!important;
  margin:18px 0 20px!important;
  font-family:var(--font-display)!important;
  font-size:clamp(50px,5.1vw,76px)!important;
  line-height:.98!important;
  letter-spacing:-.042em!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  text-wrap:pretty!important;
  color:#fff!important;
  -webkit-text-fill-color:transparent!important;
  background:linear-gradient(102deg,#fff8df 0%,#f2c953 34%,#fff5c5 53%,#c58c14 74%,#fff8df 100%)!important;
  background-size:220% 100%!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  animation:v11Metal 9s linear infinite!important;
  filter:drop-shadow(0 0 14px rgba(231,189,74,.11))!important;
  transform:none!important;
}
.hero p{max-width:610px!important;font-size:16px!important;line-height:1.65!important;color:#c0bbb0!important}
.hero-proof{margin-top:38px!important;padding-top:18px!important;gap:30px!important}
.hero-media img{object-position:64% center!important;transform:scale(1.015)!important;animation:v11HeroIn .9s ease-out both!important}
.hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.93),rgba(0,0,0,.76) 34%,rgba(0,0,0,.36) 68%,rgba(0,0,0,.28)),linear-gradient(0deg,rgba(0,0,0,.68),transparent 55%)!important}
@keyframes v11Metal{to{background-position:220% 50%}}
@keyframes v11HeroIn{from{opacity:.45;transform:scale(1.05)}to{opacity:1;transform:scale(1.015)}}

/* Never hide content because of observers/animations. */
.reveal,.motion-reveal,.motion-reveal.motion-in{
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}

/* Section titles: guaranteed visible, compact and athletic. */
.section:not(.hero) .motion-title,
.section-copy h2,.section-head h2,.media-band h2,.cta-panel h2{
  color:#f8f5ed!important;
  -webkit-text-fill-color:#f8f5ed!important;
  background:none!important;
  filter:none!important;
  animation:none!important;
  font-family:var(--font-display)!important;
  font-size:clamp(34px,3.7vw,54px)!important;
  line-height:1.02!important;
  letter-spacing:-.032em!important;
  text-transform:uppercase!important;
  margin:14px 0 18px!important;
  text-wrap:pretty!important;
}
.section-copy h2::after,.section-head h2::after{
  content:""!important;display:block!important;width:58px!important;height:2px!important;margin-top:12px!important;
  background:linear-gradient(90deg,#e7bd4a,#fff0ae,transparent)!important;box-shadow:0 0 12px rgba(231,189,74,.22)!important
}
.eyebrow{font-family:var(--font-display)!important;font-size:10px!important;letter-spacing:.16em!important;color:#c5c0b5!important}

/* Academy: no 500px empty void beside the image. */
.split-showcase{
  grid-template-columns:minmax(0,1fr) minmax(420px,.92fr)!important;
  gap:54px!important;
  align-items:center!important;
}
.section-copy{align-self:center!important;padding-block:10px!important}
.section-copy>p{font-size:16px!important;line-height:1.7!important;max-width:620px!important}
.pill-row{margin-top:22px!important;gap:8px!important}
.pill-row span{padding:8px 12px!important;background:#0d0d0f!important;border-color:rgba(255,255,255,.11)!important}
.brand-frame{min-height:360px!important;height:390px!important;border-radius:24px!important}
.brand-frame img{min-height:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}

/* Programs: title and copy stay together, cards immediately below. */
.section-head{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)!important;
  gap:40px!important;
  align-items:end!important;
  margin-bottom:28px!important;
}
.section-head>div{max-width:760px!important}
.section-head>p{max-width:420px!important;margin:0 0 6px!important;font-size:15px!important;line-height:1.65!important}
.program-grid{gap:14px!important}
.program-card{min-height:300px!important;padding:26px!important;border-radius:20px!important;background:#0b0b0d!important}
.program-icon{margin:28px 0 18px!important}
.program-card h3{font-size:25px!important;margin-bottom:9px!important}
.program-card p{font-size:14px!important;line-height:1.55!important}

/* Membership and media blocks also become tighter. */
.media-band{min-height:410px!important;width:min(1280px,calc(100% - 48px))!important;border-radius:26px!important}
.media-band-copy{padding:48px!important}
.media-band h2{font-size:clamp(34px,3.6vw,52px)!important}
.membership-section{padding-bottom:82px!important}
.price-grid{gap:14px!important}
.price-card{min-height:430px!important;padding:28px!important}
.price-card.popular{transform:none!important}
.price strong{font-size:52px!important}
.cta-panel{margin-bottom:72px!important;padding:42px 46px!important}
.cta-panel h2{font-size:clamp(32px,3.5vw,48px)!important}
.site-footer{padding-top:46px!important}

/* Portal is permanently dark too. */
.sidebar{background:radial-gradient(circle at 18% 0%,rgba(212,175,55,.07),transparent 22%),#070708!important}
.portal-header{background:rgba(6,6,8,.93)!important;border-color:rgba(231,189,74,.11)!important}
.portal-main,.portal-content{background:#050506!important}
.panel,.stat-card,.entity-card,.table-card,.v5-table-wrap,.v5-section,.v6-member-card,.side-drawer,.floating-menu,.login-card{background:#0b0b0d!important;color:#f6f3eb!important}
input,select,textarea{color-scheme:dark!important}

/* Auth page: dark only, no orphaned theme control spacing. */
.auth-form-panel{background:#060607!important}
.auth-top{justify-content:flex-end!important}

/* Arabic keeps its own metrics and readable line height. */
html[lang="ar"] .hero h1{font-family:"Noto Kufi Arabic",Tahoma,Arial,sans-serif!important;font-size:clamp(44px,4.6vw,68px)!important;line-height:1.24!important;text-transform:none!important;letter-spacing:0!important}
html[lang="ar"] .section:not(.hero) .motion-title,html[lang="ar"] .section-copy h2,html[lang="ar"] .section-head h2{font-family:"Noto Kufi Arabic",Tahoma,Arial,sans-serif!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important}

@media(max-width:1050px){
  .desktop-nav{gap:18px!important}.desktop-nav a{font-size:11px!important}
  .split-showcase{grid-template-columns:1fr 1fr!important;gap:32px!important}
  .brand-frame{height:350px!important;min-height:350px!important}
  .hero-content{width:min(690px,65vw)!important}
  .hero h1{font-size:clamp(48px,6vw,68px)!important}
}
@media(max-width:860px){
  html{scroll-padding-top:92px!important}
  #home,#academy,#programs,#membership,#contact{scroll-margin-top:92px!important}
  .section{padding:62px 0!important}
  .split-showcase,.section-head{grid-template-columns:1fr!important;gap:24px!important}
  .brand-frame{height:340px!important;min-height:340px!important}
  .hero{padding-top:120px!important;padding-bottom:50px!important;align-items:flex-end!important}
  .hero-content{width:92vw!important;max-width:700px!important}
  .hero h1{font-size:clamp(46px,8.8vw,66px)!important}
  .program-grid,.price-grid{grid-template-columns:1fr!important}
  .program-card,.price-card{min-height:280px!important}
  .media-band{grid-template-columns:1fr!important;min-height:0!important}
  .media-band-image{height:300px!important}.media-band-copy{padding:34px!important}
}
@media(max-width:620px){
  .section-shell{width:calc(100% - 28px)!important}
  .site-header{top:8px!important;height:62px!important;width:calc(100% - 16px)!important}
  .brand{width:118px!important;height:44px!important}
  .hero{padding-top:102px!important;padding-inline:16px!important}
  .hero h1{font-size:clamp(40px,12vw,54px)!important;line-height:1!important}
  .hero p{font-size:14px!important}.hero-proof{margin-top:28px!important;gap:8px!important}
  .section{padding:52px 0!important}
  .brand-frame{height:290px!important;min-height:290px!important}
  .section:not(.hero) .motion-title,.section-copy h2,.section-head h2{font-size:32px!important}
  .program-card{padding:22px!important}
  .media-band{width:calc(100% - 28px)!important}.media-band-image{height:240px!important}.media-band-copy{padding:26px!important}
  .cta-panel{padding:28px!important;margin-bottom:48px!important}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .hero h1{background-position:50% 50%!important}
}
