/* =====================================================
   XFIT Kinetic Intensity — Shared CSS
   ===================================================== */

/* ---------- Diagonal clip-path helpers ---------- */
.diagonal-clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}
.diagonal-clip-top {
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Material Symbols defaults ---------- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ---------- Mobile nav drawer ---------- */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.5);
}
#mobile-menu.open {
  display: block;
}
#mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
#mobile-menu.open #mobile-drawer {
  transform: translateX(0);
}
.mobile-nav-link {
  display: block;
  padding: 12px 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-link:hover {
  color: #FF0000;
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-bottom: 8px;
}

/* ---------- Scroll shadow on header ---------- */
header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

/* ---------- Smooth scroll ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- Max-width content wrapper ---------- */
/* Use inside any section to constrain content to 1440px while
   letting the section background bleed to 100% viewport width.
   Mobile padding (24px) is baked in — always safe even if class is forgotten.
   Add md:px-margin-desktop (64px) in HTML for desktop override. */
.content-wrap {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Typography defaults ---------- */
/* Font-family defaults for h and p tags — safety net so pages are never
   rendered in the browser default serif even if Tailwind classes are missed.
   Always still pair font-* and text-* classes in HTML for full type scale. */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
}
p {
  font-family: 'Hanken Grotesk', sans-serif;
}

/* ---------- Showcase / Kinetic page helpers ---------- */
.kinetic-border {
  border-left: 4px solid #bc0100;
}
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 229, 229, 0.5);
}
.custom-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---------- Responsive image safeguard ---------- */
img {
  max-width: 100%;
}
