/* ============================================================
   BFM Collective — Built for the Moment
   Aesthetic: bold Helvetica, pure black/white/gray,
   stacked sticky panels with folded top-right corners.
   ============================================================ */

:root{
  --black:#0a0a0a;
  --white:#ffffff;
  --gray:#e6e6e4;      /* light panel */
  --gray-ink:#111111;
  --muted:#8a8a8a;
  --fold:64px;         /* size of the folded corner */
  --sans:'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--sans);
  color:var(--black);
  background:var(--black);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{ color:inherit; text-decoration:none; }

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px clamp(20px,4vw,56px);
  mix-blend-mode:difference;         /* auto-inverts over black & white */
  color:#fff;
}
.nav-mark{ font-weight:700; font-size:clamp(15px,1.4vw,18px); letter-spacing:-0.01em; }
.nav-links{ display:flex; gap:clamp(16px,2vw,34px); }
.nav-links a{ font-weight:600; font-size:14px; letter-spacing:0.01em; }
.nav-links a:hover{ opacity:0.6; }
.nav-links a.is-active{
  text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:2px;
}

/* ---------- STACKED PANELS ---------- */
.stack{ position:relative; }
.panel{
  position:sticky; top:0;
  min-height:100vh;
  display:flex; align-items:center;
  padding:clamp(88px,12vh,140px) clamp(20px,4vw,56px) clamp(48px,8vh,88px);
  overflow:hidden;
}
.panel--light{ background:var(--white); color:var(--black); }
.panel--dark{ background:var(--black); color:var(--white); }
.panel--gray{ background:var(--gray); color:var(--gray-ink); }

/* folded top-right corner — reveals the panel stacked behind */
.fold{
  clip-path:polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%);
}

.panel-inner{ width:100%; max-width:1400px; margin:0 auto; }

/* ---------- MEGA HEADLINES ---------- */
.mega{
  font-weight:700;
  font-size:clamp(3.4rem, 13vw, 12rem);
  line-height:0.9;
  letter-spacing:-0.035em;
}
.mega--edge{ margin-left:-0.06em; }   /* optical bleed toward the edge */

/* ---------- HERO ---------- */
.panel--hero{ background:var(--white); color:var(--black); align-items:stretch; }
.hero-grid{
  width:100%; max-width:1500px; margin:auto;
  display:grid; grid-template-columns:1fr 1.15fr; gap:clamp(28px,4vw,72px);
  align-items:center;
}
.hero-photo{ height:min(78vh,760px); }
.hero-head{
  font-weight:700;
  font-size:clamp(2rem, 4.4vw, 4.6rem);
  line-height:1.02; letter-spacing:-0.03em;
}
.hero-sub{
  margin-top:clamp(20px,3vh,34px);
  font-size:clamp(1.05rem,1.5vw,1.5rem);
  line-height:1.35; font-weight:500; max-width:46ch;
}
.hero-tags{ display:flex; gap:10px; margin-top:34px; }
.hero-tags span{
  font-size:12px; font-weight:700; letter-spacing:0.08em;
  border:1.5px solid var(--black); border-radius:999px;
  padding:7px 15px;
}

/* ---------- SERVICES (Build with Us) ---------- */
.services{
  margin-top:clamp(48px,7vh,90px);
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(28px,4vw,64px);
}
.service h3{ font-size:clamp(1.4rem,2vw,2rem); font-weight:700; letter-spacing:-0.01em; }
.service p{ margin-top:16px; font-size:1.05rem; line-height:1.45; color:#cfcfcf; max-width:34ch; }
.service-status{
  display:inline-block; margin-top:20px;
  font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
}
.service-status--live{ color:#fff; }
.service-status--live::before{ content:"● "; }
.service-status--soon{ color:var(--muted); }
.service-status--soon::before{ content:"○ "; }

/* ---------- ABOUT ---------- */
.about-grid{
  margin-top:clamp(32px,5vh,64px);
  display:grid; grid-template-columns:1.4fr 0.9fr; gap:clamp(32px,4vw,80px);
  align-items:start;
}
.about-lead{ font-size:clamp(1.6rem,2.6vw,2.6rem); font-weight:700; line-height:1.08; letter-spacing:-0.02em; }
.about-body{ margin-top:26px; font-size:1.15rem; line-height:1.5; max-width:52ch; }
.about-creds{ margin-top:26px; font-size:1.05rem; font-weight:600; }
.about-photo{ height:min(60vh,560px); }

/* ---------- ROSTER (Meet our Athletes) ---------- */
.roster{
  margin-top:clamp(40px,6vh,80px);
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.4vw,36px);
}
.roster-photo{ aspect-ratio:3/4; }
.roster-info{ margin-top:16px; }
.roster-info h3{ font-size:1.4rem; font-weight:700; }
.roster-info p{ margin-top:6px; font-size:0.98rem; color:#555; }
.roster-note{ margin-top:34px; font-size:0.95rem; color:#666; }

/* ---------- SOCIAL ---------- */
.socials{ display:flex; gap:18px; margin-top:clamp(40px,6vh,72px); }
.social-dot{
  width:64px; height:64px; border-radius:999px;
  background:var(--black); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:1.1rem;
  transition:transform .18s ease;
}
.social-dot:hover{ transform:translateY(-4px); }

/* ---------- FOOTER / CONTACT ---------- */
.panel--footer{ align-items:stretch; flex-direction:column; justify-content:center; }
.footer-grid{
  width:100%; max-width:1400px; margin:0 auto;
  display:grid; grid-template-columns:1.3fr 0.9fr; gap:clamp(40px,6vw,100px);
  align-items:start;
}
.footer-head{ font-weight:700; font-size:clamp(2.4rem,5vw,4.4rem); line-height:0.95; letter-spacing:-0.03em; }
.footer-sub{ margin-top:22px; font-size:1.15rem; line-height:1.45; max-width:42ch; color:#dcdcdc; }

.signup{ margin-top:36px; display:grid; gap:14px; max-width:440px; }
.signup input{
  width:100%; padding:18px 20px; font-family:inherit; font-size:1rem;
  border:none; border-radius:2px; background:#fff; color:#111;
}
.signup input::placeholder{ color:#9a9a9a; }
.signup button{
  padding:18px 20px; font-family:inherit; font-size:0.95rem; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase; cursor:pointer;
  background:#fff; color:#0a0a0a; border:1.5px solid #fff; border-radius:2px;
  transition:background .18s ease, color .18s ease;
}
.signup button:hover{ background:transparent; color:#fff; }
.hidden-field{ display:none; }

.footer-contact h3{ font-size:1.5rem; font-weight:700; margin-bottom:20px; }
.footer-email{ font-size:1.2rem; text-decoration:underline; text-underline-offset:4px; }
.footer-email:hover{ opacity:0.65; }
.footer-phone{ margin-top:14px; font-size:1.2rem; }

.footer-legal{
  width:100%; max-width:1400px; margin:clamp(48px,8vh,90px) auto 0;
  display:flex; justify-content:space-between;
  font-size:12px; letter-spacing:0.04em; color:#777;
  border-top:1px solid #2a2a2a; padding-top:22px;
}

/* ---------- PHOTO PLACEHOLDERS ----------
   Styled to look intentional in a B&W editorial layout.
   To use a real image, either drop a file into /images and
   set it as a background here, or replace the <div class="photo">
   with <img src="images/your-photo.jpg" alt="...">.
------------------------------------------------------------ */
.photo{
  position:relative; width:100%;
  background:
    repeating-linear-gradient(45deg, #1a1a1a 0 1px, transparent 1px 18px),
    linear-gradient(135deg,#2b2b2b,#0d0d0d);
  overflow:hidden;
}
.panel--gray .photo, .panel--light .photo{
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 18px),
    linear-gradient(135deg,#d3d3d0,#bcbcb8);
}
.photo::after{
  content:attr(data-label);
  position:absolute; left:16px; bottom:14px;
  font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  border:1px solid rgba(255,255,255,0.4); padding:5px 9px; border-radius:2px;
}
.panel--gray .photo::after, .panel--light .photo::after{
  color:rgba(0,0,0,0.45); border-color:rgba(0,0,0,0.3);
}

/* ---------- SERVICES PAGE ---------- */
.lead-sub{
  margin-top:clamp(18px,3vh,28px);
  font-size:clamp(1.1rem,1.7vw,1.6rem);
  line-height:1.3; font-weight:500; color:#555; max-width:34ch;
}
.svc-grid{
  margin-top:clamp(52px,8vh,96px);
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(36px,3.4vw,64px) clamp(28px,3vw,56px);
}
.svc-icon{
  width:66px; height:66px; border-radius:999px;
  border:1.6px solid var(--black);
  display:flex; align-items:center; justify-content:center;
}
.svc-icon svg{ width:28px; height:28px; }
.svc-card h3{
  margin-top:24px; font-size:clamp(1.25rem,1.7vw,1.7rem);
  font-weight:700; letter-spacing:-0.01em; text-transform:uppercase;
}
.svc-card p{
  margin-top:14px; font-size:1.02rem; line-height:1.5; color:#555; max-width:38ch;
}
.svc-note{
  margin-top:clamp(48px,7vh,80px); font-size:0.98rem; font-weight:600; color:#444;
  border-top:1px solid #dcdcd8; padding-top:22px;
}

/* Services grid is taller than one viewport, so this panel can't use the
   sticky/overflow-hidden stacking effect the other panels use — let it flow normally. */
#services-top{ position:relative; min-height:auto; overflow:visible; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  :root{ --fold:44px; }
  .panel{ min-height:auto; padding:100px clamp(18px,5vw,28px) 64px; position:relative; }
  .hero-grid{ grid-template-columns:1fr; gap:28px; }
  .hero-photo{ height:52vh; order:2; }
  .hero-copy{ order:1; }
  .services{ grid-template-columns:1fr; gap:32px; }
  .about-grid{ grid-template-columns:1fr; }
  .about-photo{ height:56vh; order:-1; }
  .roster{ grid-template-columns:1fr 1fr; }
  .svc-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:40px; }
  .nav-links a[href="#about"]{ display:none; }
}
@media (max-width:520px){
  .roster{ grid-template-columns:1fr; }
  .svc-grid{ grid-template-columns:1fr; }
  .footer-legal{ flex-direction:column; gap:8px; }
  .nav-mark{ max-width:60%; }
}

/* ---------- MOTION PREFERENCE ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .panel{ position:relative; }
  .social-dot{ transition:none; }
}
