:root {
    /* Gruvbox Dark Palette */
    --bg: #282828;
    --bg-hard: #1d2021;
    --bg-soft: #32302f;
    --fg: #ebdbb2;
    --fg0: #fbf1c7;
    --fg2: #d5c4a1;
    --fg3: #bdae93;
    --fg4: #a89984;
    --gray: #928374;
    --red: #cc241d;
    --red-bold: #fb4934;
    --green: #98971a;
    --green-bold: #b8bb26;
    --yellow: #d79921;
    --yellow-bold: #fabd2f;
    --blue: #458588;
    --blue-bold: #83a598;
    --purple: #b16286;
    --purple-bold: #d3869b;
    --aqua: #689d6a;
    --aqua-bold: #8ec07c;
    --orange: #d65d0e;
    --orange-bold: #fe8019;

    /* Global Settings */
    --font-heading: 'Fira Sans', sans-serif;
    --font-body: 'Fira Sans', sans-serif;
    --transition-speed: 0.3s;
    --section-padding: clamp(2rem, 5vw, 4rem);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Fullpage Scroll Snap */
main#app {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;

    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

main#app::-webkit-scrollbar {
    display: none;
}

section.page-section {
    min-height: 100vh;
    /* Allow growth */
    width: 100vw;
    scroll-snap-align: start;
    position: relative;
    /* overflow: hidden; Removed to allow content to flow */
    /* Removed flex-direction column/center from here as default, 
       will be overridden by split-container */
    display: flex;
    align-items: center;
    background-color: var(--bg);
    border-bottom: 1px solid var(--bg-soft);
    /* padding-bottom removed for better centering */
}

/* Accordion */
.faq-container {
    width: 100%;
    /* Removed fixed height and scroll for natural flow */
    margin-bottom: 1rem;
}

/* Split Layout Container */
.split-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    /* Ensure vertical alignment of sides */
}

.text-side {
    flex: 1;
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    background-color: var(--bg);
    /* Ensure text is readable */
}

.image-side {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle at center, var(--bg-soft) 0%, transparent 70%);
}

/* Force disable hover effects on images as requested */
.image-side img,
.full-image-container img {
    pointer-events: none !important;
    transform: none !important;
    transition: none !important;
}

/* Top Left Logo Area */
.top-left-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 50;
    backdrop-filter: blur(5px);
    /* Optional readability */
    padding: 10px;
    border-radius: 8px;
}

.mini-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    gap: 0.3em;
}

.text-rocheston {
    color: var(--fg0);
    /* Light/White */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.text-bento {
    color: var(--orange);
    /* Bento Orange */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.image-side img {
    width: auto;
    height: auto;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    display: block;
    transition: transform 0.8s ease-out;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

/* Alternating Layout */
section.page-section:nth-child(even) .split-container {
    flex-direction: row-reverse;
}

/* Responsive Stacking */
@media (max-width: 900px) {
    .split-container {
        flex-direction: column-reverse !important;
        /* Image on top, text on bottom usually better for mobile flow? Or Text top? Let's do Text Bottom so image is hero-like */
        /* Actually, usually Image Top, Text Bottom is standard card flow. 
           Let's standardise on column-reverse so text is bottom? 
           Wait, if flex-direction is column, items flow top to bottom.
           If we want image top, text bottom:
           Dom order: text, image.
           Column-reverse -> image top, text bottom.
        */
        flex-direction: column-reverse !important;
    }

    .text-side {
        flex: 1;
        padding: 2rem;
        justify-content: center;
    }

    .image-side {
        flex: 1;
        /* Split 50/50 vertically on mobile */
        max-height: 40vh;
    }

    .top-left-logo {
        top: 20px;
        left: 20px;
        padding: 5px;
    }

    .mini-logo {
        width: 40px;
    }

    .brand-text {
        font-size: 1.2rem;
    }
}

/* Typography Overrides for Split Layout */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--fg0);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, var(--fg0), var(--gray));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleReveal 1.5s ease-out forwards;
}

/* Centered Hero Section (Section 0) remains special */
section#section-0 {
    justify-content: center;
    flex-direction: column;
}

section#section-0 .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

p {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.6;
    color: var(--fg2);
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

/* Highlight Utilities */
/* Highlight Utilities */
.hl-orange {
    background-color: var(--orange);
    color: var(--fg0);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.hl-blue {
    background-color: var(--blue);
    color: var(--fg0);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.hl-green {
    background-color: var(--green);
    color: var(--fg0);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.hl-yellow {
    background-color: var(--yellow);
    color: var(--bg);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.hl-purple {
    background-color: var(--purple);
    color: var(--fg0);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.hl-red {
    background-color: var(--red);
    color: var(--fg0);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.hl-aqua {
    background-color: var(--aqua);
    color: var(--fg0);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.lead {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--fg);
    font-weight: 300;
}

blockquote.quote {
    border-left: 8px solid var(--orange);
    padding: 2.5rem 2rem 2.5rem 4rem;
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--fg0);
    margin: 3rem 0;
    position: relative;
    background-color: var(--bg-soft);
    border-radius: 0 16px 16px 0;
    line-height: 1.4;
}

blockquote.quote::before {
    content: "“";
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--orange);
    opacity: 0.5;
    line-height: 1;
    font-family: serif;
}

/* UI Components */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    /* Bigger padding */
    background-color: var(--bg-soft);
    color: var(--fg0);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    /* Bigger font */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 8px;
    /* Slightly rounded */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button.primary {
    background-color: var(--orange-bold);
    /* Brighter orange */
    color: #ffffff;
    /* White text */
    box-shadow: 0 0 20px rgba(254, 128, 25, 0.6);
    /* Glow effect */
}

.cta-button.primary .btn-icon {
    stroke: var(--bg-hard);
    /* Different color for icon (dark against orange) */
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(254, 128, 25, 0.8);
    /* Stronger glow */
    background-color: #ff9d4d;
    /* Even brighter on hover */
}

.btn-icon {
    margin-left: 12px;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.cta-button:hover .btn-icon {
    transform: translate(3px, -3px);
}

/* Dot Navigation */
.dot-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dot-nav.visible {
    opacity: 1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-soft);
    border: 2px solid var(--fg4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--orange);
    border-color: var(--orange-bold);
    transform: scale(1.3);
}

.dot:hover {
    border-color: var(--fg);
}

/* Stride Cards & Blocks */
.stride-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.stride-card {
    width: 50px;
    height: 60px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    border: 2px solid var(--fg4);
    color: var(--fg);
}

/* Animations */
@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0.1em;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -0.02em;
    }
}

@keyframes pulseLogo {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

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

/* Accordion */
.faq-container {
    width: 100%;
    /* max-height removed */
    /* overflow-y removed */
}

.accordion-item {
    border-bottom: 1px solid var(--bg-soft);
}

.accordion-header {
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--fg);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 1rem;
    margin: 0;
}

section.page-section img:hover {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

/* Scroll To Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--purple));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--purple), var(--orange));
}

#scrollTopBtn svg {
    width: 24px;
    height: 24px;
}