@font-face {
    font-family: 'Housky Demo';
    src: url('../fonts/Housky Demo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Custom styles for MEGA */

body { 
    font-family: 'Manrope', sans-serif;
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
    background-color: #ffffff; /* Refined white background */
    color: #1b1c19; 
    margin: 0;
}

.font-serif { 
    font-family: 'Noto Serif', serif;
    src: url('../fonts/NotoSerif-Medium') format('truetype');
}

.material-symbols-outlined { 
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; 
}
.main-canvas {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff; /* Pure white background */
    position: relative;
    box-shadow: 0 0 120px rgba(0,0,0,0.04); /* Subtler wellness shadow */
    overflow-x: hidden;
}

.main-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .main-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Halftone Dot Variants */
.bg-dots-base {
    background-image: radial-gradient(#14b8a6 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.3;
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 1; /* Sit behind text but on top of base image/gradient */
}

.bg-dots-left {
    -webkit-mask-image: linear-gradient(to right, black 10%, transparent 60%);
    mask-image: linear-gradient(to right, black 10%, transparent 60%);
}

.bg-dots-full {
    /* No mask or very wide mask for all-over coverage */
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 95%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 95%);
}

.bg-dots-top {
    -webkit-mask-image: linear-gradient(to bottom, black 5%, transparent 40%);
    mask-image: linear-gradient(to bottom, black 5%, transparent 40%);
}

/* Scroll Indicator */
.scroll-indicator-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 42px); /* Centered on the bottom edge */
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.scroll-indicator-backdrop {
    position: absolute;
    top: -18px; /* Offset to center a 120px backdrop behind the 84px button */
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.08);
}

.scroll-indicator-button {
    pointer-events: auto;
    position: relative;
    z-index: 10;
    width: 84px;
    height: 84px;
    background: white;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.scroll-indicator-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 36px rgba(20, 184, 166, 0.15);
}

.scroll-indicator-line {
    width: 1px;
    height: 80px;
    background-color: #cbd5e1;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.scroll-indicator-dot {
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes scroll-wheel-anim {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(5px); opacity: 0.2; }
    100% { transform: translateY(0); opacity: 1; }
}

.animate-scroll-wheel {
    animation: scroll-wheel-anim 2s ease-in-out infinite;
}

/* Hero Banner Refinements */
.hero-edge-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    /* Subtler top fade ONLY for nav legibility - matches new light gray background */
    background: linear-gradient(to bottom, #f4f4f4 0%, rgba(244, 244, 244, 0.7) 12%, transparent 35%);
}

.hero-image-mask {
    /* Pushing the subjects further right and starting the fade earlier for text legibility */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 75%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 75%);
}

.dotted-wave-container {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

.dotted-wave {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#14b8a6 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    /* Wave mask for the dots */
    -webkit-mask-image: linear-gradient(to right, black 30%, transparent 80%), 
                        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0C150 200 50 500 200 700C350 900 250 1000 250 1000H0V0Z' fill='black'/%3E%3C/svg%3E");
    mask-image: linear-gradient(to right, black 30%, transparent 80%),
                url("data:image/svg+xml,%3Csvg viewBox='0 0 400 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0C150 200 50 500 200 700C350 900 250 1000 250 1000H0V0Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.hero-content-shift {
    /* Pushes content down from navigation but stays away from bottom wave */
    padding-top: 40vh !important;
    padding-bottom: 20vh !important;
}

/* Background Utility for Separation */
.bg-light-teal {
    background-color: #e8f4f2 !important;
}

@media (max-width: 1024px) {
    .hero-content-shift {
        padding-top: 35vh !important;
        padding-bottom: 15vh !important;
    }
}



