@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');

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

:root {
    --color-blue: #1e3a5f;
    --color-blue-dark: #152a45;
    --color-blue-light: #2a4a73;
    --color-cream: #f5f1eb;
    --color-cream-dark: #e8e2d9;
    --color-white: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #555;
    /* Accent colors for page variety - ocean/natural palette */
    --color-slate: #4a5568;
    --color-slate-dark: #3d4654;
    --color-slate-light: #5a6578;
    --color-ocean: #2d5a5a;
    --color-ocean-dark: #264a4a;
    --color-ocean-light: #3a6b6b;
    --font-body: 'Young Serif', Georgia, serif;
    --max-width: 1200px;
    --nav-height: 80px;
}

html {
    font-size: 18px;
    line-height: 1.7;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    letter-spacing: -0.02em;
    color: var(--color-text);
    background-color: var(--color-cream);
    min-height: 100vh;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--color-blue);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
}

.nav-logo {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-white);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-social {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-social:hover {
    color: var(--color-white);
}

.nav-contact {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: var(--color-white);
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.nav-contact:hover {
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    padding-top: var(--nav-height);
}

/* Hero Section */
.hero {
    background: var(--color-blue);
    padding-bottom: 4rem;
}

/* Homepage hero - tighter spacing */
.hero-home {
    margin-top: calc(-1 * var(--nav-height));
    padding-top: var(--nav-height);
    position: relative;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-blue);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-blue-light);
}

.top-arrow {
    width: 10px;
    height: 10px;
    border-left: 2px solid white;
    border-top: 2px solid white;
    transform: rotate(45deg) translateY(2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 3rem;
    width: 100%;
}

.hero-content {
    color: var(--color-white);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-content .tagline {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-content .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-white);
    color: var(--color-blue);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section {
    padding: 3rem 3rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

/* My Work Section */
.work-section {
    background: linear-gradient(
        180deg,
        #f8f6f2 0%,
        #f5f1eb 40%,
        #f2ece4 100%
    );
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Topographic pattern overlay */
.work-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cpath d='M 0 200 Q 100 140 200 200 T 400 200' fill='none' stroke='%231e3a5f' stroke-width='1' opacity='0.12'/%3E%3Cpath d='M 0 170 Q 100 110 200 170 T 400 170' fill='none' stroke='%231e3a5f' stroke-width='1' opacity='0.10'/%3E%3Cpath d='M 0 230 Q 100 170 200 230 T 400 230' fill='none' stroke='%231e3a5f' stroke-width='1' opacity='0.10'/%3E%3Cpath d='M 0 140 Q 100 80 200 140 T 400 140' fill='none' stroke='%231e3a5f' stroke-width='1' opacity='0.08'/%3E%3Cpath d='M 0 260 Q 100 200 200 260 T 400 260' fill='none' stroke='%231e3a5f' stroke-width='1' opacity='0.08'/%3E%3Cpath d='M 0 110 Q 100 50 200 110 T 400 110' fill='none' stroke='%231e3a5f' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M 0 290 Q 100 230 200 290 T 400 290' fill='none' stroke='%231e3a5f' stroke-width='1' opacity='0.06'/%3E%3C/svg%3E");
    background-size: 400px 400px;
    pointer-events: none;
    z-index: 0;
}

.work-section .section-inner {
    position: relative;
    z-index: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.work-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 0 40px rgba(180, 140, 100, 0.12);
    background: linear-gradient(135deg, #fffdf9 0%, #fff9f2 100%);
}

/* Work card with background image */
.work-card-image {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.work-card-image .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.4);
    transition: filter 0.5s ease;
    z-index: 0;
}

.work-card-image:hover .card-bg {
    filter: grayscale(30%) brightness(0.5);
}

.work-card-image .card-content {
    position: relative;
    z-index: 1;
}

.work-card-image h3 {
    color: #ffffff !important;
}

.work-card-image p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.work-card-image .card-link {
    color: #ffffff !important;
}

.work-card-image .card-link::after {
    color: #ffffff !important;
}

.work-card-image:hover {
    background: transparent;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
}

/* Facilitation card specific */
.work-card-facilitation .card-bg {
    background-image: url('facilitation-bg.jpg');
}

.work-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--color-blue);
}

.work-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.work-card .card-link {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.work-card .card-link:hover {
    gap: 0.75rem;
}

.work-card .card-link::after {
    content: '→';
}

/* About Section */
.about-section {
    background: var(--color-cream);
    padding: 3.5rem 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.about-label {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.about-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-heading {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.01em;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-link {
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.about-link:hover {
    opacity: 0.7;
}

/* About Page Layout */
.about-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: -0.01em;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.about-text p:first-child {
    font-size: 1.05rem;
    color: var(--color-text);
}

/* Unified text color for about page */
.about-text-unified p,
.about-text-unified p:first-child {
    color: #888;
}

.about-text-unified strong {
    color: var(--color-text);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text a {
    color: var(--color-blue);
    text-decoration: none;
    border-bottom: 1px solid var(--color-blue);
}

.about-text a:hover {
    opacity: 0.8;
}

.about-photo {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.about-photo img {
    width: 100%;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-photo {
        position: static;
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   UNIFIED PAGE STYLE (light nav + cream throughout)
   ============================================ */

.page-unified {
    background: var(--color-cream);
}

/* Light nav variant */
.nav-light {
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-cream-dark);
}

.nav-light .nav-logo {
    color: var(--color-text);
}

.nav-light .nav-links a {
    color: var(--color-text-muted);
}

.nav-light .nav-links a:hover,
.nav-light .nav-links a.active {
    color: var(--color-text);
}

.nav-light .nav-social {
    color: var(--color-text-muted);
}

.nav-light .nav-social:hover {
    color: var(--color-text);
}

.nav-light .nav-contact {
    background: var(--color-blue);
    color: var(--color-white);
}

.nav-light .nav-toggle span {
    background: var(--color-text);
}

/* Unified page header */
.page-unified .page-header {
    background: var(--color-cream);
    padding: 2rem 3rem 1rem;
}

.page-unified .page-header h1 {
    color: var(--color-text);
}

.page-unified .page-header .lead {
    color: var(--color-text-muted);
}

/* Unified content section */
.page-unified .content-section {
    background: var(--color-cream);
}

/* Page Header */
.page-header {
    background: var(--color-blue);
    padding: 3.5rem 3rem 3rem;
}

/* Minimal page header - just the title */
.page-header-minimal {
    padding: 2.5rem 3rem 1.5rem;
}

.page-header-minimal h1 {
    margin-bottom: 0;
}

.page-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    line-height: 1.8;
    letter-spacing: -0.02em;
}

/* ============================================
   NARRATIVE CONTENT - Service Pages
   ============================================ */

.narrative-content {
    max-width: 680px;
    margin-bottom: 3rem;
}

.narrative-content p {
    font-size: 1rem;
    line-height: 1.85;
    letter-spacing: -0.01em;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.narrative-lead {
    font-size: 1.15rem !important;
    color: var(--color-text) !important;
    line-height: 1.75 !important;
    margin-bottom: 2rem !important;
}

.narrative-cta {
    margin-top: 2rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-cream-dark);
}

.narrative-cta a {
    color: var(--color-blue);
    text-decoration: none;
    border-bottom: 1px solid var(--color-blue);
    transition: opacity 0.2s ease;
}

.narrative-cta a:hover {
    opacity: 0.7;
}

/* Facilitation phases styling */
.facilitation-phases {
    background: var(--color-cream);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 1.5rem 0 2rem;
}

.facilitation-phases p {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
    padding-left: 0;
}

.facilitation-phases p:last-child {
    margin-bottom: 0 !important;
}

.facilitation-phases strong {
    color: var(--color-blue);
}

/* Content Section */
.content-section {
    background: var(--color-white);
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-blue);
    margin-bottom: 1.25rem;
}

.content-section p {
    color: var(--color-text-muted);
    line-height: 1.8;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    max-width: 720px;
}

/* Services Grid (for subpages) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    padding: 2rem;
    background: var(--color-cream);
    border-radius: 8px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--color-blue);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    letter-spacing: -0.02em;
}

/* Service Page Styles */
.service-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: -0.02em;
    color: var(--color-text-muted);
    max-width: 720px;
}

.service-section {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.service-section:last-of-type {
    border-bottom: none;
}

.service-section h2 {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.service-section:first-child {
    padding-top: 0;
}

.service-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: -0.01em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    max-width: 640px;
}

.service-section p:last-of-type {
    margin-bottom: 0;
}

/* Featured Work - Program Design page */
.featured-work {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 1.5rem;
}

.featured-project {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.featured-project:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}

.featured-project:nth-child(even) .featured-media {
    order: 2;
}

.featured-project:nth-child(even) .featured-content {
    order: 1;
}

.featured-media {
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video thumbnail with play button */
.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.03);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.featured-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h3 {
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.featured-content .client {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.featured-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    max-width: none;
}

.featured-link {
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
}

.featured-link:hover {
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .featured-project,
    .featured-project:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .featured-project:nth-child(even) .featured-media,
    .featured-project:nth-child(even) .featured-content {
        order: unset;
    }

    .featured-content {
        padding: 1.5rem;
    }
}

/* Recent Work Grid */
.work-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.work-example {
    background: var(--color-white);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--color-border);
}

.work-example h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.work-example .client {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.work-example p {
    font-size: 0.9rem;
    line-height: 1.75;
    letter-spacing: -0.01em;
    color: var(--color-text-muted);
    max-width: none;
}

@media (max-width: 768px) {
    .work-examples {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.testimonials-section {
    background: var(--color-blue);
    padding: 4rem 3rem;
}

.testimonials-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.testimonial {
    background: var(--color-blue-light);
    padding: 2rem;
    border-radius: 8px;
}

.testimonial p {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--color-white);
}

.testimonial cite {
    font-size: 0.9rem;
    font-style: normal;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
    background: var(--color-blue-dark);
    padding: 3rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3.25rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Program Design Page - Special Effects */

/* Breathing animation for section headings */
.service-section h2 {
    animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Emergence glow effect on work example cards */
.emergence-card {
    position: relative;
    overflow: hidden;
}

.emergence-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
    pointer-events: none;
}

.emergence-card:hover::before {
    width: 200%;
    height: 200%;
}

/* Count-up number styling */
.count-up {
    font-variant-numeric: tabular-nums;
}

/* Hidden mindfulness bell */
.mindfulness-bell {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-cream);
    border: 1px solid var(--color-cream-dark);
    color: #E67E22;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.mindfulness-bell:hover {
    opacity: 1;
    color: #D35400;
}

.mindfulness-bell.ringing {
    animation: ring 0.6s ease;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-10deg); }
}

/* Bell overlay */
.bell-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 58, 95, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 2000;
    cursor: pointer;
}

.bell-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bell-quote {
    text-align: center;
    color: var(--color-white);
    max-width: 500px;
    padding: 2rem;
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.bell-overlay.active .bell-quote {
    transform: scale(1);
}

.bell-quote p {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bell-quote cite {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* U Journey scroll indicator */
.u-journey {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 80px;
    opacity: 0.35;
    z-index: 50;
    pointer-events: none;
    transition: opacity 0.3s;
}

.u-journey:hover {
    opacity: 0.6;
}

.u-journey svg {
    width: 100%;
    height: 100%;
}

.u-path-bg {
    fill: none;
    stroke: var(--color-blue);
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0.2;
}

.u-path-bg.u-arrow {
    stroke-width: 1.5;
    stroke-linejoin: round;
    opacity: 0.15;
}

.u-path {
    fill: none;
    stroke: var(--color-blue);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.u-path.u-path-arrow {
    stroke-width: 1.5;
    stroke-linejoin: round;
}

/* Ripple effect */
.ripple-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.ripple {
    position: fixed;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: rippleExpand 1s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}


/* Hide effects on mobile for performance */
@media (max-width: 768px) {
    .u-journey,
    .mindfulness-bell {
        display: none;
    }
}

/* ============================================
   HOMEPAGE - BREATHING EFFECT
   ============================================ */

.breathing-page {
    position: relative;
}

.breath-field {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        ellipse 100% 60% at 50% 20%,
        rgba(30, 58, 95, 0.08) 0%,
        transparent 60%
    );
    animation: breathe-field 6s ease-in-out infinite;
}

@keyframes breathe-field {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.12);
    }
    60% {
        opacity: 1;
        transform: scale(1.12);
    }
}

/* Subtle breathing on hero content */
.breathing-page .hero-content {
    animation: breathe-content 6s ease-in-out infinite;
}

@keyframes breathe-content {
    0%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* Ensure content stays above breath field */
.breathing-page main,
.breathing-page footer {
    position: relative;
    z-index: 1;
}

.breathing-page .nav {
    z-index: 1000;
}

/* ============================================
   HOMEPAGE - DESCENT EFFECT (SCROLL JOURNEY)
   ============================================ */

.descent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    transition: background 0.3s ease;
}

/* ============================================
   HOMEPAGE - CURSOR PRESENCE (RIPPLES)
   ============================================ */

.cursor-field {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.cursor-ripple {
    position: fixed;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(30, 58, 95, 0.10) 0%,
        rgba(30, 58, 95, 0.05) 40%,
        transparent 70%
    );
    animation: ripple-expand 1.8s ease-out forwards;
}

@keyframes ripple-expand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 250px;
        height: 250px;
        opacity: 0;
    }
}

/* Disable cursor effects on mobile/touch */
@media (hover: none) {
    .cursor-field {
        display: none;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .cursor-ripple,
    .breath-field,
    .breathing-page .hero-content {
        animation: none;
    }

    .descent-overlay {
        display: none;
    }
}

/* ============================================
   STRATEGY PAGE - THEMATIC DESIGN ELEMENTS
   ============================================ */

/* === FOG CLEARING EFFECT === */
.strategy-header {
    position: relative;
    overflow: hidden;
}

.fog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.strategy-header .page-header-inner {
    position: relative;
    z-index: 2;
}

/* === HORIZON LINE PARALLAX === */
.horizon-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%
    );
    z-index: 3;
}

/* === SECTION TRANSITIONS === */
.section-hidden {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
    opacity: 1;
    transform: translateX(0);
}

/* === DEEP LISTENING CURSOR === */
.deep-listening {
    position: relative;
    transition: color 0.3s ease;
}

.deep-listening::before {
    content: '';
    position: absolute;
    inset: -4px -8px;
    background: rgba(30, 58, 95, 0.05);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.deep-listening:hover::before {
    opacity: 1;
}

.listening-cursor,
.listening-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10' opacity='0.3'/%3E%3Ccircle cx='12' cy='12' r='6' opacity='0.5'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E") 12 12, auto !important;
}

/* === RESPONSIVE: Disable effects on mobile === */
@media (max-width: 768px) {
    .fog-overlay,
    .horizon-line {
        display: none;
    }

    .section-hidden {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   END STRATEGY PAGE STYLES
   ============================================ */

/* ============================================
   STRATEGY PAGE
   ============================================ */

/* Uses default blue theme - no overrides needed */

/* ============================================
   FACILITATION PAGE
   ============================================ */

/* Uses default blue theme - no overrides needed */

/* ============================================
   PROGRAM DESIGN PAGE - DEEP BLUE THEME
   ============================================ */

.page-program-design .nav {
    background: var(--color-blue);
}

.page-program-design .nav-contact {
    background: var(--color-white);
    color: var(--color-blue);
}

.page-program-design .page-header {
    background: var(--color-blue);
}

.page-program-design footer {
    background: var(--color-blue-dark);
}

.page-program-design .back-to-top {
    background: var(--color-blue);
}

.page-program-design .back-to-top:hover {
    background: var(--color-blue-light);
}

.page-program-design .mindfulness-bell {
    color: var(--color-blue);
}

.page-program-design .mindfulness-bell:hover {
    color: var(--color-blue-dark);
}

/* ============================================
   ABOUT PAGE - CREAM/WARM THEME
   ============================================ */

.page-about .nav {
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-cream-dark);
}

.page-about .nav-logo {
    color: var(--color-text);
}

.page-about .nav-links a {
    color: var(--color-text-muted);
}

.page-about .nav-links a:hover,
.page-about .nav-links a.active {
    color: var(--color-text);
}

.page-about .nav-social {
    color: var(--color-text-muted);
}

.page-about .nav-social:hover {
    color: var(--color-text);
}

.page-about .nav-contact {
    background: var(--color-blue);
    color: var(--color-white);
}

.page-about .nav-toggle span {
    background: var(--color-text);
}

.page-about .page-header {
    background: var(--color-cream);
    padding: 2.5rem 3rem 1.5rem;
}

.page-about .page-header h1 {
    color: var(--color-text);
}

.page-about .content-section {
    background: var(--color-cream);
}

.page-about .about-section {
    background: var(--color-cream);
}

/* "Practice in presence" wave effect */
.presence-moment {
    position: relative;
    cursor: default;
    transition: color 0.4s ease;
    color: #888;
}

.presence-moment:hover {
    color: var(--color-blue);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    min-height: calc(100vh - var(--nav-height) - 150px);
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-intro h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.contact-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 400px;
}

.contact-form-container {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-cream-dark);
    border-radius: 4px;
    background: var(--color-cream);
    color: var(--color-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    padding: 1rem 2rem;
    background: var(--color-blue);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-intro {
        text-align: center;
    }

    .contact-intro p {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Thank you page */
.thank-you-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.thank-you-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.thank-you-content .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-blue);
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thank-you-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Swell line SVG */
.presence-swell-svg {
    display: inline;
    vertical-align: middle;
    overflow: visible;
}

.swell-path {
    fill: none;
    stroke: var(--color-blue);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .page-facilitation .page-header::before,
    .page-facilitation .page-header::after {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    .nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-blue);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-top: 1px solid var(--color-blue-light);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-blue-light);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--color-white) !important;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        order: 2;
        margin-left: auto;
        margin-right: 0.75rem;
        z-index: 1001;
        position: relative;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        border-radius: 4px;
    }

    .nav-toggle:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-toggle span {
        width: 20px;
        height: 2px;
        margin: 3px 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-right {
        order: 3;
    }

    .nav-social {
        display: none;
    }

    .nav-contact {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* About page mobile nav - use cream dropdown */
    .page-about .nav-links {
        background: var(--color-cream);
        border-top: 1px solid var(--color-cream-dark);
    }

    .page-about .nav-links li {
        border-bottom: 1px solid var(--color-cream-dark);
    }

    .page-about .nav-links a {
        color: var(--color-text-muted) !important;
    }

    .page-about .nav-links a:hover,
    .page-about .nav-links a.active {
        color: var(--color-text) !important;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 280px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .page-header {
        padding: 3.5rem 1.5rem 3rem;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .testimonials-section {
        padding: 3rem 1.5rem;
    }

    footer {
        padding: 2rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
