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

/* Variables */
:root {
    --emerald: #0B4F3A;
    --cream: #F5F5DC;
    --brass: #C4A484;
    --text-dark: #1a1a1a;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}



/* Navbar */
/* =========================
   NAVBAR BASE
========================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;

    background-color: rgba(11, 79, 58, 0.92);
    backdrop-filter: blur(12px);

    padding: 5px 0;
    border-bottom: 2px solid rgba(255,255,255,0.08);

    transition: padding 0.3s ease;
}

/* Prevent content hiding under navbar */
body {
    padding-top: 80px;
}

/* =========================
   CONTAINER
========================= */

.nav-container {
    width: 92%;
    max-width: 1250px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   LOGO (IMAGE)
========================= */

.logo img {
    height: 62px;
    width: auto;
    display: block;
}

/* =========================
   NAV LINKS
========================= */

.nav-links {
    list-style: none;
    display: flex;
    gap: 26px;
}

.nav-links a {
    text-decoration: none;
    color: white;

    font-size: 0.92rem;
    letter-spacing: 0.3px;

    position: relative;
    transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0%;
    height: 1px;
    background-color: var(--brass);

    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brass);
}

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




/* =========================
   PREORDER BANNER (FIXED VERSION)
========================= */

.preorder-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    padding: 4px 16px;
    font-size: 0.75rem;

    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.1);

    color: rgba(255,255,255,0.9);
}

.preorder-banner span {
    color: var(--brass);
}

/* button */
.preorder-banner a {
    text-decoration: none;

    padding: 4px 10px;

    font-size: 0.75rem;

    border: 1px solid var(--brass);
    border-radius: 20px;

    color: var(--brass);

    transition: all 0.25s ease;
}

.preorder-banner a:hover {
    background: var(--brass);
    color: var(--emerald);
}

/* =========================
   NAV CONTAINER
========================= */

.nav-container {
    width: 92%;
    max-width: 1250px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

   padding: 10px 0;
}


/* =========================
   HAMBURGER (HIDDEN DESKTOP)
========================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s ease;
}

/* animation */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}


/* =========================
   TABLET / MOBILE NAV
========================= */

@media (max-width: 900px) {

    /* show hamburger */
    .hamburger {
        display: flex;
    }

    /* stack nav */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        background: rgba(11,79,58,0.98);

        flex-direction: column;
        align-items: center;
        gap: 20px;

        padding: 25px 0;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);

        transition: all 0.3s ease;
    }

    /* active dropdown */
    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* links bigger for touch */
    .nav-links a {
        font-size: 1rem;
    }
}


/* =========================
   SMALL MOBILE POLISH
========================= */

@media (max-width: 600px) {

    .logo img {
        height: 50px;
    }

    .navbar {
        padding: 8px 0;
    }

    body {
        padding-top: 70px;
    }
}


/* =========================
   HERO (CINEMATIC + POLISHED + CAROUSEL FIXED)
========================= */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* =========================
   BACKGROUND IMAGE
========================= */

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url("assets/images/mountainsheader.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);

    z-index: 0;
}

/* =========================
   OVERLAY (EMERALD TINT)
========================= */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        135deg,
        rgba(11, 79, 58, 0.75),
        rgba(11, 79, 58, 0.45)
    );

    z-index: 1;
}

/* =========================
   MAIN WRAPPER
========================= */

.hero-container {
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    width: 92%;
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* =========================
   TEXT CAROUSEL SYSTEM
========================= */

.hero-text {
    flex: 1;
    color: white;
    position: relative;
    min-height: 260px;
}

/* Each slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;

    max-width: 560px;

    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease, transform 0.8s ease;

    z-index: 1;

    pointer-events: none; /* IMPORTANT FIX */
}

/* Active slide */
.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 2;

    pointer-events: auto;
}

/* =========================
   TYPOGRAPHY (FIXED SIZES)
========================= */

.hero-slide h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 14px;
    font-family: 'Playfair Display', serif;
}

.hero-slide p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
}

/* =========================
   BUTTONS (FIXED CLICK ISSUE)
========================= */

.hero-buttons {
    position: relative;
    z-index: 10;
    margin-top: 30px;

    display: flex;
    gap: 14px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: 0.3s ease;
    text-decoration: none;
}

.btn.primary {
    background: var(--emerald);
    color: white;
}

.btn.primary:hover {
    background: #083c2c;
}

.btn.secondary {
    border: 1px solid white;
    color: white;
}

.btn.secondary:hover {
    background: white;
    color: var(--emerald);
}

/* =========================
   IMAGE SIDE (PORTRAIT)
========================= */

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

.hero-image img {
    width: auto;
    height: 800px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* =========================
   HERO MOBILE (FULL RESET FIX)
========================= */

@media (max-width: 900px) {

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 110px 0 70px 0;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
    }

    /* =========================
       TEXT AREA FIX
    ========================= */

    .hero-text {
        width: 100%;
        min-height: auto;
        text-align: center;
    }

    .hero-slide {
        position: relative !important;
        opacity: 0;
        transform: none;
        max-width: 100%;
        margin: 0 auto;
        pointer-events: none;
    }

    .hero-slide.active {
        opacity: 1;
        pointer-events: auto;
    }

    .hero-slide h1 {
        font-size: 1.9rem;
        line-height: 1.25;
        max-width: 95%;
        margin: 0 auto 12px auto;
    }

    .hero-slide p {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto;
    }

    /* =========================
       BUTTON FIX
    ========================= */

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    /* =========================
       IMAGE FIX (YOUR BIG ISSUE)
    ========================= */

    .hero-image img {
        height: auto;
        width: 70%;
        max-width: 260px;
    }
}


/* =========================
   SMALL PHONE FIX
========================= */

@media (max-width: 600px) {

    .hero {
        padding: 95px 0 60px 0;
    }

    .hero-slide h1 {
        font-size: 1.6rem;
    }

    .hero-slide p {
        font-size: 0.95rem;
    }

    .hero-image img {
        width: 80%;
        max-width: 220px;
    }
}

/* =========================
   WRITING SECTION (EDITORIAL POLISH)
========================= */

.writing {
    padding: 120px 0;
    background-color: var(--cream);
}

/* Container */
.writing-container {
    width: 92%;
    max-width: 850px;
    margin: auto;
}

/* Content */
.writing-content {
    text-align: left;
}

/* Small label (pro touch) */
.section-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 12px;
}

/* Main heading */
.writing-content h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

/* Paragraphs */
.writing-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 18px;
    max-width: 700px;
}

/* =========================
   SUBSTACK CTA BUTTON (FIXED - CLEAN LAYERS)
========================= */

.writing-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 20px;

    padding: 10px 16px;

    text-decoration: none;
    font-size: 0.95rem;

    color: var(--emerald);

    border: 1px solid rgba(11,79,58,0.4);
    border-radius: 6px;

    background: white;

    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;

    z-index: 1;
}

/* background fill layer */
.writing-btn::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    width: 0%;
    height: 100%;

    background: var(--emerald);

    transition: width 0.35s ease;

    z-index: -1; /* KEY FIX */
}

/* hover fill */
.writing-btn:hover::before {
    width: 100%;
}

/* hover text */
.writing-btn:hover {
    color: white;
    border-color: var(--emerald);
}

/* arrow animation */
.writing-btn span {
    transition: transform 0.3s ease;
}

.writing-btn:hover span {
    transform: translateX(4px);
}

/* =========================
   WRITING POSTS (SUBTLE LIST)
========================= */

.writing-posts {
    margin-top: 50px;
}

.writing-posts h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

/* List */
.writing-post-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Each post */
.writing-post {
    display: flex;
    justify-content: space-between;
    align-items: center;

    text-decoration: none;
    padding: 12px 0;

    border-bottom: 1px solid rgba(0,0,0,0.08);

    transition: 0.25s ease;
}

/* Title */
.post-title {
    color: #222;
    font-size: 1rem;
}

/* Meta */
.post-meta {
    font-size: 0.85rem;
    color: #777;
}

/* Hover */
.writing-post:hover {
    transform: translateX(4px);
}

.writing-post:hover .post-title {
    color: var(--emerald);
}





/* =========================
   BOOK SECTION (AUTHOR AUTHORITY - FINAL POLISH)
========================= */

.book {
    padding: 120px 0;
    background-color: var(--emerald);
    color: white;
}

/* container */
.book-container {
    width: 92%;
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 90px;
}

/* image */
.book-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.book-image img {
    width: 320px;
    height: auto;

    box-shadow: 0 30px 80px rgba(0,0,0,0.5);

    transition: transform 0.4s ease;
}

.book-image img:hover {
    transform: translateY(-8px);
}

/* content */
.book-content {
    flex: 1;
}

.section-label.light {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.book-content h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.book-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    max-width: 560px;
}

/* =========================
   CTA ROW
========================= */

.book-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

/* Pluto logo */
.pluto-logo {
    height: 48px;
    transition: 0.3s ease;
}

.pluto-logo:hover {
    transform: translateY(-2px);
}

/* =========================
   BOOK BUTTON (SYSTEM MATCHED)
========================= */

.book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    text-decoration: none;
    font-size: 0.95rem;

    color: white;

    background: var(--emerald);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;

    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;

    z-index: 1;
}

/* hover fill */
.book-btn::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 0%;
    height: 100%;

    background: #083c2c;

    transition: width 0.35s ease;

    z-index: -1;
}

.book-btn:hover::before {
    width: 100%;
}

.book-btn:hover {
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-1px);
}

/* divider */
.book-divider {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.25);
    margin: 30px 0 20px 0;
}

/* platforms */
.book-platforms {
    margin-top: 10px;
}

.platform-label {
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    display: block;
    margin-bottom: 14px;
}

.platform-list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.platform-item img {
    height: 46px;
    width: auto;
    transition: 0.3s ease;
}

.platform-item:hover img {
    transform: translateY(-2px);
}


/* =========================
   BOOK SECTION MOBILE FIX
========================= */

@media (max-width: 900px) {

    .book {
        padding: 90px 0;
    }

    .book-container {
        flex-direction: column;
        align-items: center;
        text-align: center;

        gap: 40px;

        width: 92%;
        max-width: 100%;
    }

    /* =========================
       IMAGE FIX
    ========================= */

    .book-image img {
        width: 220px;
        max-width: 80%;
        height: auto;
    }

    /* =========================
       CONTENT FIX (CRITICAL)
    ========================= */

    .book-content {
        width: 100%;
        max-width: 100%;
    }

    .book-content h2 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .book-description {
        max-width: 100%;
        font-size: 1rem;
    }

    /* =========================
       CTA ROW STACKING
    ========================= */

    .book-cta-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .pluto-logo {
        height: 40px;
    }

    /* =========================
       PLATFORM LOGOS WRAP CLEANLY
    ========================= */

    .platform-list {
        justify-content: center;
        gap: 20px;
    }

    .platform-item img {
        height: 38px;
    }
}





/* =========================
   ABOUT SECTION (ELEVATED EDITORIAL DESIGN)
========================= */

.about {
    padding: 140px 0;
    background: linear-gradient(
        180deg,
        #f5f5dc 0%,
        #f7f7e6 100%
    );
    position: relative;
    overflow: hidden;
}

/* subtle texture overlay */
.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: radial-gradient(
        circle at 20% 20%,
        rgba(11,79,58,0.04),
        transparent 60%
    );

    pointer-events: none;
}

/* =========================
   CONTAINER + GRID LAYOUT
========================= */

.about-container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

/* =========================
   TEXT SIDE
========================= */

.about-content {
    text-align: left;
    padding-left: 22px;
    border-left: 2px solid rgba(11,79,58,0.15);
}

/* Label */
.about .section-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 12px;

    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.8s ease forwards;
}

/* Headline */
.about-content h2 {
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 26px;
    font-family: 'Playfair Display', serif;
    color: #111;

    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.1s;
}

/* Paragraphs */
.about-content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 18px;
    max-width: 720px;

    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 1s ease forwards;
}

/* stagger animation */
.about-content p:nth-of-type(1) {
    animation-delay: 0.2s;
}

.about-content p:nth-of-type(2) {
    animation-delay: 0.3s;
}

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

/* =========================
   IMAGE SIDE (EDITORIAL PORTRAIT)
========================= */

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
}

/* frame */
.image-frame {
    position: relative;
    border-radius: 12px;
    transition: all 0.4s ease;
}

/* hover lift */
.image-frame:hover {
    transform: translateY(-6px);
    border-color: rgba(11,79,58,0.35);
}

/* image */
.image-frame img {
    width: 100%;
    max-width: 320px;
    height: auto;

    border-radius: 8px;

    display: block;

   
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   OPTIONAL REVEAL CLASS
========================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

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

    .about-image {
        order: -1;
    }

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


/* =========================
   ABOUT SOCIAL ICONS
========================= */

.about-socials {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 26px;
}

/* icon links */
.about-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 8px;

    background: rgba(11,79,58,0.06);
    border: 1px solid rgba(11,79,58,0.15);

    transition: all 0.3s ease;
}

/* icons */
.about-socials img {
    width: 18px;
    height: 18px;

    opacity: 0.75;
    transition: all 0.3s ease;
}

/* hover state */
.about-socials a:hover {
    background: var(--emerald);
    transform: translateY(-2px);
    border-color: var(--emerald);
}

.about-socials a:hover img {
    filter: brightness(0) invert(1);
    opacity: 1;
}



/* =========================
   CONTACT SECTION (PREMIUM EMERALD EDITORIAL UPGRADE)
========================= */

.contact {
    padding: 140px 0;

    /* richer base with emerald undertone */
    background: linear-gradient(
        135deg,
        #f5f5dc 0%,
        #eef2e8 40%,
        #e9f1ea 100%
    );

    position: relative;
    overflow: hidden;
}

/* subtle animated emerald glow */
.contact::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;

    background: radial-gradient(
        circle,
        rgba(11,79,58,0.12),
        transparent 60%
    );

    top: -200px;
    right: -200px;

    filter: blur(40px);
    animation: floatGlow 8s ease-in-out infinite alternate;

    pointer-events: none;
}

@keyframes floatGlow {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(30px);
    }
}

/* Container */
.contact-container {
    width: 92%;
    max-width: 1100px;
    margin: auto;

    display: flex;
    gap: 90px;
    align-items: flex-start;

    position: relative;
    z-index: 2;
}

/* =========================
   LEFT SIDE INFO (STRUCTURE BOOST)
========================= */

.contact-info {
    flex: 1;

    padding-left: 20px;
    border-left: 2px solid rgba(11,79,58,0.2);
}

.contact-info h2 {
    font-size: 2.6rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: #111;
}

.contact-info p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 14px;
    max-width: 440px;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* =========================
   FORM (CARD STYLE ELEVATION)
========================= */

.contact-form {
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 30px;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(11,79,58,0.15);
    border-radius: 12px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.08);

    transition: transform 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-3px);
}

/* =========================
   INPUTS (MORE PREMIUM FEEL)
========================= */

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;

    border: 1px solid rgba(11,79,58,0.2);
    border-radius: 8px;

    font-size: 1rem;
    font-family: inherit;

    outline: none;
    background: rgba(255,255,255,0.8);

    transition: 0.3s ease;
}

/* focus glow (emerald identity moment) */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 4px rgba(11,79,58,0.12);
}

/* =========================
   BUTTON
========================= */

.contact-form .btn {
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(11,79,58,0.25);
}

/* =========================
   STATUS TEXT
========================= */

#form-status {
    font-size: 0.9rem;
    color: var(--emerald);
    margin-top: 6px;
}

/* =========================
   SCROLL REVEAL (SMOOTH ENTRY)
========================= */

.contact-container {
    opacity: 0;
    transform: translateY(25px);
    animation: contactFade 1s ease forwards;
}

@keyframes contactFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   SUCCESS STATE (PREMIUM FEEDBACK UI)
========================= */

.success-card {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(11,79,58,0.95);
    color: white;

    border-radius: 12px;

    text-align: center;

    opacity: 0;
    transform: scale(0.95);
    transition: 0.4s ease;

    pointer-events: none;
}

/* visible state */
.success-card.show {
    opacity: 1;
    transform: scale(1);
}

/* hidden helper */
.hidden {
    display: none;
}

/* checkmark animation */
.checkmark {
    font-size: 3rem;
    margin-bottom: 10px;

    animation: pop 0.4s ease forwards;
}

@keyframes pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.success-card p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 260px;
}


/* =========================
   CONTACT MOBILE FIX (REAL FIX)
========================= */

@media (max-width: 900px) {

    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;

        width: 92%;
        max-width: 100%;

        /* override animation so it doesn't fight layout */
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    /* LEFT SIDE */
    .contact-info {
        padding-left: 0;
        border-left: none;

        width: 100%;
        text-align: center;
    }

    .contact-info p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* FORM FIX (THIS IS THE IMPORTANT PART) */
    .contact-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* prevent overflow inputs */
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* SUCCESS CARD FIX */
    .success-card {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}








/* =========================
   PODCAST SECTION (CINEMATIC COMING SOON)
========================= */

.podcast {
    padding: 140px 0;

    background: linear-gradient(
        135deg,
        #0B4F3A 0%,
        #083c2c 50%,
        #072f23 100%
    );

    position: relative;
    overflow: hidden;
}

/* =========================
   FLOATING ATMOSPHERIC LIGHTS
========================= */

.podcast::before,
.podcast::after {
    content: "";
    position: absolute;

    width: 600px;
    height: 600px;

    background: radial-gradient(
        circle,
        rgba(245,245,220,0.08),
        transparent 60%
    );

    filter: blur(60px);

    animation: floatGlow 10s ease-in-out infinite alternate;

    pointer-events: none;
}

/* top-left glow */
.podcast::before {
    top: -200px;
    left: -200px;
}

/* bottom-right glow */
.podcast::after {
    bottom: -250px;
    right: -250px;

    animation-delay: 2s;
}

/* slow movement */
@keyframes floatGlow {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    100% {
        transform: translateY(30px) translateX(20px);
    }
}

/* =========================
   CONTAINER
========================= */

.podcast-container {
    width: 92%;
    max-width: 850px;
    margin: auto;

    position: relative;
    z-index: 2;
}

/* =========================
   CONTENT BLOCK
========================= */

.podcast-content {
    padding-left: 22px;
    border-left: 2px solid rgba(245,245,220,0.2);
}

/* label */
.podcast .section-label {
    color: rgba(245,245,220,0.7);
}

/* headline */
.podcast-content h2 {
    font-size: 2.4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 18px;
    color: #ffffff;
}

/* text */
.podcast-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
    max-width: 650px;
}

/* =========================
   COMING SOON BADGE (REFINED)
========================= */

.podcast-badge {
    display: inline-block;

    margin-top: 22px;
    padding: 8px 14px;

    font-size: 0.75rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: #f5f5dc;

    border: 1px solid rgba(245,245,220,0.25);
    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);

    animation: pulseSoft 3s ease-in-out infinite;
}

/* subtle breathing animation */
@keyframes pulseSoft {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}


/* =========================
   THERAPY SECTION (PROFESSIONAL PRACTICE STYLE)
========================= */

.therapy {
    padding: 140px 0;

    background: linear-gradient(
        180deg,
        #f5f5dc 0%,
        #eef3ea 100%
    );

    position: relative;
}

/* subtle emerald depth glow */
.therapy::before {
    content: "";
    position: absolute;

    width: 600px;
    height: 600px;

    background: radial-gradient(
        circle,
        rgba(11,79,58,0.08),
        transparent 65%
    );

    bottom: -200px;
    right: -200px;

    filter: blur(45px);

    pointer-events: none;
}

/* container */
.therapy-container {
    width: 92%;
    max-width: 1100px;
    margin: auto;

    position: relative;
    z-index: 2;
}

/* header */
.therapy-header {
    margin-bottom: 50px;
}

.therapy-header h2 {
    font-size: 2.4rem;
    font-family: 'Playfair Display', serif;
    color: #111;
    margin-top: 10px;
}

/* =========================
   GRID LAYOUT
========================= */

.therapy-grid {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

/* main text */
.therapy-main {
    flex: 2;
}

.therapy-main p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 18px;
    max-width: 600px;
}

/* =========================
   SIDEBAR CARD
========================= */

.therapy-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.therapy-card {
    padding: 22px;

    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(11,79,58,0.15);
    border-radius: 10px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.therapy-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--emerald);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* list */
.therapy-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.therapy-card li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    padding-left: 14px;
}

.therapy-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--emerald);
}

/* =========================
   BUTTON (PROFESSIONAL LINK STYLE)
========================= */

.therapy-btn {
    display: inline-block;

    padding: 12px 16px;

    text-align: center;
    text-decoration: none;

    border: 1px solid rgba(11,79,58,0.4);
    border-radius: 6px;

    color: var(--emerald);
    background: transparent;

    font-size: 0.95rem;

    transition: all 0.3s ease;
}

.therapy-btn:hover {
    background: var(--emerald);
    color: white;
}

/* =========================
   REVEAL ANIMATION (CONSISTENT SYSTEM)
========================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   THERAPY SECTION MOBILE FIX
========================= */

@media (max-width: 900px) {

    .therapy {
        padding: 100px 0;
    }

    /* STACK GRID */
    .therapy-grid {
        flex-direction: column;
        gap: 40px;
    }

    /* HEADER CENTERED (CLEANER MOBILE READ) */
    .therapy-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .therapy-header h2 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    /* MAIN TEXT FIX */
    .therapy-main {
        width: 100%;
    }

    .therapy-main p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.75;
        margin-left: auto;
        margin-right: auto;
    }

    /* REMOVE CONSTRAINT THAT CAUSES "LONG VERTICAL FEEL" */
    .therapy-main p {
        max-width: 100%;
    }

    /* SIDEBAR BECOMES NORMAL BLOCK */
    .therapy-side {
        width: 100%;
        align-items: center;
    }

    .therapy-card {
        width: 100%;
        max-width: 420px;
    }

    .therapy-btn {
        width: 100%;
        max-width: 420px;
    }
}

/* SMALL PHONES */
@media (max-width: 600px) {

    .therapy-header h2 {
        font-size: 1.65rem;
    }

    .therapy-card {
        padding: 18px;
    }
}


/* =========================
   FOOTER (PROFESSIONAL AUTHOR STYLE)
========================= */

.footer {
    background: linear-gradient(
        180deg,
        var(--emerald) 0%,
        #083c2c 100%
    );

    color: white;
    padding: 80px 0 30px 0;

    position: relative;
    overflow: hidden;
}

/* soft ambient glow */
.footer::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    background: radial-gradient(
        circle,
        rgba(255,255,255,0.08),
        transparent 60%
    );

    top: -200px;
    right: -200px;

    pointer-events: none;
}

/* container */
.footer-container {
    width: 92%;
    max-width: 1100px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 60px;

    position: relative;
    z-index: 2;
}

/* =========================
   BRAND SECTION
========================= */

.footer-brand {
    flex: 2;
}

.footer-brand h3 {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    max-width: 360px;
}

/* =========================
   LINKS SECTION
========================= */

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;

    color: rgba(255,255,255,0.9);
}

/* links */
.footer-links a {
    display: block;

    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);

    text-decoration: none;
    margin-bottom: 8px;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

/* =========================
   FOOTER LOGO (BACK TO TOP)
========================= */

.footer-logo-top {
    display: flex;
    justify-content: center;

    margin-top: 30px;
    opacity: 0.8;

    transition: opacity 0.3s ease;
}

.footer-logo-top img {
    height: 42px;
    width: auto;

    cursor: pointer;

    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* hover interaction */
.footer-logo-top:hover {
    opacity: 1;
}

.footer-logo-top img:hover {
    transform: translateY(-3px);
}

/* =========================
   BOTTOM BAR
========================= */

.footer-bottom {
    margin-top: 50px;
    text-align: center;

    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* =========================
   FOOTER RESPONSIVE FIX (MOBILE + SMALL SCREENS)
========================= */

@media (max-width: 900px) {

    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: left;
    }

    /* BRAND TEXT FIX (less vertical feel) */
    .footer-brand p {
        max-width: 100%;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    /* LINKS STACK CLEANLY */
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links div {
        margin-bottom: 10px;
    }

    .footer-links a {
        margin-bottom: 10px;
    }
}

/* extra tightening for very small phones */
@media (max-width: 500px) {

    .footer {
        padding: 60px 0 25px 0;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-links h4 {
        font-size: 0.8rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    /* spacing relief */
    .footer-links {
        gap: 22px;
    }
}