/* ============================================================
   HEAD BANGERS — Dubai house of boxing
   Shared design system
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ---- Tokens ---- */
:root{
  --ink:        #0a0a0b;
  --ink-2:      #101012;
  --ink-3:      #161619;
  --ink-4:      #1d1d21;
  --line:       rgba(243,239,231,0.12);
  --line-soft:  rgba(243,239,231,0.07);
  --bone:       #f3efe7;
  --bone-2:     #cfc9bc;
  --muted:      rgba(243,239,231,0.52);
  --muted-2:    rgba(243,239,231,0.34);

  --brass:      #e0232f;
  --brass-br:   #ff5a5f;
  --brass-deep: #6e1418;
  --brass-glow: rgba(224,35,47,0.30);

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body:    'Manrope', system-ui, sans-serif;
  --mono:    'Space Mono', ui-monospace, monospace;

  --gut: clamp(20px, 5vw, 80px);
  --maxw: 1320px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--ink);
  color:var(--bone);
  font-family:var(--body);
  font-size:17px;
  line-height:1.6;
  font-weight:400;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul{list-style:none}
::selection{background:var(--brass);color:#fff}

/* grain overlay on whole page */
body::after{
  content:'';position:fixed;inset:0;z-index:9999;pointer-events:none;opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Type ---- */
.kicker{
  font-family:var(--mono);
  font-size:12px;
  font-weight:700;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--brass-br);
  display:inline-flex;align-items:center;gap:10px;
}
.kicker::before{content:'';width:26px;height:1px;background:var(--brass);display:inline-block}
.kicker.no-rule::before{display:none}

h1,h2,h3{
  font-family:var(--display);
  font-weight:800;
  line-height:.92;
  letter-spacing:-.01em;
  text-transform:uppercase;
}
.display-xl{font-size:clamp(3.4rem, 12vw, 11rem);font-weight:900;line-height:.84}
.display-lg{font-size:clamp(2.6rem, 7vw, 6rem);font-weight:900;line-height:.86}
.display-md{font-size:clamp(2rem, 4.4vw, 3.6rem);font-weight:800}
.display-sm{font-size:clamp(1.5rem, 3vw, 2.2rem);font-weight:800}

.lead{font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.55;color:var(--bone-2);font-weight:400}
.muted{color:var(--muted)}
.brass{color:var(--brass-br)}
.outline-txt{
  -webkit-text-stroke:1.5px rgba(243,239,231,.5);
  color:transparent;
}

/* ---- Layout ---- */
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gut)}
section{position:relative}
.sec-pad{padding-block:clamp(72px,11vh,160px)}
.sec-pad-sm{padding-block:clamp(48px,7vh,96px)}
.divider{height:1px;background:var(--line-soft);border:0}

/* ---- Buttons ---- */
.btn{
  display:inline-flex;align-items:center;gap:12px;
  font-family:var(--mono);font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;
  padding:18px 30px;border-radius:2px;
  transition:transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s;
  white-space:nowrap;
}
.btn .arrow{transition:transform .35s var(--ease)}
.btn:hover .arrow{transform:translateX(5px)}
.btn-primary{background:var(--brass);color:#fff}
.btn-primary:hover{background:#f5333b;transform:translateY(-2px)}
.btn-ghost{border:1px solid var(--line);color:var(--bone)}
.btn-ghost:hover{border-color:var(--brass);color:var(--brass-br)}
.btn-lg{padding:22px 38px;font-size:14px}
.link-arrow{
  font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;
  color:var(--brass-br);display:inline-flex;align-items:center;gap:9px;
  border-bottom:1px solid transparent;padding-bottom:3px;transition:border-color .3s,gap .3s var(--ease);
}
.link-arrow:hover{border-color:var(--brass);gap:14px}

/* ---- Header ---- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  transition:background .4s var(--ease), border-color .4s, padding .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(10,10,11,.82);backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--line-soft);
}
.nav{
  max-width:var(--maxw);margin:0 auto;padding:clamp(16px,2vw,26px) var(--gut);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.brand .mark{
  width:38px;height:38px;border:1.5px solid var(--brass);border-radius:50%;
  display:grid;place-items:center;position:relative;flex-shrink:0;
}
.brand .mark::after{content:'';position:absolute;inset:5px;border-radius:50%;border:1px solid var(--brass-deep)}
.brand .mark span{font-family:var(--display);font-weight:900;font-size:18px;color:var(--brass-br);line-height:1}
.brand .wordmark{font-family:var(--display);font-weight:900;font-size:21px;letter-spacing:.02em;text-transform:uppercase;line-height:.9}
.brand .wordmark b{display:block;font-size:9px;font-family:var(--mono);font-weight:700;letter-spacing:.34em;color:var(--muted);margin-top:3px}
.nav-links{display:flex;align-items:center;gap:clamp(18px,2.4vw,40px)}
.nav-links a{
  font-family:var(--mono);font-size:12.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--bone-2);position:relative;padding:6px 0;transition:color .3s;
}
.nav-links a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--brass);transition:width .35s var(--ease)}
.nav-links a:hover{color:var(--bone)}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-links a.active{color:var(--brass-br)}
.nav-cta{display:flex;align-items:center;gap:18px}
.burger{display:none;width:40px;height:40px;flex-direction:column;justify-content:center;gap:6px;align-items:flex-end}
.burger span{display:block;height:2px;background:var(--bone);transition:.35s var(--ease)}
.burger span:nth-child(1){width:26px}
.burger span:nth-child(2){width:20px}
.burger span:nth-child(3){width:26px}
body.menu-open .burger span:nth-child(1){transform:translateY(8px) rotate(45deg);width:26px}
body.menu-open .burger span:nth-child(2){opacity:0}
body.menu-open .burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg);width:26px}

/* mobile menu */
.mobile-menu{
  position:fixed;inset:0;z-index:999;background:var(--ink);
  display:flex;flex-direction:column;justify-content:center;padding:var(--gut);
  transform:translateY(-100%);transition:transform .5s var(--ease);
}
body.menu-open .mobile-menu{transform:translateY(0)}
.mobile-menu a{
  font-family:var(--display);font-weight:800;text-transform:uppercase;font-size:clamp(2.4rem,9vw,4rem);
  line-height:1.05;color:var(--bone);padding:6px 0;border-bottom:1px solid var(--line-soft);
  display:flex;justify-content:space-between;align-items:center;transition:color .3s,padding-left .3s var(--ease);
}
.mobile-menu a span{font-family:var(--mono);font-size:13px;color:var(--brass);font-weight:700}
.mobile-menu a:hover{color:var(--brass-br);padding-left:14px}
.mobile-menu .mm-foot{margin-top:40px;display:flex;flex-direction:column;gap:8px}

/* ---- Footer ---- */
.site-footer{background:var(--ink-2);border-top:1px solid var(--line-soft);position:relative;overflow:hidden}
.footer-mega{
  font-family:var(--display);font-weight:900;text-transform:uppercase;line-height:.8;
  font-size:clamp(3.5rem,17vw,16rem);color:transparent;-webkit-text-stroke:1px rgba(243,239,231,.09);
  text-align:center;padding-block:clamp(20px,4vw,60px) 0;user-select:none;letter-spacing:-.01em;
}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:48px;padding-block:64px}
.footer-grid h4{font-family:var(--mono);font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:22px;font-weight:700}
.footer-grid li{margin-bottom:12px}
.footer-grid a{color:var(--bone-2);transition:color .3s;font-size:15px}
.footer-grid a:hover{color:var(--brass-br)}
.footer-grid p{color:var(--bone-2);font-size:15px;line-height:1.7}
.footer-bottom{border-top:1px solid var(--line-soft);padding-block:26px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.footer-bottom span{font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;color:var(--muted-2);text-transform:uppercase}
.socials{display:flex;gap:12px}
.socials a{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--bone-2);transition:.3s}
.socials a:hover{border-color:var(--brass);color:var(--brass-br);transform:translateY(-2px)}

/* ---- Marquee ---- */
.marquee{overflow:hidden;border-block:1px solid var(--line-soft);background:var(--ink-2)}
.marquee-track{display:flex;gap:2.5rem;align-items:center;width:max-content;animation:scroll-x 38s linear infinite;padding-block:20px}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-item{font-family:var(--display);font-weight:800;text-transform:uppercase;font-size:clamp(1.4rem,3vw,2.2rem);color:var(--bone);white-space:nowrap;letter-spacing:.01em}
.marquee-item.ghost{color:transparent;-webkit-text-stroke:1px var(--muted-2)}
.marquee-dot{width:9px;height:9px;background:var(--brass);border-radius:50%;flex-shrink:0}
@keyframes scroll-x{to{transform:translateX(-50%)}}

/* ---- Images ---- */
.responsive-image{display:block;width:100%;height:100%;object-fit:cover;background:var(--ink-3)}
.responsive-image--circle{border-radius:50%}
.media-tag{
  position:absolute;left:16px;bottom:16px;z-index:3;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--bone);background:rgba(10,10,11,.5);backdrop-filter:blur(6px);
  padding:7px 12px;border:1px solid var(--line);pointer-events:none;
}
.media-wrap{position:relative;overflow:hidden}
.media-wrap .scrim{position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(to top,rgba(10,10,11,.85),transparent 55%)}

/* ---- Reveal animation ---- */
[data-reveal]{opacity:0;transform:translateY(28px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
[data-reveal].in{opacity:1;transform:none}
[data-reveal][data-delay="1"]{transition-delay:.08s}
[data-reveal][data-delay="2"]{transition-delay:.16s}
[data-reveal][data-delay="3"]{transition-delay:.24s}
[data-reveal][data-delay="4"]{transition-delay:.32s}
[data-reveal][data-delay="5"]{transition-delay:.4s}
@media (prefers-reduced-motion:reduce){
  [data-reveal]{opacity:1;transform:none;transition:none}
  .marquee-track{animation:none}
}

/* ---- Cards / utilities ---- */
.card{background:var(--ink-3);border:1px solid var(--line-soft);transition:border-color .4s,transform .4s var(--ease),background .4s}
.card:hover{border-color:var(--line);transform:translateY(-4px)}
.tag-row{display:flex;flex-wrap:wrap;gap:8px}
.tag{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--bone-2);
  border:1px solid var(--line);padding:6px 12px;border-radius:2px}
.num-ghost{font-family:var(--display);font-weight:900;font-size:clamp(3rem,6vw,5.5rem);color:transparent;-webkit-text-stroke:1px var(--line);line-height:.8}

.eyebrow-row{display:flex;align-items:baseline;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:clamp(32px,5vw,64px)}

/* ---- Page hero (inner pages) ---- */
.page-hero{padding-top:clamp(140px,18vh,220px);padding-bottom:clamp(48px,7vh,96px);position:relative}
.page-hero .display-lg{margin-block:18px 22px}

/* ---- Stats ---- */
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line-soft);border-block:1px solid var(--line-soft)}
.stat{background:var(--ink);padding:38px clamp(16px,3vw,40px)}
.stat .n{font-family:var(--display);font-weight:900;font-size:clamp(2.6rem,5vw,4.4rem);line-height:.9;color:var(--bone)}
.stat .n em{color:var(--brass-br);font-style:normal}
.stat .l{font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:12px}

/* ---- Accordion ---- */
.acc-item{border-bottom:1px solid var(--line-soft)}
.acc-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;text-align:left}
.acc-head h3{font-size:clamp(1.2rem,2vw,1.6rem);font-weight:700;transition:color .3s}
.acc-head:hover h3{color:var(--brass-br)}
.acc-icon{width:30px;height:30px;flex-shrink:0;position:relative}
.acc-icon::before,.acc-icon::after{content:'';position:absolute;background:var(--brass);transition:transform .4s var(--ease)}
.acc-icon::before{top:50%;left:0;right:0;height:1.5px;transform:translateY(-50%)}
.acc-icon::after{left:50%;top:0;bottom:0;width:1.5px;transform:translateX(-50%)}
.acc-item.open .acc-icon::after{transform:translateX(-50%) scaleY(0)}
.acc-body{max-height:0;overflow:hidden;transition:max-height .5s var(--ease)}
.acc-body-inner{padding-bottom:26px;color:var(--bone-2);max-width:60ch}

/* ---- Forms ---- */
.field{display:flex;flex-direction:column;gap:9px;margin-bottom:22px}
.field label{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.field input,.field select,.field textarea{
  background:var(--ink-3);border:1px solid var(--line);color:var(--bone);
  padding:15px 16px;border-radius:2px;font-family:var(--body);font-size:15px;transition:border-color .3s,background .3s;
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--brass);background:var(--ink-4)}
.field textarea{resize:vertical;min-height:130px}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-2)}

/* ---- Responsive ---- */
@media (max-width:980px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
  .stat-row{grid-template-columns:1fr 1fr}
}
@media (max-width:820px){
  .nav-links,.nav-cta .btn{display:none}
  .burger{display:flex}
}
@media (max-width:560px){
  body{font-size:16px}
  .footer-grid{grid-template-columns:1fr}
  .stat-row{grid-template-columns:1fr 1fr}
}
