/* ========================================
   Two Loons Consulting - Layout
   RUGGED NORTH - Bold Sections with Wood & Loon Accents
   ======================================== */

/* ==========================================
   WOOD TEXTURE BACKGROUND LAYER
   ========================================== */

.ambient-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.pine-silhouette {
    display: none;
}

/* Wood grain texture overlay */
.lake-reflection {
    position: absolute;
    inset: 0;
    background-image:
        /* Horizontal wood grain lines */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(139, 106, 58, 0.015) 40px,
            rgba(139, 106, 58, 0.015) 41px
        ),
        /* Vertical grain variation */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(139, 106, 58, 0.01) 80px,
            rgba(139, 106, 58, 0.01) 82px
        );
    opacity: 1;
}

.aurora-glow {
    display: none;
}

/* ==========================================
   HERO SECTION - BOLD & COMMANDING
   ========================================== */

.hero {
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.logo-text-large {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--bark-black);
    text-transform: uppercase;
}

.logo-text-large .logo-accent {
    color: var(--lake-midnight);
    display: block;
}

.title-tagline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bark-black);
    margin-top: var(--space-sm);
    padding: 0.5rem 1rem;
    background: var(--timber-gold);
    border: var(--border-thick) solid var(--bark-black);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 500px;
    margin-bottom: var(--space-lg);
    line-height: 1.75;
    border-left: var(--border-heavy) solid var(--pine-deep);
    padding-left: var(--space-md);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
}

/* ==========================================
   LAKE SCENE - BOLD CARD WITH LOON ACCENTS
   ========================================== */

.lake-scene-side {
    position: relative;
    width: 100%;
}

.lake-container {
    position: relative;
    width: 100%;
    height: 320px;
    border: var(--border-heavy) solid var(--bark-black);
    overflow: hidden;
    box-shadow: var(--shadow-brutal);
    cursor: pointer;
}

.scene-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg,
        #0a1410 0%,
        #0f2318 40%,
        #1a3d28 100%
    );
    pointer-events: none;
}

.scene-treeline {
    position: absolute;
    bottom: 55%;
    left: 0;
    right: 0;
    height: 30%;
    color: var(--pine-black);
    z-index: 2;
    pointer-events: none;
}

.scene-treeline svg {
    width: 100%;
    height: 100%;
    display: block;
}

.scene-water {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58%;
    background: linear-gradient(180deg,
        #0a1820 0%,
        #0f2a38 40%,
        #1a4a5f 100%
    );
    z-index: 1;
    pointer-events: none;
}

.scene-loons {
    position: absolute;
    bottom: 8%;
    left: 0;
    right: 0;
    height: 50%;
    z-index: 3;
    pointer-events: none;
}

.loon {
    position: absolute;
    color: var(--cream-warm);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.loon-1 {
    width: 50px;
    height: 33px;
    left: 20%;
    top: 30%;
}

.loon-2 {
    width: 42px;
    height: 28px;
    left: 55%;
    top: 45%;
}

/* Lake flow element - connects to services */
.lake-flow {
    display: none;
}

/* Water Splash Effect */
.water-splash {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    transform: translate(-50%, -50%);
}

/* Full-surface wave that expands across entire water */
.splash-wave {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: waveExpand 1.8s ease-out forwards;
}

.splash-wave:nth-child(1) { border-color: rgba(255, 255, 255, 0.5); }
.splash-wave:nth-child(2) { border-color: rgba(200, 230, 255, 0.4); }
.splash-wave:nth-child(3) { border-color: rgba(150, 200, 230, 0.35); }
.splash-wave:nth-child(4) { border-color: rgba(120, 180, 220, 0.3); }
.splash-wave:nth-child(5) { border-color: rgba(100, 160, 200, 0.2); }

@keyframes waveExpand {
    0% {
        width: 20px;
        height: 20px;
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        width: var(--max-size, 600px);
        height: var(--max-size, 600px);
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Initial ripple rings at click point */
.splash-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleExpand 0.6s ease-out forwards;
}

.splash-ripple:nth-child(6) { border-color: rgba(200, 220, 235, 0.6); }
.splash-ripple:nth-child(7) { border-color: rgba(180, 210, 230, 0.5); }
.splash-ripple:nth-child(8) { border-color: rgba(160, 200, 225, 0.4); }

@keyframes rippleExpand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(6);
        opacity: 0;
    }
}

/* Water droplets */
.splash-droplet {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: droplet1 0.6s ease-out forwards;
}

.splash-droplet:nth-child(9) { animation-name: droplet1; }
.splash-droplet:nth-child(10) { animation-name: droplet2; }
.splash-droplet:nth-child(11) { animation-name: droplet3; }
.splash-droplet:nth-child(12) { animation-name: droplet4; }
.splash-droplet:nth-child(13) { animation-name: droplet5; }
.splash-droplet:nth-child(14) { animation-name: droplet6; }
.splash-droplet:nth-child(15) { animation-name: droplet7; }
.splash-droplet:nth-child(16) { animation-name: droplet8; }

@keyframes droplet1 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(18px, -40px) scale(0); opacity: 0; }
}

@keyframes droplet2 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(35px, -25px) scale(0); opacity: 0; }
}

@keyframes droplet3 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(25px, -45px) scale(0); opacity: 0; }
}

@keyframes droplet4 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-18px, -40px) scale(0); opacity: 0; }
}

@keyframes droplet5 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-35px, -28px) scale(0); opacity: 0; }
}

@keyframes droplet6 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-22px, -50px) scale(0); opacity: 0; }
}

@keyframes droplet7 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(5px, -55px) scale(0); opacity: 0; }
}

@keyframes droplet8 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-8px, -48px) scale(0); opacity: 0; }
}

/* Loon bobbing animation when water is disturbed */
.loon-bobbing {
    animation: loonBob 0.8s ease-in-out !important;
}

.loon-svg-bobbing {
    animation: loonSvgBob 1s ease-in-out !important;
    transform-origin: center center;
}

@keyframes loonBob {
    0% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-4px) rotate(-2deg); }
    40% { transform: translateY(3px) rotate(1deg); }
    60% { transform: translateY(-2px) rotate(-1deg); }
    80% { transform: translateY(1px) rotate(0.5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes loonSvgBob {
    0% { transform: translateY(0); }
    15% { transform: translateY(-6px); }
    30% { transform: translateY(4px); }
    45% { transform: translateY(-3px); }
    60% { transform: translateY(2px); }
    75% { transform: translateY(-1px); }
    100% { transform: translateY(0); }
}


/* ==========================================
   SERVICES SECTION - REFINED EDITORIAL
   ========================================== */

.services {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(180deg,
        var(--cream-pure) 0%,
        #f8f5f0 50%,
        var(--cream-warm) 100%
    );
    margin: 0;
    max-width: none;
}

/* Elegant top border accent */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--lake-midnight) 0%,
        var(--lake-steel) 25%,
        var(--timber-gold) 50%,
        var(--lake-steel) 75%,
        var(--lake-midnight) 100%
    );
}

/* Subtle wave pattern at bottom */
.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q150 20 300 40 T600 40 T900 40 T1200 40 V80 H0 Z' fill='%231a4a5f' opacity='0.06'/%3E%3Cpath d='M0 50 Q150 30 300 50 T600 50 T900 50 T1200 50 V80 H0 Z' fill='%231a4a5f' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 1200px 80px;
    background-repeat: repeat-x;
    pointer-events: none;
}

.services .section-label {
    background: var(--lake-midnight);
    color: var(--cream-warm);
    border-color: var(--lake-deep);
}

.services .section-label::before {
    color: var(--timber-gold);
}

.services .section-title em {
    color: var(--lake-midnight);
}

/* ==========================================
   TEAM SECTION - REFINED EDITORIAL
   ========================================== */

.team {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    background: linear-gradient(180deg,
        var(--cream-pure) 0%,
        #f8f5f0 50%,
        var(--cream-warm) 100%
    );
    margin: 0;
    max-width: none;
}

/* Elegant top border accent */
.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--lake-midnight) 0%,
        var(--lake-steel) 25%,
        var(--timber-gold) 50%,
        var(--lake-steel) 75%,
        var(--lake-midnight) 100%
    );
}

/* Subtle wave pattern at bottom */
.team::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q150 20 300 40 T600 40 T900 40 T1200 40 V80 H0 Z' fill='%231a4a5f' opacity='0.06'/%3E%3Cpath d='M0 50 Q150 30 300 50 T600 50 T900 50 T1200 50 V80 H0 Z' fill='%231a4a5f' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 1200px 80px;
    background-repeat: repeat-x;
    pointer-events: none;
}

.team-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.team-intro {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.75;
    padding: var(--space-sm) 0;
    margin-top: var(--space-md);
}

.team .section-label {
    background: var(--lake-midnight);
    color: var(--cream-warm);
    border-color: var(--lake-deep);
}

.team .section-label::before {
    color: var(--timber-gold);
}

.team .section-title em {
    color: var(--lake-midnight);
}

/* ==========================================
   ABOUT SECTION - REFINED EDITORIAL
   ========================================== */

.about {
    background: linear-gradient(180deg,
        var(--cream-pure) 0%,
        #f8f5f0 50%,
        var(--cream-warm) 100%
    );
    color: var(--text-primary);
    padding: var(--space-3xl) var(--space-lg);
    margin: 0;
    max-width: none;
    position: relative;
    overflow: hidden;
}

/* Elegant top border accent */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--lake-midnight) 0%,
        var(--lake-steel) 25%,
        var(--timber-gold) 50%,
        var(--lake-steel) 75%,
        var(--lake-midnight) 100%
    );
}

/* Subtle wave pattern at bottom */
.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q150 20 300 40 T600 40 T900 40 T1200 40 V80 H0 Z' fill='%231a4a5f' opacity='0.06'/%3E%3Cpath d='M0 50 Q150 30 300 50 T600 50 T900 50 T1200 50 V80 H0 Z' fill='%231a4a5f' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 1200px 80px;
    background-repeat: repeat-x;
    pointer-events: none;
}

.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
}

.about .section-label {
    background: var(--lake-midnight);
    color: var(--cream-warm);
    border-color: var(--lake-deep);
}

.about .section-label::before {
    color: var(--timber-gold);
}

.about .section-title {
    color: var(--bark-black);
    margin-bottom: var(--space-lg);
}

.about .section-title em {
    color: var(--lake-midnight);
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.about-body p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.85;
    position: relative;
    padding-left: var(--space-md);
    border-left: 3px solid var(--lake-steel);
    background: transparent;
    text-shadow: none;
    backdrop-filter: none;
}

.about-body p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--bark-black);
    border-left-color: var(--timber-gold);
    border-left-width: 4px;
}

.about-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: none;
    position: relative;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--timber-gold), transparent);
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--lake-midnight);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Decorative frame around animation */
.about-visual::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px solid var(--lake-steel);
    opacity: 0.2;
    pointer-events: none;
}

.visual-composition {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(26, 74, 95, 0.25),
        0 12px 24px -8px rgba(10, 20, 16, 0.15),
        inset 0 0 0 1px rgba(196, 154, 74, 0.3);
    cursor: pointer;
}

.comp-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.comp-forest {
    background: linear-gradient(180deg,
        #0f1a14 0%,
        var(--pine-deep) 60%,
        var(--pine-rich) 100%
    );
}

.comp-water {
    top: 45%;
    background: linear-gradient(180deg,
        var(--lake-abyss) 0%,
        var(--lake-deep) 40%,
        var(--lake-midnight) 100%
    );
}

.comp-overlay {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(196, 154, 74, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(74, 168, 197, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Loon Animation Scene */
.loon-scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.loon-animation {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loon-main {
    transform-origin: center center;
}

/* Subtle head movement */
@keyframes loonHeadTurn {
    0%, 100% { transform: rotate(0deg); }
    30% { transform: rotate(-2deg); }
    70% { transform: rotate(2deg); }
}

/* Water shimmer effect */
@keyframes waterShimmer {
    0%, 100% { opacity: 0.3; transform: translateX(-10px); }
    50% { opacity: 0.6; transform: translateX(10px); }
}

/* ==========================================
   CONTACT SECTION - REFINED EDITORIAL
   ========================================== */

.contact {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    background: linear-gradient(180deg,
        var(--cream-pure) 0%,
        #f8f5f0 50%,
        var(--cream-warm) 100%
    );
    margin: 0;
    max-width: none;
}

/* Elegant top border accent */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--lake-midnight) 0%,
        var(--lake-steel) 25%,
        var(--timber-gold) 50%,
        var(--lake-steel) 75%,
        var(--lake-midnight) 100%
    );
}

/* Subtle wave pattern at bottom */
.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q150 20 300 40 T600 40 T900 40 T1200 40 V80 H0 Z' fill='%231a4a5f' opacity='0.06'/%3E%3Cpath d='M0 50 Q150 30 300 50 T600 50 T900 50 T1200 50 V80 H0 Z' fill='%231a4a5f' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 1200px 80px;
    background-repeat: repeat-x;
    pointer-events: none;
}

.contact-header {
    text-align: center;
    max-width: 550px;
    margin: 0 auto var(--space-xl);
}

.contact .section-label {
    background: var(--lake-midnight);
    color: var(--cream-warm);
    border-color: var(--lake-deep);
}

.contact .section-label::before {
    color: var(--timber-gold);
}

.contact .section-title em {
    color: var(--lake-midnight);
}

.contact-header p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.7;
    padding-top: var(--space-sm);
    margin-top: var(--space-md);
}

/* ==========================================
   FOOTER - DARK TIMBER
   ========================================== */

.main-footer {
    background: var(--bark-black);
    color: var(--cream-warm);
    padding: var(--space-xl) var(--space-lg) var(--space-md);
    border-top: var(--border-heavy) solid var(--timber-gold);
    position: relative;
}

/* Wood grain texture */
.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 25px,
            rgba(139, 106, 58, 0.02) 25px,
            rgba(139, 106, 58, 0.02) 26px
        );
    pointer-events: none;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: var(--border-thick) solid rgba(196, 154, 74, 0.2);
    position: relative;
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-icon {
    color: var(--timber-gold);
}

.footer-brand .logo-text {
    color: var(--cream-warm);
}

.footer-tagline {
    color: rgba(245, 239, 229, 0.5);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-col h5 {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--timber-gold);
    margin-bottom: var(--space-sm);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(196, 154, 74, 0.3);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    color: rgba(245, 239, 229, 0.7);
    font-size: 0.85rem;
    font-weight: 700;
    transition: color var(--transition-snap);
}

.footer-col a:hover {
    color: var(--timber-gold);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    position: relative;
}

.footer-bottom p {
    color: rgba(245, 239, 229, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: rgba(245, 239, 229, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
    transition: color var(--transition-snap);
}

.footer-legal a:hover {
    color: var(--timber-gold);
}
