:root {
    --bl-ink: #0c0d0f;
    --bl-scrim-rgb: 12, 13, 15;
    --bl-brief-ink: #111827;
    --bl-brief-muted: #6E6E6E;
    --bl-brief-line: #e6e6e6;
    --bl-sage: #4A9D8A;
    --bl-coral: #FF8A65;
    --bl-midnight: #2F4D7C;
    --bl-charcoal: #2D2D2D;
    --bl-slate: #6E6E6E;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background: var(--bl-ink);
}

/* ══════════════════════════════════════════════
   Bloom — Hero
   ══════════════════════════════════════════════ */

.bl-scroll-container {
    position: relative;
    overflow: visible;
}

.bl-hero-track {
    position: relative;
    height: 200vh;
}

.bl-hero {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    will-change: transform, opacity, filter;
}

.bl-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bl-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: var(--bl-ink);
    display: block;
}

.bl-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(var(--bl-scrim-rgb), 0.10) 0%,
            rgba(var(--bl-scrim-rgb), 0.25) 40%,
            rgba(var(--bl-scrim-rgb), 0.72) 70%,
            rgba(var(--bl-scrim-rgb), 0.88) 100%
    );
}

.bl-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 5vw 6vh;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 100%;
    will-change: transform, opacity;
}

.bl-hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.bl-hero-sub {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 200;
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    max-width: 50ch;
}

.bl-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    margin-top: 0.5rem;
}

.bl-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.bl-meta-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.bl-meta-value {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.3;
}

@media (max-width: 760px) {
    .bl-hero-track { height: 200vh; }
    .bl-hero-content { padding: 0 6vw 5vh; }
    .bl-hero-meta { gap: 1.2rem 2rem; }
    .bl-hero-title { font-size: 2.4rem; }
}

/* ══════════════════════════════════════════════
   THE BRIEF — slides up over the pinned hero
   ══════════════════════════════════════════════ */

.bl-brief {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    border-radius: 58px 58px 0 0;
    padding: 8vh 80px 12vh;
    margin-top: -100vh;
    min-height: 100vh;
    width: 100%;
}

.bl-brief-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0 8vw;
    align-items: start;
}

.bl-brief-left { position: sticky; top: 8rem; }

.bl-brief-heading {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--bl-brief-ink);
    margin: 0;
}

.bl-brief-right {
    display: flex;
    flex-direction: column;
    padding-top: 0.25rem;
}

.bl-brief-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
}

.bl-brief-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bl-brief-ink);
}

.bl-brief-body {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.75;
    color: var(--bl-brief-muted);
    margin: 0;
    max-width: 75ch;
}

.bl-brief-divider {
    border: none;
    border-top: 1px solid var(--bl-brief-line);
    margin: 0;
}

@media (max-width: 768px) {
    .bl-brief { padding: 8vh 6vw 10vh; border-radius: 32px 32px 0 0; }
    .bl-brief-inner { grid-template-columns: 1fr; gap: 3rem 0; }
    .bl-brief-left { position: static; }
}

/* ══════════════════════════════════════════════
   IDEA BEHIND THE LOGO
   ══════════════════════════════════════════════ */

.bl-logo-story {
    position: relative;
    z-index: 2;
    background: #fff;
    max-width: 100%;
    margin: 0 auto;
    padding: 4vh 80px 12vh;
}

.bl-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: stretch;
}

.bl-logo-card {
    background: #2D2D2D;
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    font-family: 'Nunito', sans-serif;
}

.bl-logo-card-title {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 28px;
    margin: 0 0 18px;
}

.bl-logo-tagline {
    font-style: italic;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 18px;
}

.bl-logo-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.bl-logo-swatches {
    margin-top: 24px;
}

.bl-logo-swatches img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.bl-logo-explore {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.bl-logo-mark {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}

.bl-meanings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    font-family: 'Nunito', sans-serif;
}

.bl-meaning-card {
    background: #F1F2F4;
    border-radius: 10px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.bl-meaning-glyph {
    color: #4A9D8A;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 20px;
}

.bl-meaning-title {
    font-weight: 800;
    font-size: 13px;
    color: #2D2D2D;
}

.bl-meaning-desc {
    font-size: 10.5px;
    line-height: 1.4;
    color: #6E6E6E;
}

@media (max-width: 860px) {
    .bl-logo-grid { grid-template-columns: 1fr; }
    .bl-meanings { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════
   ROOM TO BLOOM — 2x2 image grid, edge to edge
   ══════════════════════════════════════════════ */

.bl-room {
    background: #ffffff;
    padding: 0 80px 12vh;
}

.bl-room-grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 42vh);
    border-radius: 20px;
    overflow: hidden;
}

.bl-room-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bl-room-grid img:nth-child(3) {
    object-position: center 35%;
}

@media (max-width: 700px) {
    .bl-room { padding: 0 6vw 8vh; }
    .bl-room-grid { grid-template-columns: 1fr; grid-template-rows: none; }
}

/* ══════════════════════════════════════════════
   STYLES — slides up over the showcase
   Opens with rounded top over the dark showcase
   ══════════════════════════════════════════════ */

.bl-styles {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
    border-radius: 58px 58px 0 0;
    margin-top: -100vh;
    min-height: 100vh;
    padding: 10vh 80px 12vh;
    width: 100%;
}

.bl-styles-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.bl-styles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    min-height: 80vh;
}

.bl-palette {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(13, 27, 42, 0.08);
}

.bl-swatch {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem 1.4rem;
    flex: 1;
    min-height: 90px;
}

.bl-swatch--sage      { background: var(--bl-sage); }
.bl-swatch--coral     { background: var(--bl-coral); }
.bl-swatch--midnight  { background: var(--bl-midnight); }
.bl-swatch--charcoal  { background: var(--bl-charcoal); }
.bl-swatch--slate     { background: var(--bl-slate); }

.bl-swatch-name {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.3;
}

.bl-swatch-hex {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

.bl-swatch--sage .bl-swatch-name,     .bl-swatch--sage .bl-swatch-hex,
.bl-swatch--midnight .bl-swatch-name, .bl-swatch--midnight .bl-swatch-hex,
.bl-swatch--charcoal .bl-swatch-name, .bl-swatch--charcoal .bl-swatch-hex,
.bl-swatch--slate .bl-swatch-name,    .bl-swatch--slate .bl-swatch-hex {
    color: rgba(255, 255, 255, 0.92);
}

.bl-swatch--coral .bl-swatch-name, .bl-swatch--coral .bl-swatch-hex {
    color: var(--bl-charcoal);
}

.bl-type-card {
    background: #ECEEF2;
    border-radius: 16px;
    padding: 2rem 2.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 24px rgba(13, 27, 42, 0.08);
    overflow: hidden;
}

.bl-type-name-row {
    display: flex;
    align-items: baseline;
    flex-direction: column;
}

.bl-type-family {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

.bl-type-display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 1.5rem 0;
}

.bl-type-icon {
    max-width: 60%;
    max-height: 100%;
    display: block;
}

.bl-type-rule {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    margin: 0.75rem 0;
}

.bl-type-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.bl-type-charset {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bl-slate);
    margin: 0;
    max-width: 36ch;
    opacity: 0.7;
    font-family: 'Nunito', sans-serif;
}

@media (max-width: 900px) {
    .bl-styles-grid { grid-template-columns: 1fr; }
    .bl-palette { flex-direction: row; flex-wrap: wrap; }
    .bl-swatch { flex: 1 1 30%; min-height: 90px; }
}

@media (max-width: 600px) {
    .bl-styles { border-radius: 32px 32px 32px 32px; padding: 8vh 6vw 10vh; }
}

/* ══════════════════════════════════════════════
   BEYOND COLOUR
   ══════════════════════════════════════════════ */

.bl-beyond {
    background: #fff;
    padding: 0 80px 12vh;
}

.bl-beyond-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0 8vw;
    align-items: start;
}

.bl-beyond-heading {
    position: sticky;
    top: 8rem;
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #111827;
    margin: 0;
}

.bl-beyond-body {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: #6E6E6E;
    margin: 0;
    max-width: 75ch;
}

@media (max-width: 768px) {
    .bl-beyond { padding: 0 6vw 8vh; }
    .bl-beyond-inner { grid-template-columns: 1fr; gap: 1.25rem 0; }
}

/* ══════════════════════════════════════════════
   WALKTHROUGH
   ══════════════════════════════════════════════ */

.bl-walk {
    background: #fff;
    padding: 6vh 80px 12vh;
    overflow-x: hidden;
}

/* ── tabs ── */
.bl-walk-tabs {
    width: 100%;
    margin: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bl-walk-tab {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 10px;
    background: #F1F3F6;
    color: #9AA5B1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.bl-walk-tab--active {
    background: #3E9B82;
    color: #fff;
    font-weight: 800;
}

.bl-walk-connector {
    flex: none;
    width: 140px;
    height: 0;
    border-top: 2px dashed #cfd3d6;
    margin: 0 30px;
}

/* ── phones ── */
.bl-walk-phones {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: center;
}

.bl-walk-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* ── notes ── */
.bl-walk-notes {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bl-walk-note {
    background: #E9F6F1;
    border: 1px solid #cdeadf;
    border-radius: 14px;
    padding: 22px 24px;
}

.bl-walk-note-title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 17px;
    color: #3E9B82;
    margin: 0 0 12px;
}

.bl-walk-note-quote {
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 14px;
    color: #2D2D2D;
    margin: 0 0 12px;
}

.bl-walk-note-body {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #6E6E6E;
    margin: 0;
}

@media (max-width: 860px) {
    .bl-walk-notes { grid-template-columns: 1fr; }
    .bl-walk-phones { flex-wrap: wrap; }
    .bl-walk-tabs { flex-wrap: wrap; gap: 10px; }
    .bl-walk-connector { display: none; }
}

/* ══════════════════════════════════════════════
   WELLNESS TOOLKIT
   ══════════════════════════════════════════════ */

.bl-toolkit {
    position: relative;
    z-index: 0;
    background: #E9EBF0;
    margin-top: -58px;
    padding: calc(18vh + 58px) 80px 20vh;
    border-radius: 0 0 58px 58px;
    min-height: 900px;
    display: flex;
    align-items: center;
}

.bl-toolkit-inner {
    width: 100%;
}

.bl-toolkit-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 5rem;
    max-width: 56ch;
}

.bl-toolkit-heading {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #111827;
    margin: 0;
}

.bl-toolkit-sub {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.6;
    color: #6E6E6E;
    margin: 0;
}

.bl-toolkit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem 1.5rem;
}

.bl-toolkit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.bl-toolkit-icon {
    width: 90px;
    height: 72px;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
}

.bl-toolkit-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    color: #2D2D2D;
}

@media (max-width: 1024px) {
    .bl-toolkit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .bl-toolkit { padding: calc(8vh + 58px) 6vw 10vh; min-height: 700px; }
    .bl-toolkit-header { margin-bottom: 3rem; }
    .bl-toolkit-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

/* ══════════════════════════════════════════════
   UNDERSTANDING EMOTIONS
   ══════════════════════════════════════════════ */

.bl-emotions {
    background: #fff;
    padding: 10vh 80px 12vh;
}

.bl-emotions-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0 8vw;
    align-items: start;
}

.bl-emotions-heading {
    position: sticky;
    top: 8rem;
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #111827;
    margin: 0;
}

.bl-emotions-body {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: #6E6E6E;
    margin: 0;
    max-width: 75ch;
}

@media (max-width: 768px) {
    .bl-emotions { padding: 0 6vw 8vh; }
    .bl-emotions-inner { grid-template-columns: 1fr; gap: 1.25rem 0; }
}

/* ══════════════════════════════════════════════
   MOOD COLLAGE
   ══════════════════════════════════════════════ */

.bl-moods {
    background: #fff;
    padding: 0;
    border-radius: 0 0 58px 58px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.bl-moods-image {
    display: block;
    width: 100%;
    margin: 0 auto;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
}

/* ══════════════════════════════════════════════
   BUILDING A HABIT, NOT A STREAK
   ══════════════════════════════════════════════ */

.bl-habit-track {
    position: relative;
    height: 200vh;
    margin-top: -58px; /* receives Toolkit's closing curve */
}

.bl-habit {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    background: #2E3149;
    padding: calc(12vh + 58px) 80px 12vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bl-habit-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0 6vw;
    align-items: center;
}

.bl-habit-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
    max-width: 420px;
}

.bl-habit-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.bl-habit-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
}

.bl-habit-card--active {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.bl-habit-card img {
    width: 64px;
    height: 64px;
    display: block;
    opacity: 0.45;
}

.bl-habit-card--active img {
    opacity: 1;
}

.bl-habit-card span {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.bl-habit-card--active span {
    color: #2D2D2D;
}

.bl-habit-heading {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 24px;
}

.bl-habit-heading-accent {
    color: #4A9D8A;
}

.bl-habit-body {
    ffont-family: 'Fraunces', Georgia, serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.75;
    color: #EAECF1;
    margin: 0;
    margin-bottom: 1.25rem;
    display: block;
    margin-top: 1.25rem;
}

.bl-habit-phones {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 960px) {
    .bl-habit-track { height: auto; }
    .bl-habit { position: static; height: auto; }
    .bl-therapist { margin-top: 0; border-radius: 32px 32px 0 0; }
    .bl-habit-inner { grid-template-columns: 1fr; gap: 4rem 0; }
    .bl-habit-right { order: -1; }
}

/* ══════════════════════════════════════════════
   REDISCOVER YOUR INNER CALM
   ══════════════════════════════════════════════ */

.bl-quote {
    background: #fff;
    padding: 12vh 80px;
    border-radius: 0 0 58px 58px;
    position: relative;
    z-index: 1;
}

.bl-quote-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.bl-quote-heading {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    color: #111827;
    margin: 0 0 32px;
}

.bl-quote-body {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.6;
    color: #6E6E6E;
    margin: 0;
}

@media (max-width: 768px) {
    .bl-quote { padding: 8vh 6vw; }
}

/* ══════════════════════════════════════════════
   REMINDERS — scroll-driven, pinned
   ══════════════════════════════════════════════ */

.bl-reminders-track {
    position: relative;
    height: 450vh;           /* 100vh per card + 50vh hold + 100vh pin */
    margin-top: -58px;
}

.bl-reminders {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bl-reminders-left {
    background: #EAF3EF;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ── stacked cards ── */

.bl-reminders-card {
    position: absolute;
    width: min(400px, 78%);
    background: #F4F6F9;
    border-radius: 24px;
    padding: 40px 36px 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transform-origin: top center;
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.6s ease,
        box-shadow 0.6s ease;
}

/* Inner content only ever shows on the front card, so the peeking
   edges behind it read as clean stacked paper instead of clipped text. */
.bl-reminders-card > * {
    transition: opacity 0.35s ease;
}

.bl-reminders-card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #3E9B82;
}

.bl-reminders-card-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

.bl-reminders-card-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cards stay fully opaque so nothing bleeds through; depth comes from
   tint, scale and shadow instead. */
.bl-reminders-card--pos-0 {
    z-index: 3;
    transform: translateY(64px) scale(1);
    background: #F7F9FC;
    box-shadow: 0 24px 48px rgba(28, 54, 92, 0.16);
}

.bl-reminders-card--pos-1 {
    z-index: 2;
    transform: translateY(0) scale(0.95);
    background: #E7EEF6;
    box-shadow: 0 16px 28px rgba(28, 54, 92, 0.10);
}

.bl-reminders-card--pos-2 {
    z-index: 1;
    transform: translateY(-58px) scale(0.90);
    background: #DCE6F0;
    box-shadow: 0 10px 18px rgba(28, 54, 92, 0.07);
}

.bl-reminders-card--pos-1 > *,
.bl-reminders-card--pos-2 > * {
    opacity: 0;
    pointer-events: none;
}

/* ── step dots ── */

.bl-reminders-steps {
    position: absolute;
    left: 50%;
    bottom: 48px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.bl-reminders-step {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3E9B82;
    opacity: 0.25;
    transition: opacity 0.4s ease, width 0.4s ease, border-radius 0.4s ease;
}

.bl-reminders-step--active {
    opacity: 1;
    width: 26px;
    border-radius: 4px;
}

/* ── right panel ── */

.bl-reminders-right {
    position: relative;
    background: #2F4D7C;
    height: 100%;
    overflow: hidden;
}

.bl-reminders-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.bl-reminders-panel--active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.bl-reminders-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── stacked layout: no pinning, every card open ── */

@media (max-width: 860px) {
    .bl-reminders-track { height: auto; margin-top: 0; }

    .bl-reminders {
        position: static;
        height: auto;
        grid-template-columns: 1fr;
    }

    .bl-reminders-left {
        flex-direction: column;
        gap: 24px;
        padding: 56px 6vw;
        height: auto;
    }

    .bl-reminders-card,
    .bl-reminders-card--pos-0,
    .bl-reminders-card--pos-1,
    .bl-reminders-card--pos-2 {
        position: static;
        width: 100%;
        max-width: 380px;
        transform: none;
        background: #F7F9FC;
        box-shadow: 0 16px 28px rgba(28, 54, 92, 0.10);
        cursor: default;
    }

    .bl-reminders-card > * { opacity: 1; pointer-events: auto; }

    .bl-reminders-steps { display: none; }

    .bl-reminders-right {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    /* every screen shown in sequence — nothing depends on scroll state */
    .bl-reminders-panel {
        position: relative;
        inset: auto;
        height: 70vh;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bl-reminders-card,
    .bl-reminders-card > *,
    .bl-reminders-panel,
    .bl-reminders-step { transition-duration: 0.01ms; }
}

/* ══════════════════════════════════════════════
   THERAPIST MATCHING
   ══════════════════════════════════════════════ */

.bl-therapist {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    border-radius: 58px 58px 0 0;
    margin-top: -100vh;
    min-height: 100vh;
    padding: 10vh 80px;
    width: 100%;
}

.bl-therapist-image {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .bl-therapist { padding: 8vh 6vw; }
}

/* ══════════════════════════════════════════════
   BRINGING BLOOM TO LIFE
   ══════════════════════════════════════════════ */

.bl-life {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    border-radius: 58px 58px 58px 58px;
    margin-top: -100vh;
    margin-bottom: -58px;
    min-height: 100vh;
    padding: 10vh 80px 8vh;
    width: 100%;
}

.bl-life-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0 6vw;
    align-items: start;
}

.bl-life-heading {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    color: #111827;
    margin: 0 0 20px;
}

.bl-life-body {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    color: #6E6E6E;
    margin: 0;
    max-width: 46ch;
}

.bl-life-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

@media (max-width: 900px) {
    /* `position: relative` (not static) keeps z-index:2 alive so the card
       paints over the footer wrapper — otherwise the footer covers the
       rounded bottom. Bottom radius restored to match the desktop card. */
    .bl-life { position: relative; margin-top: 0; padding: 8vh 6vw; border-radius: 32px; margin-bottom: -32px; min-height: auto; }
    .bl-life-inner { grid-template-columns: 1fr; gap: 3rem 0; }
}

/* NEXT PROJECT — moved to shared /style.css component, see /assets/next-project.js */

/* ── footer reveal: compensate for .bl-life's -58px tuck-under ── */
#maeven-footer {
    position: relative;
    z-index: 0;
}

@media (max-width: 900px) {
    /* Clearing the -32px tuck with padding on the WRAPPER pushed the
       footer's grey down with it, cancelling the tuck entirely so
       .bl-life's rounded bottom had nothing to cut out against.
       Put the clearance inside the footer so the grey still starts at
       the wrapper's top edge, behind the corners. */
    #maeven-footer {
        padding-top: 0;
    }
    #maeven-footer .footer {
        padding-top: calc(8vh + 32px);
    }
}


/* ══════════════════════════════════════════════
   RESPONSIVE — mobile
   Consolidated overrides; last in the file so they
   win over the per-section queries above.
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── PALETTE: the ≤900 rule wraps the swatches into a 3-over-2 grid,
       which the grid's fixed 80vh then squeezes. One full-width block
       per colour instead, matching MSC. ── */
    /* ── STYLES: palette and type specimen side by side rather than
       stacked, so the whole section fits a screen and the next heading
       comes into view with it. Earlier breakpoints collapse this to 1fr
       and the fixed 80vh squeezed the swatches, so both are overridden. ── */
    .bl-styles-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 0;
        gap: 0.75rem;
    }
    .bl-palette { flex-direction: column; }
    .bl-swatch { flex: 1 1 auto; min-height: 62px; padding: 0.6rem 0.75rem; }
    .bl-swatch-name { font-size: 0.8rem; line-height: 1.2; }
    .bl-swatch-hex  { font-size: 0.6rem; margin-top: 0.1rem; }

    .bl-type-card { padding: 1rem 0.9rem 0.85rem; border-radius: 14px; }
    .bl-type-family { font-size: 1.45rem; }
    .bl-type-display { padding: 0.75rem 0; }
    .bl-type-icon { max-width: 78%; }
    .bl-type-rule { margin: 0.5rem 0; }
    /* the specimen string barely breaks; at this width it only reads as
       texture, so keep it small and let it wrap anywhere */
    .bl-type-footer { flex-direction: column; align-items: flex-start; }
    .bl-type-charset {
        max-width: none;
        font-size: 0.55rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    /* ── REMINDERS: the pinned card-deck section, cut on mobile.
       .bl-quote and .bl-life are both white and now adjacent, so square
       off the seam between them and keep only .bl-life's closing curve
       over the footer. ── */
    .bl-reminders-track { display: none; }
    .bl-quote { border-radius: 0; }
    .bl-life  { border-radius: 0 0 32px 32px; margin-top: 0; }

    /* ── These two column headings stay `sticky; top: 8rem` once their
       grids collapse to one column, so they drift down over their own
       body copy. Same bug as the MSC build/precision headings. ── */
    .bl-beyond-heading,
    .bl-emotions-heading { position: static; }

    /* ── Rounded joins: .bl-moods and .bl-toolkit kept the desktop 58px
       while .bl-brief, .bl-styles and .bl-therapist drop to 32px here.
       Tucks and top padding move with them so each curve still lands on
       the layer behind it. (.bl-quote is squared off above instead,
       now that it sits directly against .bl-life.) ── */
    .bl-moods   { border-radius: 0 0 32px 32px; }
    .bl-toolkit {
        border-radius: 0 0 32px 32px;
        margin-top: -32px;
        padding-top: calc(8vh + 32px);
    }
    .bl-habit-track { margin-top: -32px; }

    /* ── GUTTERS: these three never got a mobile override, so 80px a side
       left 215px of a 375px screen for content — 43% margin. ── */
    .bl-logo-story { padding-left: 6vw; padding-right: 6vw; }
    .bl-walk       { padding-left: 6vw; padding-right: 6vw; }
    .bl-habit      { padding-left: 6vw; padding-right: 6vw; }

    /* ── .bl-styles slides -100vh over .bl-room, which is a full viewport
       tall and pinned on desktop. Unpinned at this width the room is just
       919px of stacked images, so the -100vh buried three of the four. ── */
    .bl-styles {
        position: relative;
        top: auto;
        margin-top: 0;
        min-height: 0;
    }

    /* ── Same trap: .bl-therapist buried the habit section's heading, its
       body copy and two of its four cards. `relative`, not `static`, so
       z-index survives and the rounded top still reads against the navy. ── */
    .bl-therapist {
        position: relative;
        top: auto;
        margin-top: -32px;
        min-height: 0;
        border-radius: 32px 32px 0 0;
    }
}
