/* ============================================================
   818 Business Solutions — Our Clients
   Page-specific styles. Loads after 818-home.css + 818-interior.css,
   which already provide: design tokens, .eyebrow, .glass-cta, the nav /
   footer / mnav chrome, the eclipse cursor, the shared keyframes
   (navDrop / heroRise / ctaIn / marqueeMove), the animated
   .partner-marquee + .partner-slot logo row (reused verbatim here), and
   every @media (max-width: 980px) override for .hero-* / .nav-* /
   .footer-* / .partner-slot.

   Namespaced `cl-` so nothing collides with 818-interior.css, which owns
   .logo-wall / .logo-cell from the previous interior version of this page.
   ============================================================ */

/* ---- Nav overlaid on the video hero (opt-in via $nav_overlay) ---- */
.top-nav--overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  animation: navDrop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---- Gold gradient ring on the glass CTA ---- */
.glass-cta-ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  padding: 1.4px;
  background: linear-gradient(
    rgba(198,168,119,0.95) 0%, rgba(198,168,119,0.4) 22%,
    rgba(198,168,119,0.1) 45%, rgba(198,168,119,0.1) 60%,
    rgba(198,168,119,0.4) 80%, rgba(198,168,119,0.95) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============================== HERO ============================== */
.cl-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b1320;
  padding: 84px 24px 0;
  box-sizing: border-box;
}
.cl-hero .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.cl-hero-scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,19,32,0.42) 0%, rgba(11,19,32,0.18) 38%, rgba(11,19,32,0.62) 100%);
}
.cl-hero-inner {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  max-width: 960px;
  text-align: center;
}
.cl-hero-eyebrow {
  margin: 0 0 28px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #C4A671;
  animation: heroRise 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.cl-hero-h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f1 55%, rgba(247,243,236,0.72) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-wrap: balance;
  animation: heroRise 1s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
.cl-hero-lead {
  margin: 0 0 44px;
  max-width: 540px;
  font-size: 16px; line-height: 1.62;
  color: rgba(235,231,216,0.7);
  text-wrap: pretty;
  animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}
.cl-hero-cta {
  min-height: 54px;
  display: flex; align-items: center; justify-content: center;
  animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.5s both;
}
.cl-cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  padding: 15px 42px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(247,243,236,0.92);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: none; border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.cl-cta:hover {
  color: rgba(247,243,236,0.92);
  background-color: rgba(198,168,119,0.12);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 0 24px rgba(198,168,119,0.2);
}
.cl-cta:active { transform: translateY(1px); }
.cl-hero-explore {
  margin-top: 36px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(247,243,236,0.66);
  text-decoration: none;
  transition: color 0.3s;
  animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.7s both;
}
.cl-hero-explore:hover { color: var(--gold-400, #C6A877); }

/* ============================== LOGO WALL ============================== */
.cl-section {
  position: relative;
  padding: 150px 0 130px;
  background: #05080F;
  border-top: 1px solid rgba(235,231,216,0.08);
  overflow: hidden;
}
.cl-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6vw;
  box-sizing: border-box;
}
.cl-ghost {
  position: absolute; top: 30px; left: -1vw;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(140px, 20vw, 300px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(235,231,216,0.05);
  user-select: none; pointer-events: none;
  white-space: nowrap;
}
/* Eyebrow + heading stack, left-aligned (matches the comp). */
.cl-head { margin-bottom: 64px; }
.cl-h2 {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.14;
  color: #EBE7D8;
  max-width: 620px;
  text-wrap: balance;
}

/* Marquee band — the .partner-marquee track + .partner-slot logos and their
   38s/32s animation live in 818-home.css and are reused as-is. */
.cl-logowall {
  overflow: hidden;
  border-top: 1px solid rgba(235,231,216,0.1);
  border-bottom: 1px solid rgba(235,231,216,0.1);
  padding: 30px 0;
}
.cl-logo-copy { display: flex; align-items: center; }

/* Discretion note under the wall */
.cl-note {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin-top: 56px;
}
.cl-note p {
  margin: 0;
  font-size: 14px; line-height: 1.6;
  color: rgba(235,231,216,0.5);
  text-align: center;
  text-wrap: pretty;
}
.cl-note-diamond {
  width: 5px; height: 5px;
  border: 1px solid rgba(198,168,119,0.8);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================== MOBILE ============================== */
@media (max-width: 980px) {
  .cl-hero { height: 100svh; min-height: 620px; padding: 96px 24px 0; }

  #clients { padding: 96px 0 !important; }
  .cl-head { padding: 0; margin-bottom: 44px; }
  .cl-ghost { font-size: 84px !important; }

  /* .partner-slot mobile sizing (150x72) already comes from 818-home.css */
  .cl-note { padding: 0 24px; }
}
