@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#050304;
  --panel:#10070a;
  --panel2:#180a0f;
  --red:#be2032;
  --red2:#e23a4a;
  --gold:#d6a754;
  --gold2:#f0d08b;
  --cream:#f6ece2;
  --muted:#d9c2bc;
  --line:rgba(226,58,74,.22);
  --goldLine:rgba(240,208,139,.24);
  --shadow:0 28px 90px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--cream);
  font-family:Inter,system-ui,sans-serif;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(circle at 14% 10%,rgba(226,58,74,.16),transparent 30%),
    radial-gradient(circle at 86% 4%,rgba(214,167,84,.10),transparent 28%),
    linear-gradient(180deg,#060304,#0b0507 45%,#030203);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.loader{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  align-content:center;
  background:#050304;
  transition:opacity .7s ease, visibility .7s ease;
}
.loader.hide{opacity:0;visibility:hidden}
.loader-mark{
  width:118px;
  height:118px;
  border-radius:34px;
  display:grid;
  place-items:center;
  font:800 62px Cinzel,serif;
  color:var(--gold2);
  border:1px solid var(--goldLine);
  background:linear-gradient(145deg,#16080c,#070304);
  box-shadow:0 0 0 12px rgba(190,32,50,.08),0 0 48px rgba(226,58,74,.22);
}
.loader p{
  margin:18px 0 0;
  font:700 14px Cinzel,serif;
  letter-spacing:.26em;
}

.site-header{
  position:sticky;
  top:0;
  z-index:60;
  min-height:76px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
  padding:14px clamp(18px,4vw,72px);
  background:rgba(5,3,4,.82);
  border-bottom:1px solid rgba(226,58,74,.16);
  backdrop-filter:blur(18px);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand img{
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid var(--goldLine);
}
.brand span{
  font:800 22px Cinzel,serif;
  letter-spacing:.04em;
  color:var(--gold2);
  white-space:nowrap;
}
.desktop-nav{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:26px;
}
.desktop-nav a{
  font-weight:800;
  color:#dec8c2;
}
.desktop-nav a:hover{color:var(--gold2)}
.header-cta{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--red2),#7e111c);
  color:#fff;
  font-weight:900;
  box-shadow:0 14px 34px rgba(226,58,74,.22);
}

.hero{
  position:relative;
  min-height:calc(100vh - 76px);
  overflow:hidden;
  display:grid;
  place-items:center;
  padding:clamp(28px,5vw,68px) clamp(18px,5vw,72px);
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:-3;
  background:url('assets/montaire-brand.jpg') center/cover no-repeat;
  filter:saturate(1.08) contrast(1.06);
}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(5,3,4,.94) 0%,rgba(5,3,4,.70) 40%,rgba(5,3,4,.36) 68%,rgba(5,3,4,.78) 100%),
    linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.78));
}
.hero-inner{
  width:min(1320px,100%);
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);
  gap:28px;
  align-items:center;
}
.hero-copy{
  min-width:0;
  padding:34px;
  border-radius:32px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(190,32,50,.12),rgba(255,255,255,.03));
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}
.eyebrow{
  margin:0 0 14px;
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.hero-copy h1{
  margin:0 0 20px;
  font:800 clamp(48px,6vw,92px)/.95 Cinzel,serif;
  letter-spacing:.02em;
  color:var(--cream);
  text-shadow:0 12px 38px rgba(0,0,0,.72);
  overflow-wrap:break-word;
}
.lead{
  margin:0;
  max-width:640px;
  color:#ead6cf;
  font-size:18px;
  line-height:1.76;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}
.btn{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border-radius:999px;
  font-weight:900;
  transition:transform .2s ease, filter .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn.primary{
  background:linear-gradient(135deg,var(--red2),#7e111c);
  color:#fff;
  box-shadow:0 16px 38px rgba(226,58,74,.24);
}
.btn.secondary{
  color:var(--gold2);
  border:1px solid var(--goldLine);
  background:rgba(8,5,7,.72);
}
.hero-card{
  overflow:hidden;
  border:1px solid var(--goldLine);
  border-radius:34px;
  background:#090507;
  box-shadow:var(--shadow);
}
.hero-card img{
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
}

.quick-links{
  width:min(1180px,calc(100% - 36px));
  margin:-42px auto 0;
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.quick-links a{
  display:grid;
  grid-template-columns:52px 1fr;
  column-gap:14px;
  row-gap:3px;
  align-items:center;
  min-height:92px;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(12,6,8,.92);
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
}
.quick-links img{
  grid-row:1 / span 2;
  width:52px;
  height:52px;
  border-radius:16px;
  border:1px solid var(--goldLine);
}
.quick-links strong{font-size:17px}
.quick-links span{color:#bfa9a2;font-weight:700}

.section{
  padding:86px clamp(18px,5vw,72px) 34px;
}
.section-head{
  max-width:860px;
  margin:0 auto 34px;
  text-align:center;
}
.section-head h2,
.member-panel h2,
.contact-section h2{
  margin:0 0 14px;
  font-family:Cinzel,serif;
  line-height:1;
  background:linear-gradient(90deg,#fff6ee 0%,#d6a754 45%,#fff0df 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.section-head h2{
  font-size:clamp(40px,6vw,76px);
}
.section-head p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.72;
}
.sponsor-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  width:min(1320px,100%);
  margin:0 auto;
}
.sponsor-card{
  position:relative;
  overflow:hidden;
  min-height:420px;
  border-radius:28px;
  border:1px solid var(--line);
  background:#090507;
  box-shadow:var(--shadow);
}
.sponsor-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.sponsor-card:hover img{transform:scale(1.04)}
.sponsor-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(5,3,4,.08),rgba(5,3,4,.92));
  pointer-events:none;
}
.sponsor-info{
  position:absolute;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:2;
}
.status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(5,3,4,.70);
  border:1px solid var(--goldLine);
  color:#82eec8;
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.14em;
  font-weight:900;
}
.status::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#82eec8;
  box-shadow:0 0 16px #82eec8;
}
.sponsor-info h3{
  margin:14px 0 6px;
  font:700 clamp(28px,3vw,42px) Cinzel,serif;
}
.tier{
  margin:0 0 8px;
  color:var(--gold2);
  font-weight:900;
}
.bonus{
  margin:0 0 16px;
  color:#e2cbc4;
  line-height:1.6;
}
.sponsor-info .btn{
  min-height:46px;
  padding:0 18px;
  font-size:14px;
}

.member-section{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  width:min(1320px,calc(100% - 36px));
  margin:0 auto;
  padding:34px 0;
}
.member-panel{
  padding:34px;
  border-radius:28px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(190,32,50,.09),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}
.member-panel h2{
  font-size:clamp(30px,4vw,54px);
  overflow-wrap:break-word;
}
.member-panel p:not(.eyebrow){
  margin:0;
  color:var(--muted);
  line-height:1.72;
  font-size:17px;
}

.contact-section{
  width:min(1320px,calc(100% - 36px));
  margin:34px auto;
  padding:34px;
  border-radius:30px;
  border:1px solid var(--goldLine);
  background:linear-gradient(145deg,rgba(190,32,50,.10),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.contact-section h2{
  font-size:clamp(34px,5vw,64px);
}
.contact-section p:not(.eyebrow){
  margin:0;
  color:var(--muted);
  line-height:1.72;
  font-size:17px;
  max-width:760px;
}

.site-footer{
  width:min(1320px,calc(100% - 36px));
  margin:0 auto 28px;
  padding:26px 28px;
  border-radius:26px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(190,32,50,.08),rgba(255,255,255,.02));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.site-footer strong{
  display:block;
  font:700 30px Cinzel,serif;
}
.site-footer span{
  display:block;
  margin-top:6px;
  color:#cdb1aa;
}
.site-footer nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.site-footer nav a{
  font-weight:800;
  color:#e3cbc4;
}
.mobile-dock{display:none}

.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .75s ease,transform .75s ease;
}
.reveal.visible{
  opacity:1;
  transform:none;
}

@media (max-width:1100px){
  .site-header{
    grid-template-columns:auto auto;
    justify-content:space-between;
  }
  .desktop-nav{display:none}
  .hero-inner{
    grid-template-columns:1fr;
  }
  .hero-card{order:-1}
  .quick-links{
    grid-template-columns:1fr;
    margin-top:18px;
  }
  .sponsor-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .member-section{
    grid-template-columns:1fr;
  }
  .contact-section,
  .site-footer{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:640px){
  .site-header{
    padding:12px 16px;
  }
  .brand span{
    font-size:18px;
  }
  .brand img{
    width:40px;
    height:40px;
  }
  .header-cta{
    min-height:40px;
    padding:0 14px;
    font-size:14px;
  }
  .hero{
    padding:22px 16px;
    min-height:auto;
  }
  .hero-copy{
    padding:24px;
    border-radius:24px;
  }
  .hero-copy h1{
    font-size:42px;
    line-height:1;
  }
  .lead,
  .section-head p,
  .member-panel p:not(.eyebrow),
  .contact-section p:not(.eyebrow){
    font-size:16px;
  }
  .hero-card{
    border-radius:24px;
  }
  .hero-card img{
    aspect-ratio:16/11;
  }
  .section{
    padding:58px 16px 26px;
  }
  .sponsor-grid{
    grid-template-columns:1fr;
  }
  .sponsor-card{
    min-height:380px;
  }
  .member-section,
  .contact-section,
  .site-footer{
    width:calc(100% - 32px);
  }
  .member-panel,
  .contact-section{
    padding:24px;
  }
  .member-panel h2{
    font-size:32px;
  }
  .contact-section h2{
    font-size:36px;
  }
  .site-footer{
    margin-bottom:92px;
  }
  .mobile-dock{
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:70;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    padding:8px;
    border:1px solid var(--line);
    border-radius:22px;
    background:rgba(5,3,4,.92);
    backdrop-filter:blur(16px);
  }
  .mobile-dock a{
    text-align:center;
    padding:10px 4px;
    border-radius:14px;
    background:rgba(255,255,255,.035);
    font-size:12px;
    font-weight:900;
  }
}


/* Header brand visual update */
.brand{
  gap:14px;
}
.brand-visual{
  display:block;
  width:84px;
  height:52px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--goldLine);
  background:#0b0507;
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  flex:0 0 auto;
}
.brand-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.brand-title{
  font:800 22px Cinzel,serif;
  letter-spacing:.04em;
  color:var(--gold2);
  white-space:nowrap;
}
@media (max-width:640px){
  .brand-visual{
    width:70px;
    height:44px;
    border-radius:12px;
  }
  .brand-title{
    font-size:17px;
  }
}


/* Final header logo fix */
.brand-visual{
  display:block!important;
  width:56px!important;
  height:56px!important;
  border-radius:16px!important;
  overflow:hidden!important;
  border:1px solid var(--goldLine)!important;
  background:#0b0507!important;
  flex:0 0 auto!important;
  box-shadow:0 10px 24px rgba(0,0,0,.28)!important;
}
.brand-visual img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#0b0507!important;
}
.brand-title{
  display:block!important;
  font:800 22px Cinzel,serif!important;
  letter-spacing:.04em!important;
  color:var(--gold2)!important;
  white-space:nowrap!important;
}
@media (max-width:640px){
  .brand-visual{
    width:46px!important;
    height:46px!important;
    border-radius:14px!important;
  }
  .brand-title{
    font-size:17px!important;
  }
}


/* True brand visual fix */
.brand{
  gap:14px;
}
.brand-visual{
  display:block!important;
  width:110px!important;
  height:58px!important;
  border-radius:14px!important;
  overflow:hidden!important;
  border:1px solid var(--goldLine)!important;
  background:#0b0507!important;
  box-shadow:0 10px 24px rgba(0,0,0,.28)!important;
  flex:0 0 auto!important;
}
.brand-visual img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  border:none!important;
  border-radius:0!important;
  max-width:none!important;
}
.brand-title{
  display:block!important;
  font:800 22px Cinzel,serif!important;
  letter-spacing:.04em!important;
  color:var(--gold2)!important;
  white-space:nowrap!important;
}
.quick-links img{
  object-fit:cover!important;
  object-position:center!important;
}
@media (max-width:640px){
  .brand-visual{
    width:84px!important;
    height:46px!important;
    border-radius:12px!important;
  }
  .brand-title{
    font-size:17px!important;
  }
}
