/* ============================================
   BMW SERVICE MIAMI — NSL COLLECTIVE
   Editorial blurb sections: oversized headings
   tucked behind a content panel
   ============================================ */

:root {
  --nsl-blue: #2e9be6;
}

/* ============================================
   HERO
   ============================================ */
.nsl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 4rem;
  overflow: hidden;
  background: #000;
}
.nsl-hero::before {
  content: '';
  position: absolute;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  width: 130vw;
  height: 95vh;
  background: radial-gradient(ellipse at 50% 38%,
    rgba(192,57,43,0.34) 0%,
    rgba(192,57,43,0.10) 38%,
    rgba(0,0,0,0) 66%);
  pointer-events: none;
}
.nsl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 72%);
  pointer-events: none;
}
.nsl-hero-content {
  position: relative;
  z-index: 2;
}
.nsl-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1.8rem;
}
.nsl-wordmark {
  display: flex;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(6rem, 21vw, 15rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.nsl-wordmark .nsl-n { color: #fff; }
.nsl-wordmark .nsl-s { color: var(--red-bright); }
.nsl-wordmark .nsl-l { color: var(--nsl-blue); }
.nsl-full-name {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 1.5rem;
}
.nsl-full-name span { color: #fff; font-weight: 500; }
.nsl-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 2rem auto 2.6rem;
}
.nsl-hero-btns {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.nsl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.nsl-btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.nsl-btn-red:hover {
  background: transparent;
  color: var(--red-bright);
}
.nsl-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.25);
}
.nsl-btn-ghost:hover {
  border-color: var(--nsl-blue);
  color: #fff;
}
.nsl-scroll {
  position: relative;
  z-index: 2;
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.nsl-scroll span {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nsl-scroll-bar {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red-bright), transparent);
}

/* hero entrance — CSS-only so content is never left hidden */
@keyframes nslHeroIn {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nsl-tag      { animation: nslHeroIn 0.9s cubic-bezier(.2,.7,.2,1) 0.20s both; }
.nsl-wordmark { animation: nslHeroIn 1s   cubic-bezier(.2,.7,.2,1) 0.34s both; }
.nsl-full-name{ animation: nslHeroIn 0.9s cubic-bezier(.2,.7,.2,1) 0.48s both; }
.nsl-tagline  { animation: nslHeroIn 0.9s cubic-bezier(.2,.7,.2,1) 0.60s both; }
.nsl-hero-btns{ animation: nslHeroIn 0.9s cubic-bezier(.2,.7,.2,1) 0.72s both; }
.nsl-scroll   { animation: nslHeroIn 0.9s cubic-bezier(.2,.7,.2,1) 0.86s both; }

@media (prefers-reduced-motion: reduce) {
  .nsl-tag, .nsl-wordmark, .nsl-full-name,
  .nsl-tagline, .nsl-hero-btns, .nsl-scroll { animation: none; }
}

/* ============================================
   BLURB BLOCKS
   ============================================ */
.nsl-block {
  --nsl-accent: var(--red);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 3rem;
  background: #000;
}
.nsl-block--blue { --nsl-accent: var(--nsl-blue); }

/* flipped — photo leads */
.nsl-block.is-flipped .nsl-block-photo { order: -1; }

/* photo */
.nsl-block-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 2px solid var(--nsl-accent);
  border-radius: 3px;
  overflow: hidden;
}
.nsl-block-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.nsl-block-photo:hover img { transform: scale(1.05); }
.nsl-block-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(0,0,0,0.55);
  pointer-events: none;
}

/* text column */
.nsl-block-text {
  display: flex;
  flex-direction: column;
}
.nsl-block-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nsl-accent);
  margin-bottom: 0.9rem;
}
.nsl-block-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--nsl-accent);
}

/* oversized heading — bottom tucks behind the panel */
.nsl-bigword {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: -0.19em;
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.nsl-bigword .accent { color: var(--nsl-accent); }

/* content panel — sits in front, covering the heading's lower edge */
.nsl-block-panel {
  position: relative;
  z-index: 1;
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.09);
  border-top: 2px solid var(--nsl-accent);
  border-radius: 0 0 4px 4px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.nsl-block-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1rem;
}
.nsl-block-heading em {
  font-style: italic;
  color: var(--nsl-accent);
}
.nsl-block-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.nsl-block-desc strong { color: rgba(255,255,255,0.85); font-weight: 500; }

/* third part — divided off with a rule */
.nsl-block-third {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* third — stat strip */
.nsl-stats {
  display: flex;
}
.nsl-stat {
  flex: 1;
  text-align: center;
  padding: 0 0.8rem;
}
.nsl-stat + .nsl-stat {
  border-left: 1px solid rgba(255,255,255,0.1);
}
.nsl-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--nsl-accent);
  line-height: 1;
}
.nsl-stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* third — quote */
.nsl-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  padding-left: 1.2rem;
  border-left: 3px solid var(--nsl-accent);
}

/* third — instagram link */
.nsl-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--nsl-accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nsl-ig-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.nsl-ig-arrow { transition: transform 0.3s ease; }
.nsl-ig-link:hover {
  background: var(--nsl-accent);
  color: #fff;
}
.nsl-ig-link:hover .nsl-ig-arrow { transform: translateX(4px); }

/* ============================================
   CONTACT STRIP
   ============================================ */
.nsl-contact {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 4.5rem 3rem;
  text-align: center;
}
.nsl-contact-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1rem;
}
.nsl-contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
}
.nsl-contact-addr {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2rem;
}
.nsl-contact-addr a { color: var(--nsl-blue); }
.nsl-contact-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .nsl-block {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 4rem 1.5rem;
  }
  .nsl-block-photo,
  .nsl-block.is-flipped .nsl-block-photo { order: -1; }
  .nsl-block-photo { aspect-ratio: 4 / 3; }
  .nsl-hero { padding: 7rem 1.5rem 4rem; }
}

@media (max-width: 480px) {
  .nsl-stats { flex-wrap: wrap; gap: 1.2rem 0; }
  .nsl-stat { flex: 1 1 33%; }
  .nsl-hero-btns { width: 100%; }
  .nsl-btn { flex: 1 1 auto; justify-content: center; }
}
