/* --- Standardize Social Icon Sizes --- */
.social-icons-mobile svg {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
}
.social-icons-mobile a[aria-label="LinkedIn"] svg {
    width: 22px;
    height: 22px;
}
/* --- Standardize Social Icon Sizes --- */
.social-icons-mobile svg {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
}
/* Ensure journal post titles use original casing on mobile */
.journal-post-title-mobile {
    text-transform: none !important; /* Override the general h2 lowercase rule */
}
/* --- Contact Success Message --- */
.contact-success-mobile {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--peakflow-grey);
    border-radius: 0.5rem;
    background-color: rgba(0,0,0,0.2);
}
.contact-success-mobile h3 {
    color: var(--peakflow-cyan);
    margin-bottom: 0.5rem;
}
/* --- Basic Setup --- */
:root {
    --peakflow-cyan: #5cb6c4;
    --peakflow-dark: #1a1a1a;
    --peakflow-light: #f2f2f2;
    --peakflow-grey: #333;
}

@keyframes slow-hue-rotate {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}

@keyframes mobile-particle-drift {
    0% { transform: translate3d(-12%, -10%, 0) scale(0.95) rotate(0deg); opacity: 0.45; }
    50% { transform: translate3d(10%, 8%, 0) scale(1.1) rotate(2deg); opacity: 0.85; }
    100% { transform: translate3d(-12%, -10%, 0) scale(0.95) rotate(-1deg); opacity: 0.45; }
}

@keyframes mobile-particle-drift-secondary {
    0% { transform: translate3d(10%, 14%, 0) scale(1.05) rotate(0deg); opacity: 0.35; }
    50% { transform: translate3d(-14%, -12%, 0) scale(1.15) rotate(-4deg); opacity: 0.7; }
    100% { transform: translate3d(10%, 14%, 0) scale(1.05) rotate(3deg); opacity: 0.35; }
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #202124;
    color: var(--peakflow-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
a { color: var(--peakflow-cyan); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--peakflow-light); }
img { max-width: 100%; height: auto; display: block; } /* Added display: block */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--peakflow-cyan);
    color: var(--peakflow-dark);
    padding: 8px 12px;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* --- Remove Mobile Tap Highlight --- */
a, button, input, textarea, select,
.home-icon-logo,
.headshot-container-mobile,
.archive-post-item {
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
    -o-tap-highlight-color: transparent;
}

.mobile-site {
    opacity: 1;
    transition: opacity 0.35s ease;
    position: relative;
    overflow-x: hidden;
    background-color: #202124;
}

.mobile-site::before {
    content: '';
    position: fixed;
    inset: -25vh -25vw;
    background:
        radial-gradient(320px circle at 22% 28%, rgba(92, 182, 196, 0.26), transparent 70%),
        radial-gradient(380px circle at 78% 24%, rgba(156, 94, 206, 0.22), transparent 72%),
        radial-gradient(460px circle at 48% 86%, rgba(92, 182, 196, 0.18), transparent 75%);
    opacity: 0.65;
    animation: mobile-particle-drift 22s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.mobile-site::after {
    content: '';
    position: fixed;
    inset: -30vh -30vw;
    background:
        radial-gradient(260px circle at 20% 78%, rgba(92, 182, 196, 0.18), transparent 68%),
        radial-gradient(340px circle at 82% 64%, rgba(246, 208, 120, 0.14), transparent 70%),
        radial-gradient(420px circle at 54% 32%, rgba(156, 94, 206, 0.16), transparent 72%);
    opacity: 0.45;
    animation: mobile-particle-drift-secondary 32s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

.mobile-site > * {
    position: relative;
    z-index: 1;
}

.mobile-site.enable-page-fade {
    opacity: 0;
}

.mobile-site.enable-page-fade.is-visible {
    opacity: 1;
}

.mobile-site.is-transitioning {
    pointer-events: none;
}

/* --- Mobile Header & Kebab Menu --- */
.mobile-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.5rem; background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--peakflow-grey);
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1003;
}
.header-logo img { width: 160px; height: auto; }
.kebab-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.3s ease;
    transform-origin: center;
    z-index: 1004;
}
.kebab-button span {
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--peakflow-light);
    border-radius: 50%;
    transform-origin: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.kebab-button.active,
body:has(.mobile-nav.active) .kebab-button {
    transform: rotate(90deg);
}

.kebab-button.active span,
body:has(.mobile-nav.active) .kebab-button span {
    transform: rotate(90deg);
}

/* --- Mobile Navigation Panel --- */
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 75%; max-width: 300px;
    height: 100vh; background-color: #111; z-index: 1002;
    display: flex; flex-direction: column; padding: 6rem 2rem 2rem;
    transition: right 0.4s ease-in-out;
}
.mobile-nav.active { right: 0; }
.mobile-nav a {
    font-size: 1.25rem; font-weight: 300; padding: 1rem 0;
    text-transform: lowercase; border-bottom: 1px solid var(--peakflow-grey);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.legal-link {
    margin-top: auto; padding-top: 1rem;
    border-top: 1px solid var(--peakflow-grey); font-size: 1rem;
}

/* --- Homepage Specific Content --- */
.homepage-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 6rem 1.5rem 2rem;
    text-align: center;
}
.home-icon-logo {
    width: 165px;
    margin: 0 auto 3rem;
    display: block;
    cursor: pointer;
    transition: transform 0.18s ease;
}

.home-icon-logo.is-pressed {
    transform: scale(0.92);
}
.home-cta-buttons { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 300px; }
.page-cta-buttons { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 300px; }
.cta-button {
    display: block; padding: 0.8rem 1rem; border: 2px solid var(--peakflow-cyan);
    border-radius: 0.5rem; font-weight: 600; text-align: center; background: transparent;
}
.cta-button:hover { background-color: var(--peakflow-cyan); color: var(--peakflow-dark); }

/* --- Generic Page Content --- */
.mobile-page-content {
    padding: 6rem 1.5rem 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0s;
    will-change: opacity, transform;
}
.mobile-site.enable-page-fade .mobile-page-content {
    opacity: 0;
    transform: translateY(16px);
}
.mobile-site.enable-page-fade.is-visible .mobile-page-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}
.mobile-page-content h2 {
    text-transform: lowercase; font-size: 1.5rem; font-weight: 600;
    color: var(--peakflow-cyan); border-bottom: 1px solid var(--peakflow-grey);
    padding-bottom: 0.5rem; margin-top: 0; margin-bottom: 1.5rem;
}
.mobile-page-content p { line-height: 1.7; margin-bottom: 1.5rem; color: #e0e0e0; }

/* --- Team Page Styles --- */
.team-grid-mobile { display: flex; flex-direction: column; gap: 2.5rem; }
.team-member-mobile h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1rem; margin-bottom: 0.25rem; }
.team-title-mobile { color: var(--peakflow-cyan); font-weight: 500; text-transform: lowercase; margin-bottom: 1rem; font-size: 0.9rem; }
.headshot-container-mobile { border-radius: 0.5rem; overflow: hidden; cursor: pointer; filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)); transition: filter 0.3s ease-in-out; }
.headshot-container-mobile.active-glow { filter: drop-shadow(0 -2px 8px var(--peakflow-cyan)); }
.team-headshot-mobile { width: 100%; display: block; animation: slow-hue-rotate 20s linear infinite; }

/* --- Contact Page Styles --- */
.contact-info-mobile { text-align: center; margin-bottom: 2rem; }
.contact-info-mobile p { margin: 0.5rem 0; line-height: 1.5; }
#contact-form-mobile { display: flex; flex-direction: column; gap: 1rem; }
.form-input-mobile, .form-textarea-mobile {
    width: 100%; padding: 0.8rem 1rem; background-color: var(--peakflow-grey);
    border: 1px solid #444; border-radius: 0.5rem; color: var(--peakflow-light);
    font-family: 'Poppins', sans-serif; font-size: 1rem;
}
.form-input-mobile:invalid:not(:placeholder-shown),
.form-textarea-mobile:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 1px #ff6b6b;
}
.submit-btn-mobile {
    padding: 0.8rem 1rem; border: 2px solid var(--peakflow-cyan);
    border-radius: 0.5rem; font-weight: 600; text-align: center;
    background: transparent; color: var(--peakflow-cyan); cursor: pointer; transition: all 0.3s;
    margin-top: 1rem;
    font-size: 1rem;
}
.connect-section-mobile { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--peakflow-grey); }
.social-icons-mobile { display: flex; justify-content: center; gap: 1.5rem; }
.social-icons-mobile svg { width: 28px; height: 28px; }

/* --- Creative Spark Page --- */
.spark-intro-mobile { margin-bottom: 1.5rem; color: #d1d1d1; }
.spark-generator-mobile { display: flex; flex-direction: column; gap: 1rem; }
.spark-textarea-mobile {
    width: 100%;
    min-height: 180px;
    padding: 0.9rem 1rem;
    border-radius: 0.5rem;
    background-color: #222;
    border: 1px solid #444;
    color: var(--peakflow-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
}
.spark-textarea-mobile:focus {
    outline: none;
    border-color: var(--peakflow-cyan);
    box-shadow: 0 0 0 2px rgba(92, 182, 196, 0.2);
}
.spark-submit-mobile {
    align-self: flex-start;
    padding: 0.8rem 1.4rem;
    border: 2px solid var(--peakflow-cyan);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--peakflow-cyan);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1rem;
}
.spark-submit-mobile:hover,
.spark-submit-mobile:focus {
    background-color: var(--peakflow-cyan);
    color: var(--peakflow-dark);
}
.spark-result-mobile {
    margin-top: 2rem;
    padding: 1.25rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(92, 182, 196, 0.3);
    min-height: 140px;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
}
.spark-cta {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #d1d1d1;
}
.spark-cta-link {
    color: var(--peakflow-cyan);
    text-decoration: underline;
}
.spark-cta-link:hover { color: var(--peakflow-light); }

/* --- Journal Page Styles --- */
.journal-filter-container { margin-bottom: 2rem; position: relative; }
.journal-filter { position: relative; width: 100%; }
.journal-filter-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.55rem 0.95rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(92, 182, 196, 0.4);
    background-color: rgba(32, 32, 32, 0.85);
    color: var(--peakflow-light);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.journal-filter-trigger:hover {
    background-color: rgba(38, 38, 38, 0.92);
    border-color: rgba(92, 182, 196, 0.55);
}
.journal-filter-trigger:focus-visible {
    outline: none;
    border-color: rgba(122, 196, 209, 0.9);
    box-shadow: 0 0 0 2px rgba(92, 182, 196, 0.3);
}
.journal-filter-trigger-label { flex: 1 1 auto; text-align: left; }
.journal-filter-trigger-icon {
    flex: 0 0 auto;
    color: rgba(212, 244, 248, 0.85);
    transition: transform 0.2s ease;
}
.journal-filter.is-open .journal-filter-trigger-icon { transform: rotate(180deg); }
.journal-filter-options {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    border-radius: 0.6rem;
    border: 1px solid rgba(92, 182, 196, 0.45);
    background: rgba(18, 26, 28, 0.97);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    max-height: none;
    overflow-y: visible;
    z-index: 80;
}
.journal-filter-options[hidden],
.journal-filter-options[aria-hidden="true"] {
    display: none !important;
}
.journal-filter-options::-webkit-scrollbar { width: 6px; }
.journal-filter-options::-webkit-scrollbar-thumb {
    background: rgba(92, 182, 196, 0.45);
    border-radius: 999px;
}
.journal-filter-option {
    padding: 0.45rem 0.95rem;
    color: var(--peakflow-light);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.journal-filter-option:hover,
.journal-filter-option:focus-visible {
    outline: none;
    background-color: rgba(92, 182, 196, 0.22);
}
.journal-filter-option.active {
    background-color: rgba(92, 182, 196, 0.3);
    color: #041213;
}
.journal-post-category-mobile { /* Styles for featured post category */
    display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--peakflow-cyan);
    letter-spacing: 0.05em; padding: 0.3rem 0.8rem;
    background: rgba(92, 182, 196, 0.1); border-radius: 2rem; margin-bottom: 0.75rem;
}

/* Shared featured badge styling for the mobile journal */
.journal-featured-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(92, 182, 196, 0.45);
    background: rgba(92, 182, 196, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--peakflow-light);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.journal-featured-pill::before {
    content: '\2726';
    font-size: 0.85em;
    line-height: 1;
}
.journal-featured-pill--primary {
    margin-bottom: 0.75rem;
    background: linear-gradient(120deg, rgba(92, 182, 196, 0.35), rgba(92, 182, 196, 0.2));
    border-color: rgba(92, 182, 196, 0.65);
    color: var(--peakflow-light);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.25);
}
.journal-featured-pill--overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(17, 30, 34, 0.82);
    border-color: rgba(92, 182, 196, 0.7);
    color: var(--peakflow-light);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* --- Mobile Journal Date Styling --- */
.journal-post-date-mobile {
    display: block;
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journal-share {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--peakflow-grey);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}
.journal-share-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: none;
    color: #f2f2f2;
}
.journal-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}
.journal-share-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(92, 182, 196, 0.35);
    background: rgba(26, 26, 26, 0.7);
    color: var(--peakflow-light);
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0.08em;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.journal-share-btn:hover,
.journal-share-btn:focus-visible {
    outline: none;
    border-color: rgba(92, 182, 196, 0.6);
    background: rgba(26, 26, 26, 0.85);
    color: #ffffff;
}
.journal-post-category-mobile,
.journal-post-category {
    text-transform: lowercase;
}
.journal-page-content h2.journal-post-title-mobile { /* Styles for featured title */
    border-bottom: none; padding-bottom: 0; margin-bottom: 0.5rem;
    font-size: 1.8rem; line-height: 1.3; color: var(--peakflow-light);
}
.journal-post-image-mobile { width: 100%; border-radius: 0.5rem; margin: 1rem 0 1.5rem; }
.journal-page-content hr { border: none; border-top: 1px solid var(--peakflow-grey); margin: 2rem 0; }
.journal-page-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--peakflow-light);
}
.journal-page-content ul { list-style: none; padding-left: 0; margin: 1rem 0; }
.journal-page-content li { margin-bottom: 0.75rem; padding-left: 1.2rem; position: relative; }
.journal-page-content li::before { content: "•"; color: var(--peakflow-cyan); position: absolute; left: 0; top: 0; }
.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(26, 26, 26, 0.85);
    color: var(--peakflow-light);
    font-size: 0.85rem;
    text-transform: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.back-to-top-btn:hover,
.back-to-top-btn:focus {
    background: rgba(92, 182, 196, 0.25);
    border-color: rgba(92, 182, 196, 0.6);
}
.arts-council-logo-footer-mobile { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--peakflow-grey); text-align: center; }
.arts-council-logo-footer-mobile img { width: 100%; max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* Journal Archive Vertical List */
.journal-archive-container { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--peakflow-grey); }
.archive-title { font-size: 1.1rem; text-transform: lowercase; font-weight: 600; color: #888; text-align: center; margin-bottom: 1.5rem; }
#journal-archive-list { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.archive-post-item {
    position: relative;
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    background-color: #111;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.archive-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}
.archive-post-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95);
}
.archive-post-item.no-thumbnail {
    background: linear-gradient(135deg, rgba(92, 182, 196, 0.25), rgba(17, 17, 17, 0.9));
}
.archive-post-item.no-thumbnail .archive-post-overlay {
    background: rgba(0, 0, 0, 0.55);
}
.archive-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.85rem 1rem 1.5rem;
    background: rgba(32, 32, 32, 0.5);
    pointer-events: none;
}
.archive-post-date {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.archive-post-category-label {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    background: rgba(92, 182, 196, 0.2);
    color: var(--peakflow-light);
}
.archive-post-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--peakflow-light);
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.journal-horizontal-gallery {
    position: relative;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 0 0.75rem;
    margin: 1.75rem 0 0.75rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.journal-horizontal-gallery::before,
.journal-horizontal-gallery::after {
    content: "";
    position: absolute;
    top: 0;
    width: 32px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.journal-horizontal-gallery::before {
    left: 0;
    background: linear-gradient(90deg, var(--peakflow-dark) 0%, rgba(26, 26, 26, 0));
}
.journal-horizontal-gallery::after {
    right: 0;
    background: linear-gradient(270deg, var(--peakflow-dark) 0%, rgba(26, 26, 26, 0));
}
.journal-horizontal-gallery::-webkit-scrollbar {
    height: 6px;
}
.journal-horizontal-gallery::-webkit-scrollbar-track {
    background: transparent;
}
.journal-horizontal-gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}
.journal-gallery-item {
    flex: 0 0 85%;
    max-width: none;
    scroll-snap-align: center;
}
.journal-gallery-image {
    display: block;
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.journal-gallery-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0 1.5rem;
    opacity: 0.7;
}
.journal-gallery-hint-icon {
    font-size: 0.85rem;
    line-height: 1;
}

/* --- Mobile Footer --- */
.mobile-footer {
    padding: 1rem 1.5rem; text-align: center;
    font-size: 0.8rem; color: #a0a0a0; border-top: 1px solid var(--peakflow-grey);
    margin-top: 2rem;
}
.mobile-site { display: flex; flex-direction: column; min-height: 100vh; }
.mobile-site > main { flex-grow: 1; }

/* --- FAQ Page Styles --- */
.faq-search-mobile {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-search-mobile input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #444;
    background-color: #202020;
    color: var(--peakflow-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.faq-search-mobile input:focus {
    outline: none;
    border-color: var(--peakflow-cyan);
    box-shadow: 0 0 0 2px rgba(92, 182, 196, 0.2);
}

.faq-empty-mobile {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.faq-accordion-mobile {
    margin-top: 2rem;
}

.faq-item-mobile {
    border-bottom: 1px solid var(--peakflow-grey);
}

.faq-question-mobile {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    color: var(--peakflow-light);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon-mobile {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--peakflow-cyan);
    transition: transform 0.3s;
}

.faq-answer-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 0.5rem; /* Slight indent for answer */
}
.faq-answer-mobile p,
.faq-answer-mobile ul,
.faq-answer-mobile li {
    font-size: 0.95rem; /* Slightly smaller text for answers */
    color: #ccc; /* Lighter grey */
}
.faq-answer-mobile ul { list-style: none; padding-left: 0; }
.faq-answer-mobile li { margin-bottom: 0.75rem; padding-left: 1.2rem; position: relative; }
.faq-answer-mobile li::before { content: "•"; color: var(--peakflow-cyan); position: absolute; left: 0; top: 0; }


/* Styles for when accordion item is open */
.faq-item-mobile.open .faq-question-mobile {
    color: var(--peakflow-cyan);
}
.faq-item-mobile.open .faq-icon-mobile {
    transform: rotate(45deg); /* Turns '+' into 'x' */
}
/* FAQ answer max-height is toggled dynamically via JS */

/* --- Legal Page Styles --- */
.legal-page h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--peakflow-light);
}
.legal-section-mobile:first-of-type h3 { margin-top: 0; }
.legal-meta-mobile {
    font-size: 0.8rem;
    color: #a7a7a7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.legal-section-mobile { margin-bottom: 2.5rem; }
.legal-section-mobile h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--peakflow-cyan);
}
.legal-section-mobile p { margin-bottom: 1rem; color: #d1d1d1; }
.legal-section-mobile ul {
    list-style: none;
    padding-left: 1.2rem;
    margin: 1rem 0;
}
.legal-section-mobile li {
    position: relative;
    margin-bottom: 0.75rem;
    color: #d1d1d1;
}
.legal-section-mobile li::before {
    content: "•";
    position: absolute;
    left: -1.2rem;
    color: var(--peakflow-cyan);
}

@media (prefers-reduced-motion: reduce) {
    .mobile-page-content,
    .mobile-site.enable-page-fade .mobile-page-content,
    .mobile-site.enable-page-fade.is-visible .mobile-page-content {
        transition: none;
        transition-delay: 0s;
        transform: none;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    /* Add specific overrides if needed, e.g., stop particle JS */
}