/* ============================================ */
/*        Homepage Styles (home.css)            */
/*   Matched to Two Little Sparrows Live CSS    */
/* ============================================ */

:root {
    --fontSans: "Josefin Sans", sans-serif;
    --fontSerif: "Forum", Georgia, serif;
    --sage: #78a688;
    --sageDark: #000000;
    --sageDeep: #4d4c4c;
    --sageTint: #f7f7f7;
    --ink: #1a1a1a;
    --inkMuted: #4e4b66;
    --surfaceOffWhite: #f7f7f7;
    --surfaceGray: #eaeaea;
    --charcoal: #4d4c4c;
    --borderSubtle: #e8e8e8;
    --radiusCard: 0px;
}

body.home-page {
    font-family: var(--fontSans);
    color: var(--ink);
    background-color: #ffffff;
    overflow-x: hidden;
}

body.home-page button,
body.home-page input,
body.home-page select,
body.home-page textarea {
    font-family: var(--fontSans);
}

.hm-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media only screen and (min-width: 48rem) {
    .hm-container {
        padding: 0 2rem;
    }
}

.hm-eyebrow {
    display: block;
    font-size: var(--topperFontSize);
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.hm-eyebrow-dot {
    display: none;
}

.hm-section-h2 {
    font-family: var(--fontSans);
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    color: var(--headerColor);
    margin: 0 0 1rem;
}

.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--fontSans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    padding: 1rem 1.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.hm-btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.hm-btn-primary:hover {
    background-color: #000000;
    color: #ffffff;
}

.hm-btn-ghost {
    background-color: transparent;
    color: var(--headerColor);
    border-color: var(--headerColor);
}

.hm-btn-ghost:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* ============================================ */
/*        1. Hero Section (Above the Fold)      */
/* ============================================ */

#home-hero {
    position: relative;
    padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(3.5rem, 6vw, 5.25rem);
    background-color: #ffffff;
    overflow: hidden;
}

.hm-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hm-hero-copy {
    max-width: 38rem;
}

.hm-hero-h1 {
    font-family: var(--fontSans);
    font-size: clamp(2.438rem, 5vw, 0.625rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--headerColor);
    margin: 0 0 1.25rem;
}

.hm-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--bodyTextColor);
    margin: 0 0 2rem;
    max-width: 35rem;
}

.hm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hm-hero-visual {
    width: 100%;
    max-width: 38rem;
    margin: 0 auto;
}

.hm-hero-photo-frame {
    border-radius: 0;
    overflow: hidden;
    background-color: #f7f7f7;
    border: 1px solid #e8e8e8;
    aspect-ratio: 4 / 3;
}

.hm-hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hm-botanical-overlay,
.hm-diff-bg-botanical {
    display: none;
}

@media only screen and (min-width: 64rem) {
    .hm-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2.5rem, 5vw, 4.5rem);
    }

    .hm-hero-visual {
        max-width: none;
    }
}

/* ============================================ */
/*              2. The Trust Bar                */
/* ============================================ */

#trust-bar {
    background-color: #f7f7f7;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 2.25rem 0;
}

.hm-trust-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hm-trust-label {
    font-size: var(--topperFontSize);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bodyTextColor);
    text-align: center;
    margin: 0;
}

.hm-trust-logos {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(1.75rem, 4vw, 3.75rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.hm-trust-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-client-logo {
    display: inline-block;
    text-decoration: none;
    opacity: 0.55;
    color: var(--headerColor);
    transition: opacity 0.25s ease, color 0.25s ease;
    cursor: default;
}

.hm-client-logo:hover {
    opacity: 1;
    color: var(--primary);
}

.hm-client-name {
    font-family: var(--fontSans);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hm-client-name--serif {
    font-family: var(--fontSerif);
    font-size: 1.375rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* ============================================ */
/*       3. Who We Help (Industry Focus)        */
/* ============================================ */

#who-we-help {
    background-color: #f7f7f7;
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.hm-section-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto clamp(2.5rem, 4.5vw, 3.5rem);
}

.hm-industry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media only screen and (min-width: 48rem) {
    .hm-industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media only screen and (min-width: 64rem) {
    .hm-industry-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.hm-industry-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-top: 3px solid var(--primary);
    border-radius: 0;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.25s ease;
}

.hm-industry-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
}

.hm-industry-num {
    font-size: var(--topperFontSize);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.hm-industry-h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--headerColor);
    margin: 0 0 0.75rem;
}

.hm-industry-copy {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--bodyTextColor);
    margin: 0 0 1.5rem;
    flex: 1;
}

.hm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.96875rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hm-text-link:hover {
    color: #000000;
}

/* ============================================ */
/*    4. Core Services Grid (Agency Engine)     */
/* ============================================ */

#services-596.hm-services {
    background-color: #ffffff;
    padding: clamp(4rem, 7vw, 6rem) 0;
    overflow: hidden;
}

.hm-services-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 5.5vw, 4.75rem);
}

.hm-service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hm-service-num {
    display: block;
    font-size: var(--topperFontSize);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hm-service-h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--headerColor);
    margin: 0 0 0.875rem;
}

.hm-service-copy {
    font-size: 1.03125rem;
    line-height: 1.65;
    color: var(--bodyTextColor);
    margin: 0 0 1.25rem;
    max-width: 32rem;
}

.hm-service-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.hm-service-points li {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--headerColor);
    position: relative;
    padding-left: 1rem;
}

.hm-service-points li:before {
    content: "";
    width: 0.4375rem;
    height: 0.4375rem;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    top: 0.42rem;
}

/* Clean Flat Visual Frames */
.hm-service-visual {
    background-color: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.hm-web-showcase-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hm-web-meta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.875rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e8e8e8;
    font-size: 0.875rem;
    color: var(--bodyTextColor);
}

.hm-pill-score {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8125rem;
}

/* Flat Editorial SEO / Calendar / Brand Summary Cards */
.hm-seo-card,
.hm-cal-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    padding: 1.5rem;
}

.hm-seo-header,
.hm-cal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid #e8e8e8;
}

.hm-seo-query,
.hm-cal-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--headerColor);
    margin: 0;
}

.hm-cal-sub {
    font-size: 0.8125rem;
    color: var(--bodyTextColor);
    margin: 0.2rem 0 0;
}

.hm-seo-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.hm-seo-rank-list,
.hm-cal-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hm-seo-rank-row,
.hm-cal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    background-color: #f7f7f7;
    border-left: 3px solid transparent;
    font-size: 0.90625rem;
}

.hm-seo-rank-row.is-top {
    border-left-color: var(--primary);
    background-color: #f7f7f7;
}

.hm-seo-biz,
.hm-cal-name {
    font-weight: 700;
    color: var(--headerColor);
    display: block;
}

.hm-seo-loc,
.hm-cal-tag {
    font-size: 0.8125rem;
    color: var(--bodyTextColor);
}

.hm-seo-stars {
    color: var(--headerColor);
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
}

.hm-cal-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    min-width: 2.5rem;
}

.hm-seo-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.hm-seo-stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--headerColor);
}

.hm-seo-stat-lbl {
    font-size: 0.75rem;
    color: var(--bodyTextColor);
}

.hm-brand-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.hm-brand-tile {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    padding: 1.125rem;
}

.hm-brand-tile--logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hm-brand-tile--logo img {
    width: 100%;
    max-width: 9rem;
    height: auto;
    object-fit: contain;
    margin: 0.35rem 0;
}

.hm-brand-caption {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.hm-brand-swatches {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.hm-swatch {
    flex: 1;
    height: 2.25rem;
    border: 1px solid #e8e8e8;
}

.hm-brand-type-sample {
    font-family: var(--fontSerif);
    font-size: 1.75rem;
    color: var(--headerColor);
    line-height: 1.1;
    margin: 0.25rem 0 0.35rem;
}

.hm-brand-type-sub {
    font-size: 0.8125rem;
    color: var(--bodyTextColor);
    margin: 0;
}

.hm-brand-stack {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

@media only screen and (min-width: 60rem) {
    .hm-service-row {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2.5rem, 5vw, 4.5rem);
    }

    .hm-service-row--reverse .hm-service-content {
        order: 2;
    }

    .hm-service-row--reverse .hm-service-visual {
        order: 1;
    }
}

/* ============================================ */
/*     5. The Differentiator (About Agency)     */
/* ============================================ */

#agency-differentiator {
    background-color: var(--primary);
    color: #ffffff;
    padding: clamp(4.25rem, 7.5vw, 6.25rem) 0;
}

.hm-diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hm-figma-frame {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 0.75rem;
    max-width: 30rem;
    margin: 0 auto;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.hm-figma-bar {
    display: none;
}

.hm-figma-photo {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    display: block;
}

.hm-diff-eyebrow {
    color: var(--bodyTextColorWhite);
    opacity: 0.9;
}

.hm-diff-h2 {
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.hm-diff-copy {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--bodyTextColorWhite);
    margin: 0 0 2rem;
    max-width: 35rem;
}

.hm-diff-link {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid #ffffff;
    transition: opacity 0.2s ease;
}

.hm-diff-link:hover {
    opacity: 0.8;
}

@media only screen and (min-width: 60rem) {
    .hm-diff-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: clamp(3rem, 6vw, 5rem);
    }

    .hm-figma-frame {
        margin: 0;
    }
}

/* ============================================ */
/*       6. The Proof (Testimonials Carousel)   */
/* ============================================ */

#home-testimonials {
    background-color: #ffffff;
    padding: clamp(4.25rem, 7.5vw, 6.25rem) 0;
    border-bottom: 1px solid #e8e8e8;
}

.hm-carousel {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

.hm-quote-mark {
    font-family: var(--fontSerif);
    font-size: 3.75rem;
    line-height: 0.6;
    color: var(--primary);
    display: block;
    margin-bottom: 1.25rem;
    user-select: none;
}

.hm-carousel-track {
    position: relative;
    min-height: 13.5rem;
    display: grid;
    align-items: center;
}

.hm-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    margin: 0;
}

.hm-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hm-quote-text {
    font-family: var(--fontSerif);
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--headerColor);
    margin: 0 0 1.5rem;
}

.hm-quote-author {
    font-family: var(--fontSans);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--headerColor);
    display: block;
}

.hm-quote-role {
    font-family: var(--fontSans);
    font-size: 0.9375rem;
    color: #7d799c;
    display: block;
    margin-top: 0.2rem;
}

.hm-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.hm-carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    border: 1px solid #dad9e3;
    background-color: #ffffff;
    color: var(--headerColor);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hm-carousel-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.hm-carousel-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hm-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 0;
    border: none;
    padding: 0;
    background-color: #dad9e3;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hm-dot.is-active {
    background-color: var(--primary);
}

/* ============================================ */
/*           7. Lead Magnet Section             */
/* ============================================ */

#lead-magnet {
    background-color: #eaeaea;
    padding: clamp(4rem, 7vw, 5.75rem) 0;
}

.hm-lead-banner {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    padding: clamp(2rem, 4.5vw, 3.5rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
}

.hm-tablet-stage {
    display: flex;
    justify-content: center;
}

.hm-tablet-mockup {
    width: 100%;
    max-width: 22rem;
    background-color: #f7f7f7;
    border: 1px solid #dad9e3;
    border-top: 4px solid var(--primary);
    border-radius: 0;
    padding: 1.5rem;
}

.hm-tablet-screen {
    background-color: transparent;
    padding: 0;
}

.hm-doc-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
    display: block;
}

.hm-doc-title {
    font-family: var(--fontSerif);
    font-size: 1.375rem;
    line-height: 1.25;
    color: var(--headerColor);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e8e8e8;
}

.hm-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.hm-doc-list li {
    font-size: 0.90625rem;
    color: var(--bodyTextColor);
    position: relative;
    padding-left: 1.125rem;
    line-height: 1.45;
}

.hm-doc-list li:before {
    content: "";
    width: 0.4375rem;
    height: 0.4375rem;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    top: 0.4rem;
}

.hm-lead-copy {
    font-size: 1.03125rem;
    line-height: 1.65;
    color: var(--bodyTextColor);
    margin: 0 0 1.5rem;
    max-width: 34rem;
}

.hm-lead-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.hm-lead-input {
    width: 100%;
    height: 3.125rem;
    padding: 0 1rem;
    font-size: 1rem;
    color: var(--headerColor);
    background-color: #ffffff;
    border: 1px solid #dad9e3;
    border-radius: 0.25rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.hm-lead-input:focus {
    border-color: var(--primary);
}

.hm-lead-form .hm-btn-primary {
    height: 3.125rem;
    padding: 0 1.375rem;
}

.hm-lead-status {
    margin: 0.875rem 0 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    min-height: 1.25rem;
}

@media only screen and (min-width: 60rem) {
    .hm-lead-banner {
        grid-template-columns: 0.82fr 1.18fr;
        gap: 3.5rem;
    }

    .hm-lead-form {
        grid-template-columns: 1fr 1.2fr auto;
    }
}

/* ============================================ */
/*            8. Final Footer CTA               */
/* ============================================ */

#final-cta {
    background-color: #4d4c4c;
    color: var(--bodyTextColorWhite);
    text-align: center;
    padding: clamp(4.25rem, 7.5vw, 6rem) 0;
}

.hm-final-inner {
    max-width: 44rem;
    margin: 0 auto;
}

.hm-final-h2 {
    font-family: var(--fontSans);
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    color: var(--bodyTextColorWhite);
    margin: 0 0 1rem;
}

.hm-final-copy {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: var(--bodyTextColorWhite);
    opacity: 0.88;
    margin: 0 0 2rem;
}

body.home-page #cs-footer-107 {
    background-color: #1a1a1a;
    font-family: var(--fontSans);
}

body.home-page #cs-footer-107 .cs-copyright a {
    color: var(--primary);
}

/* ============================================ */
/*   Local Business Problems & Relief Matrix    */
/* ============================================ */

#local-problems-solved,
#startup-pain-relief {
    background-color: #ffffff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.hm-pain-intro {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
}

.hm-persona-pill {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #dad9e3;
    padding: 0.35rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* Concise Matrix Layout */
.hm-concise-matrix {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 64rem;
    margin: 0 auto;
}

.hm-matrix-item {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    display: grid;
    grid-template-columns: 1fr;
    transition: box-shadow 0.15s ease;
}

@media only screen and (min-width: 52rem) {
    .hm-matrix-item {
        grid-template-columns: 1fr auto 1.18fr;
        align-items: stretch;
    }
}

.hm-matrix-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.hm-matrix-col {
    padding: clamp(1rem, 2vw, 1.375rem) clamp(1.25rem, 2.5vw, 1.75rem);
}

.hm-matrix-col--pain {
    background-color: #fafafa;
}

.hm-matrix-col--relief {
    background-color: #ffffff;
    border-top: 3px solid var(--primary);
}

@media only screen and (min-width: 52rem) {
    .hm-matrix-col--relief {
        border-top: none;
    }
}

.hm-matrix-divider {
    display: none;
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--primary);
    padding: 0 0.875rem;
    background-color: #ffffff;
}

@media only screen and (min-width: 52rem) {
    .hm-matrix-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid #e8e8e8;
    }
}

.hm-matrix-tag {
    display: inline-block;
    font-size: 0.8875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.hm-matrix-tag--pain {
    color: #b3392f;
}

.hm-matrix-tag--relief {
    color: var(--primary);
}

.hm-matrix-h3 {
    font-family: var(--fontSans);
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--headerColor);
    margin: 0 0 0.25rem;
}

.hm-matrix-desc {
    line-height: 1.55;
    color: var(--bodyTextColor);
    margin: 0;
}

