:root {
    /* New Palette based on 'Hiking My Feelings' vibe */
    --color-bg: #F0E7DC;
    /* Sandstone - Warm, natural base */
    --color-bg-alt: #E6DCD1;
    /* Slightly darker sandstone for sections */
    --color-text: #2D3033;
    /* Deep Charcoal/Natural Black */
    --color-primary: #BC642E;
    /* Ember - Warm, energetic (Links/Buttons) */
    --color-primary-dark: #8F461F;
    /* Darker Ember */
    --color-secondary: #3B5249;
    /* Deep Forest Green - Grounding */
    --color-accent: #DDC86C;
    /* Golden - Highlights */
    --color-soft-blue: #B4E1FE;
    /* Cascade - Optional soft accent */
    --color-clay: #F5C3B6;
    /* Clay - Soft warmth */

    /* Typography */
    --font-heading: 'Fraunces', serif;
    /* Variable, character-rich */
    --font-body: 'Montserrat', sans-serif;
    /* Clean, modern, legible */

    /* Spacing */
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    /* UI Elements */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    /* Keep headings dark for contrast */
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.site-header {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.sub-logo {
    font-size: inherit;
    /* Becomes 1.8rem like parent */
    font-weight: 700;
    color: #1b3b5a;
    /* Dark Blue */
    margin-left: 0.2rem;
}

nav a {
    margin-left: var(--spacing-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    border: 2px solid var(--color-text);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #1b3b5a;
    /* Same Blue as Counselling text */
    border-color: #1b3b5a;
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
    overflow: hidden;
    padding-top: var(--spacing-xl);
    padding-bottom: 8rem;
    /* Added generous spacing at the bottom */
    /* Offset for fixed header if needed */
}

/* Abstract Organic Background Shapes */
.hero-bg-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape-blob-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--color-clay), transparent 70%);
    opacity: 0.4;
    filter: blur(60px);
    border-radius: 50%;
    animation: drift 20s infinite alternate;
}

.shape-blob-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-soft-blue), transparent 70%);
    opacity: 0.3;
    filter: blur(50px);
    border-radius: 50%;
    animation: drift 25s infinite alternate-reverse;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 20px);
    }
}

.hero-content {
    position: relative;
    /* Above shapes */
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Responsive typography */
    font-weight: 700;
    /* Fraunces bold */
    margin-bottom: 2.5rem;
    /* Increased from 1.5rem */
    color: var(--color-text);
    font-variation-settings: "SOFT" 50, "WONK" 1;
}

.highlight {
    color: var(--color-primary);
    font-style: italic;
    position: relative;
    display: inline-block;
}

/* Underline effect for 'Crisis' */
.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 15px;
    background-color: var(--color-golden);
    /* Use variable if defined, or raw hex */
    background-color: rgba(221, 200, 108, 0.4);
    /* Based on palette */
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    /* Increased from var(--spacing-md) which was 3rem */
    color: #555;
    font-weight: 400;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    /* Increased gap */
    margin-bottom: 5rem;
    /* Increased from 3rem */
}

.phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #1b3b5a;
    /* Matches Counselling text */
    color: #fff;
    padding: 1.2rem 3.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(27, 59, 90, 0.4);
    /* Glow */
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.phone-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(27, 59, 90, 0.5);
    color: #fff;
    background-color: #142d45;
    /* Darker shade */
}

.cta-subtext {
    font-size: 0.95rem;
    color: #666;
    letter-spacing: 0.05em;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Audio Player - Redesigned */
.audio-player-container {
    background: #fff;
    padding: 2rem 2.5rem;
    /* Increased padding */
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    display: inline-block;
    min-width: 400px;
    /* Slightly wider */
    border-left: 5px solid var(--color-primary);
}

.audio-label {
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.play-btn:hover {
    background-color: #263830;
    /* Darker green */
}

.progress-bar-container {
    flex-grow: 1;
    height: 6px;
    background-color: #eee;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--color-primary);
    /* Ember */
    width: 0%;
    border-radius: 10px;
}

.time {
    font-variant-numeric: tabular-nums;
    font-size: 0.85rem;
    color: #888;
}

/* About Section & General Sections */
section {
    position: relative;
}

.about-section {
    padding: var(--spacing-xl) 0;
    /* Background Image with Warm Gradient Overlay to compliment the Peace River tones */
    background: linear-gradient(to right, rgba(27, 59, 90, 0.85) 0%, rgba(27, 59, 90, 0.6) 50%, rgba(27, 59, 90, 0.3) 100%),
        url('peace-river.png');
    /* Autumn river backup */
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-color: #1b3b5a;
    color: #fff;
    /* Ensure text is light on dark overlay */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    /* White headings */
}

.lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-clay);
    /* Use Clay for accent text */
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    /* Light text */
}

.about-visual {
    /* Hide the old art composition since the background is now the visual */
    display: none;
}


/* Process Section */
.process-section {
    padding: var(--spacing-xl) 0;
    background-color: #fff;
    /* Clean white break */
    border-radius: var(--radius-lg);
    margin: 0 var(--spacing-sm);
    /* Inset section */
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background-color: var(--color-bg);
    /* Sandstone cards */
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(188, 100, 46, 0.2);
    /* Subtle Ember border */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

/* Service Area */
.service-area-section {
    padding: var(--spacing-xl) 0;
    background-color: #1b3b5a;
    /* Same Blue as Counselling text */
    color: #fcefe3;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Texture overlay */
.service-area-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 30px 30px;
}

.service-area-section h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.location-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    /* Keep spacing consistent */
    list-style: none;
    /* Ensure no bullets */
    padding: 0;
    margin-bottom: 3rem;
}

.location-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.location-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.final-cta {
    background: #fff;
    color: #1b3b5a;
    /* Same Blue as Counselling text */
    display: inline-block;
    padding: 2rem 4rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.final-cta p {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    /* Ember text */
}

.big-phone-link {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #1b3b5a;
    /* Same Blue as Counselling text */
}

/* Services Section */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-alt);
}

.services-intro {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    line-height: 1.6;
    color: var(--color-secondary);
    font-weight: 500;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    /* Back to Forest Green */
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.service-item p {
    font-size: 0.95rem;
    color: #000;
    /* Dark Black */
    line-height: 1.6;
}

.service-placeholder {
    min-height: 1px;
}

/* Focus Areas */
.focus-areas-container {
    background-color: #1b3b5a;
    /* Same Blue as Counselling text */
    color: #fff;
    padding: 4rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern for focus areas */
.focus-areas-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30c0-16.569 13.431-30 30-30s0 0 0 0c-16.569 0-30 13.431-30 30s-13.431-30-30-30S0 0 0 0c16.569 0 30 13.431 30 30z' fill='%23ffffff' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.focus-areas-container h3 {
    color: #fff;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
}

.focus-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.focus-list li {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.2rem 1.8rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}

.focus-list li:hover {
    background: rgba(255, 255, 255, 0.15);
}

.focus-list li::before {
    content: '◈';
    margin-right: 1.2rem;
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* Footer & General Sections Spacing */
.site-footer {
    background-color: #202020;
    color: #888;
    padding: 3rem 0;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .service-placeholder {
        display: none;
    }

    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav a {
        margin-left: 0;
        font-size: 0.85rem;
    }

    .site-header {
        position: relative;
        padding: 1.5rem 0;
    }

    .hero {
        text-align: center;
        padding-top: 2rem;
        min-height: auto;
    }

    h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .audio-player-container {
        min-width: unset;
        width: 100%;
        padding: 1.5rem;
    }

    .about-grid,
    .services-list,
    .focus-list,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .process-section {
        margin: 0;
        border-radius: 0;
    }

    .focus-areas-container {
        padding: 2rem 1.5rem;
    }

    .focus-areas-container h3 {
        font-size: 2rem;
    }

    .location-list {
        gap: 1rem;
    }

    .phone-cta {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .final-cta {
        padding: 1.5rem 2rem;
    }

    .big-phone-link {
        font-size: 1.8rem;
    }
}

/* Interactive Hero Canvas */
#calmCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content */
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
    /* Pass clicks to canvas */
}

/* Re-enable pointer events for interactive elements */
.hero-content a,
.hero-content button,
.custom-audio-player,
.audio-player-container,
.hero-content .cta-wrapper {
    pointer-events: auto;
}