/* Video-Based Hero Section */
.wh-hero-video {
    min-height: 66vh;
    height: 66vh;
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.wh-hero-video video.wh-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.wh-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.wh-hero-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 90%;
    width: 100%;
}

.wh-hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    font-family: var(--font-heading, inherit);
}

.wh-hero-tagline {
    font-size: 20px;
    margin-bottom: 24px;
    font-family: var(--font-heading, inherit);
}

.wh-hero-cta {
    font-size: 14px;
    padding: 10px 20px;
}

/* Ensure .wh-hero-cta inherits .btn-primary styles if used together */
.btn-primary.wh-hero-cta,
.wh-hero-cta.btn-primary {
    font-size: 14px;
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .wh-hero-video {
        min-height: 60vh;
        height: auto;
    }
    .wh-hero-title {
        font-size: 32px;
    }
    .wh-hero-tagline {
        font-size: 16px;
    }
}
.value-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 80px 20px;

    color: var(--color-text-muted);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    box-shadow: 0 4px 20px var(--color-shadow);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.value-blocks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/watermark-pattern.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 150% auto;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.value-block {
    flex: 1 1 250px;
    margin: 10px;
    padding: 20px;
    background-color: var(--color-bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 6px var(--color-shadow);
    color: var(--color-heading-muted);
    transition: all 0.3s ease;
}

.value-block:hover {
    background-color: var(--color-bg-light);
    color: var(--color-gray-muted);
    border-color: var(--color-green-accent);
    transform: translateY(-8px);
    box-shadow: 0 8px 16px var(--color-shadow-heavy);
}

.value-block h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 28px;
    line-height: 1.1;
    color: var(--color-heading-muted);
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.value-block p {
    font-size: 16px;
    color: var(--color-gray-muted);
}

.about-section {
    padding: 0 60px;
    text-align: center;
}

.about-section h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 28px;
    line-height: 1.1;
    color: var(--color-heading-muted);
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

/* New Whitestone Hero Section */
.wh-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 100px 0px 60px; /* top padding to clear fixed header */
    max-width: 100%;
    margin: 0 0;
    align-items: center;
}

.wh-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wh-hero-kicker {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wh-hero-sub {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 36px;
    line-height: 1.1;
    color: var(--color-heading-muted);
}

.wh-hero-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px var(--color-shadow-heavy);
}

/* Members Section */
.members-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.member-card {
    background-color: var(--color-bg-light);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--color-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px var(--color-shadow-heavy);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px var(--color-shadow);
}

.member-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
    user-select: none;
}

.chip-fm {
    background-color: var(--fm-100);
    color: var(--fm-700);
}

.chip-nucca {
    background-color: var(--nucca-100);
    color: var(--nucca-700);
}

.chip-aba {
    background-color: var(--aba-100);
    color: var(--aba-700);
}

/* Vision Band */
.vision-band {
    background-color: var(--color-bg-muted);
    color: var(--color-text-muted);
    padding: 40px 20px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
}

/* Articles Section */
.wh-articles {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.article-card {
    background-color: var(--color-bg-light);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--color-shadow);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 10px 24px var(--color-shadow-heavy);
}

.article-media {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-bg-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-heading-muted);
    padding: 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Placeholder images and hero */
.ph-image {
    width: 100%;
    height: 200px;
    background-color: var(--color-bg-muted);
    border-radius: 12px;
}

.ph-hero {
    width: 100%;
    height: 400px;
    background-color: var(--color-bg-muted);
    border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .wh-hero {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }
    .wh-hero-sub {
        font-size: 28px;
    }
    .wh-hero-media {
        max-width: 80%;
        justify-self: center;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .wh-hero-sub {
        font-size: 24px;
    }
    .members-grid {
        grid-template-columns: 1fr;
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
}
/* =============================
 * About Whitestone Health – structured section
 * ============================= */
.about-wha {
    padding-top: 0;
    padding-bottom: 72px;
    position: relative;           /* create stacking context for overlays */
    z-index: 0;
    background-image: url('/assets/team-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.about-wha::before {
    content: '';
    position: absolute;
    inset: 0;                     /* top:0; right:0; bottom:0; left:0 */
    background: rgba(255,255,255,0.78); /* soften image under content */
    z-index: -1;
}

/* keep section contents above the overlay */
.about-wha > * { position: relative; z-index: 1; }

/* Ensure inner content is centered and constrained */
.about-wha-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.about-wha .slider { width: 100%; }
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }

.about-section {
    display: flex;
    flex-direction: column;
    gap: 200px;
    align-items: start;
}

/* Updated slider styles */
.slider {
    position: relative;
    width: 50%;
    overflow: hidden;
}

.slides {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 8px 0 0; /* small top padding below links */
    overflow-anchor: none;
}

.slides > div {
    scroll-snap-align: start;
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
    margin-right: 0;
    border-radius: var(--radius-md);
    position: relative;
}

.slider > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    margin-right: 8px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--neutral-300);
    box-shadow: var(--shadow-xs);
    vertical-align: middle;
}
.slider > a:hover { box-shadow: var(--shadow-sm); }
.slider > a:focus-visible { outline: 2px solid var(--focus-ring, #1a6aff); outline-offset: 2px; }
.slider > a:active { transform: translateY(1px); }

.about-section-row {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
    gap: 20px;
}

.about-intro{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    min-width: 100%;
}

.about-intro-row2{
    display: flex;
    justify-content: space-between;
    gap: 5%;
    min-width: 100%;
}

.about-intro-row2-left {
    display: flex;
    flex-direction: column;
}

.about-intro .section-title { margin-bottom: 8px; }
.about-intro .lead {
    text-align: left;
    margin-top: 6px;
    margin-bottom: 18px;
    max-width: 62ch;
}

.about-glance { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.about-glance li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.eyebrow { display: inline-block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }

/* Removed old slider styles for nav arrows */

/* Theme tints for cards */
.theme-fm .about-card-title { color: var( --color-white); }
.theme-nucca .about-card-title { color: var( --color-white); }
.theme-aba .about-card-title { color: var( --color-white); }
.theme-fm .about-card { border-color: rgba(0,200,83,0.25); }
.theme-nucca .about-card { border-color: rgba(124,77,255,0.25); }
.theme-aba .about-card { border-color: rgba(255,145,0,0.25); }

/* Trust band */
.about-trust { margin-top: 28px; padding: 18px; background: var(--neutral-050); border: 1px solid var(--neutral-200); border-radius: var(--radius-md); display: grid; gap: 12px; }
.about-trust .stats { list-style: none; display: grid; grid-auto-flow: column; justify-content: start; gap: 24px; margin: 0; padding: 0; }
.about-trust .stat-num { display: block; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--fs-3xl); line-height: 1; }
.about-trust .stat-label { display: block; font-size: var(--fs-sm); color: var(--text-muted); }
.micro-quote { margin: 0; font-style: italic; color: var(--text-secondary); }

/* CTAs */
.about-ctas {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Updated about-card style */
.about-card {
    background: var(--color-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* clip child radii */
    min-height: auto;
    width: 35%;
    padding: 0 0 20px 0;/* taller to fit content */
    transition: box-shadow 240ms ease, transform 240ms ease;
}
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-card-media {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}
.about-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.about-card-media::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.theme-fm .about-card-media::after {
    background-color: rgba(0, 200, 83, 0.35); /* green mask */
}
.theme-nucca .about-card-media::after {
    background-color: rgba(124, 77, 255, 0.35); /* purple mask */
}
.theme-aba .about-card-media::after {
    background-color: rgba(255, 145, 0, 0.35); /* orange mask */
}

/* Inverted colored header */
.about-card-header { padding: 12px 16px; color: #fff; }
.theme-fm   .about-card-header { background: var(--fm-500); }
.theme-nucca .about-card-header { background: var(--nucca-500); }
.theme-aba  .about-card-header { background: var(--aba-500); }

.about-card-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: #fff;
}

/* Body */
.about-card-body { padding: 16px; display: flex; gap: 10px; flex-direction: column; }

/* Pill chips */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid var(--neutral-300);
  background: var(--neutral-050);
  color: var(--text-primary);
}
.theme-fm   .pill { background: color-mix(in oklab, var(--fm-100) 60%, white); border-color: color-mix(in oklab, var(--fm-500) 30%, var(--neutral-300)); }
.theme-nucca .pill { background: color-mix(in oklab, var(--nucca-100) 60%, white); border-color: color-mix(in oklab, var(--nucca-500) 30%, var(--neutral-300)); }
.theme-aba  .pill { background: color-mix(in oklab, var(--aba-100) 60%, white); border-color: color-mix(in oklab, var(--aba-500) 30%, var(--neutral-300)); }
.about-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.about-list li { line-height: 1.5; }

/* Responsive */
@media (max-width: 1140px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-slide { flex: 0 0 88%; }
}
@media (max-width: 600px) {
  .about-slide { flex: 0 0 100%; }
}