     /* Filler sections so you can see the pin behaviour */
      .filler {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 24px;
        text-align: center;
      }

      /* --- Borough scroller --- */
      .bs-section {
        position: relative;
        /* 1 pinned viewport + one short scroll-step per borough (≈1 wheel gesture each) */
        height: calc(100vh + 8 * 22vh);
      }
      .bs-sticky {
        position: sticky;
        top: 0;
        height: 100vh;
        width: 100%;
        overflow: hidden;
        background: var(--ink);
        color: var(--cream);
      }
      .bs-cream-strip {
        position: absolute;
        inset: 0 0 auto 0;
        height: 20%;
        background: var(--cream);
      }
.bs-title {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 10;
    margin: 0;
    padding: 0 5vw;
    /* white-space: nowrap; */
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: -29.05;
    transform: translateY(-2vh);
    pointer-events: none;
    text-align: center;
    padding-top: 120px;
    background: #FBFBDA;
background: linear-gradient(to top, #FBFBDA 24%, #ABAB94 54%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: clamp(2rem, 20vw, 200px) !important;
word-break: break-word;
}
      .bs-grid {
        position: relative;
        z-index: 20;
        max-width: 100%;
        margin: 0 auto;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        gap: 32px;
        padding: 27vh 24px 6vh;
      }
      @media (min-width: 768px) {
        .bs-grid { grid-template-columns: 1fr 1fr; padding-top: 34vh; }
      }

      .bs-map { display: flex; align-items: center; justify-content: center; }
      @media (min-width: 768px) { .bs-map { justify-content: flex-start; } }
      .bs-map svg { height: 45vh; width: auto; }
      @media (min-width: 768px) { .bs-map svg { height: 62vh; max-width: 100%; } }
      .bs-map path {
        fill: var(--cream);
        fill-opacity: 0.04;
        stroke: var(--sage);
        stroke-opacity: 0.45;
        stroke-width: 1.25;
        transition: fill-opacity 400ms ease, stroke-opacity 400ms ease;
      }
      .bs-map path.is-active {
        fill-opacity: 0.35;
        stroke-opacity: 0.9;
      }

      .bs-right { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
      .bs-eyebrow { font-size: 1.125rem; font-weight: 100; margin: 0; }
      @media (min-width: 768px) { .bs-eyebrow { font-size: 1.5rem; color: white !important; } }
      .bs-names {
        position: relative;
        width: 100%;
        height: 1.1em;
        overflow: hidden;
        font-size: clamp(2.5rem, 6vw, 5rem);
      }
      .bs-names span {
        position: absolute;
        inset: 0;
        margin: 0;
        font-weight: 800;
        color: var(--sage);
        line-height: 1;
        opacity: 0;
        transform: translateY(100%);
        transition:
          transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
          opacity 400ms ease;
          font-family: "Mona Sans", sans-serif;
    text-transform: uppercase;
      }
      .bs-names span.is-active { transform: translateY(0); opacity: 1; }
      .bs-names span.is-past   { transform: translateY(-100%); opacity: 0; }

      .bs-call {
        margin-top: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 32px;
        border-radius: 8px;
        background: var(--cream);
        color: var(--ink);
        font: inherit;
        font-weight: 700;
        font-size: 1.125rem;
        text-decoration: none;
        transition: transform 200ms ease;
      }
      .bs-call:hover { transform: translateY(-2px); }

      .bs-dots { margin-top: 24px; display: flex; gap: 8px; }
      .bs-dots i {
        display: block;
        height: 6px;
        width: 32px;
        border-radius: 999px;
        background: var(--cream);
        opacity: 0.2;
        transition: opacity 300ms ease, background 300ms ease;
      }
      .bs-dots i.is-lit { background: var(--sage); opacity: 0.9; }



      /* Text Scroller */
      :root {
  --ink: #111827;
  --cream: #fbfada;
  --sage: #fbfbda;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-mono);
  background-color: #fbfada;
  color: var(--ink);
}

/* Base Sections */
.hero-section, .placeholder-section {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

.hero-section {
  /* min-height: 100vh; */
  /* display: flex;
  align-items: center; */
}

.tagline {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(17, 24, 39, 0.6);
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
}

.hero-description {
  margin-top: 1rem;
  color: rgba(17, 24, 39, 0.7);
}

/* Locked Out Scroller Styles */
.locked-out-section {
  position: relative;
  width: 100%;
}

.sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--ink);
  color: var(--cream);
}



/* Door SVG */
/* Sticky Section Container */
.locked-out-section {
  position: relative;
  width: 100%;
}

.sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--ink);
}

/* Door SVG */
.door-wrapper {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.door-svg {
  height: 85vh;
  width: auto;
  opacity: 0.9;
}

/* IMPORTANT: NO CSS TRANSITIONS ON GSAP ANIMATED ELEMENTS */
.door-leaf {
  will-change: transform;
}

#door-left-leaf {
  transform-origin: 140px 470px;
}

#door-right-leaf {
  transform-origin: 660px 470px;
}

/* Text Viewport & Row */
.text-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.text-row {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  padding-left: 8vw;
  padding-right: 8vw;
  gap: 3vw;
}

/* Typography & Clamp Fix */
.scroller-text {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--cream);
  font-size: clamp(3.5rem, 9vw, 10rem) !important;
  line-height: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background-color: #ff3624;
    padding: 1.2rem 2.2rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(20px, 2.5vw, 32px);
    transition: transform 200ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* Progress Bar */
.progress-container {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 3px;
  width: min(80vw, 720px);
  border-radius: 9999px;
  background-color: rgba(251, 250, 218, 0.15);
}

.progress-bar {
  height: 100%;
  border-radius: 9999px;
  background-color: var(--cream);
  width: 0%;
  will-change: width;
}






/* Stressed card*/
:root {
  --bg-color: #f7f5db;
  --text-color: #0d1b3e;
  --btn-red: #ff3b30;
}

/* Card Container Layout */
.hero-card {
  position: relative;
  width: 100%;
  min-height: 85vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  overflow: hidden;
}

/* ---------------- HEADER (STRESS LEVEL) ---------------- */
.card-header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 10;
}

.stress-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stress-label {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-color);
}

.ecg-box {
  width: 80px;
  height: 35px;
  overflow: hidden;
}

.ecg-svg {
  width: 100%;
  height: 100%;
}

.wave-line {
  fill: none;
  stroke: var(--text-color);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: d 0.5s ease-in-out;
}

/* Wave State Animations */
.hero-card[data-state="high"] .wave-line {
  d: path("M -100,20 Q -87.5,2 -75,20 T -25,20 T 25,20 T 75,20 T 125,20 T 175,20 T 225,20");
  animation: wave-ripple 0.6s linear infinite;
}

.hero-card[data-state="medium-high"] .wave-line {
  d: path("M -100,20 Q -87.5,8 -75,20 T -25,20 T 25,20 T 75,20 T 125,20 T 175,20 T 225,20");
  animation: wave-ripple 0.9s linear infinite;
}

.hero-card[data-state="medium-low"] .wave-line {
  d: path("M -100,20 Q -87.5,14 -75,20 T -25,20 T 25,20 T 75,20 T 125,20 T 175,20 T 225,20");
  animation: wave-ripple 1.4s linear infinite;
}

.hero-card[data-state="flat"] .wave-line {
  d: path("M -100,20 Q -87.5,20 -75,20 T -25,20 T 25,20 T 75,20 T 125,20 T 175,20 T 225,20");
  animation: none;
}

@keyframes wave-ripple {
  0% { transform: translateX(0); }
  100% { transform: translateX(100px); }
}

/* ---------------- CAROUSEL SLIDES ---------------- */
.carousel-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(15px);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Left Content */
.text-content {
  max-width: 380px;
  align-self: flex-start;
  margin-top: 10px;
}


/* Right Illustration */
.illustration {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  max-width: 100%;
  min-width: 600px;
}

.illus-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  bottom: -110px;
  width: 700px;
  position: relative;
}

/* ---------------- FIXED CONTROLS ---------------- */
.fixed-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
  width: fit-content;
}

.nav-arrows {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.06);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.arrow-btn:hover {
  background-color: rgba(0, 0, 0, 0.12);
}

.logo-mobile{
    display: none;
  }


/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 850px) {
  .logo-desktop{
    display: none;
  }
  .logo-mobile{
    display: block;
  }
  .bs-grid {
    gap: 0;
}
  .progress-container {
    bottom: 17%;
}
  .hero-card {
    margin-top: 50px;
    height: auto;
    min-height: 110vh;
    padding: 24px 20px;
  }

  .bs-map svg {
    width: 100%;
    padding: 0;
}

  .illus-img {
    max-width: 550px !important;
    bottom: -70px;
}

.hero {
    padding: 40px 0px;
    height: 100vh;
    padding-bottom: 100px;
}

.hero-grid {
        gap: 40px;
    }

    p {
    font-size: 16px !important;
}

  .carousel-container {
    position: relative;
    height: auto;
    min-height: 500px;
  }

  .slide {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
  }

  .text-content {
    max-width: 100%;
    margin-bottom:0px;
  }

  .title {
    font-size: 40px;
  }

  .illustration {
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
  }

  /* .illus-img {
    max-height: 280px;
  } */

  .fixed-controls {
    margin-top: 20px;
  }
    .bs-right {
    gap: 0;
    margin-top: -120px;
}
.bs-map svg {
    height: 22vh;
}
.bs-right a.btn-go {
    margin-top: 20px;
}
.card-img-pushed, .card-img .image {
    max-width: 320px;
    margin: auto;
}
}




/* ---------------- BLOG ---------------- */
/* Layout & Background */
.lns-section {
  background-color: #111827;
  padding: 150px 0 150px 40px; /* Offset right padding so swiper cards can overflow gracefully */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header & Title Styling */
.lns-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 40px;
  margin-bottom: 30px;
}

.lns-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lns-orange-accent {
  position: absolute;
  left: -12px;
  top: 2px;
  width: 28px;
  height: 28px;
  background-color: #ff6b00;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: 1;
}

.lns-title {
  position: relative;
  z-index: 2;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Custom Navigation Buttons */
.lns-nav-btns {
  display: flex;
  gap: 12px;
}

.lns-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #222;
  transition: all 0.2s ease;
}

.lns-nav-btn:hover {
  background: #ffffff;
  border-color: #999;
}

.lns-nav-btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Swiper Container & Cards */
.lns-swiper-container {
  width: 100%;
  overflow: visible; /* Allows continuous free-mode scrolling off screen */
}

.lns-card-slide {
  width: 320px; /* Width of individual card */
}

.lns-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  height: 380px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lns-card:hover {
  /* transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); */
}

.lns-card-title {
    font-size: 26px !important;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0 !important;
}

/* Image & Date Badge Container */
.lns-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px;
}

.lns-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lns-date-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #222;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
}


