/* Global Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f1ea;
    color: #1d2b28;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(34, 52, 47, 0.05);
    border-bottom: 1px solid rgba(30, 57, 52, 0.06);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    margin-top: 40px;
}

footer p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.site-logo {
    height: 80px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #2d3a36;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    padding: 7px 10px;
    border-radius: 6px;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
    background-color: #f1efe9;
    color: #2f4d46;
    transform: translateY(-1px);
}

nav a.active {
    color: #2f4d46;
    background-color: #edf2ee;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid #d9e2ec;
}

.nav-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #e3f2fd;
}

.nav-user-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-user-label {
    font-size: 12px;
    color: #6b7280;
}

.nav-user-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.nav-logout {
    background-color: #f3f7fb;
    color: #0f4c81;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero,
.events-hero,
.contact-hero {
    background: linear-gradient(180deg, #f8f4ee 0%, #f0f6f2 100%);
    padding: 80px 20px 72px;
    text-align: center;
    color: #1d2b28;
    position: relative;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.hero-welcome {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #2f5a48;
}

.hero-brand {
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 2vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1d2b28;
    text-shadow: none;
}

.hero-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4b5e59;
    font-weight: 600;
}

.hero h1 {
    margin: 0 auto 18px;
    max-width: 760px;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: #1d2b28;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto 22px;
    font-size: clamp(1.05rem, 1.8vw, 1.5rem);
    line-height: 1.6;
    color: #2d3a36;
    text-align: center;
    font-style: normal;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 26px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 26px;
    max-width: 700px;
    font-size: 1rem;
    font-weight: 600;
    color: #1d2b28;
}

.hero-features li {
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 15px 26px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-1px);
}

.hero-button-secondary {
    background: #edf3ee;
    color: #1d2b28;
    border: 1px solid rgba(31, 43, 40, 0.12);
}

.hero-button-secondary:hover {
    background: #e3eee6;
}

.hero-helper {
    font-size: 16px;
    color: #4b5e59;
    text-align: center;
    margin: 0 0 30px;
    font-style: italic;
}

/* Search Bar (for home page) */
.search-bar {
    margin-top: 0;
}

.search-bar form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-bar input[type="text"] {
    flex: 1;
    min-width: 280px;
    max-width: 540px;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.search-bar button {
    padding: 14px 26px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #2f5d56, #496d63);
    color: white;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(47, 93, 86, 0.18);
}

.search-bar button:hover {
    background: linear-gradient(135deg, #264d46, #3a5d54);
}

.search-suggestions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.suggestion-pill {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #f3f8f5;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.82rem;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.suggestion-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* Nature Message Section */
.nature-section {
    background: linear-gradient(135deg, #f6f3ee 0%, #edf5f1 100%);
    border-top: 1px solid rgba(34, 58, 52, 0.06);
    border-bottom: 1px solid rgba(34, 58, 52, 0.06);
    padding: 44px 20px;
}

.nature-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.nature-content h2 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.2;
    color: #1f3a34;
}

.nature-content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #496760;
}

/* Three Column Section */
.three-columns {
    padding: 44px 20px;
    background: #f9f6f2;
}

.three-columns-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.three-column-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(30, 57, 52, 0.08);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 18px 40px rgba(35, 52, 47, 0.05);
}

.three-column-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #1f3a34;
}

.three-column-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #51706a;
}

/* Study Nature Detail Section */
.study-nature-section {
    padding: 10px 20px 44px;
    background: #f9f6f2;
}

.study-nature-content {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(30, 57, 52, 0.08);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(35, 52, 47, 0.05);
}

.study-nature-content h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: #1f3a34;
}

.study-nature-content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: #4f6662;
}

/* Blog page */
.blog-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 44px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 24px;
    align-items: start;
}

.blog-main {
    display: grid;
    gap: 20px;
}

.blog-featured {
    background: linear-gradient(145deg, #f4fbf3 0%, #ebf5f1 100%);
    border: 1px solid #d4e7d9;
    border-radius: 14px;
    padding: 24px;
}

.blog-meta {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4c6c58;
}

.blog-featured h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
    color: #1f5130;
}

.blog-featured p {
    margin: 0 0 12px;
    color: #2f5f40;
    line-height: 1.65;
}

.blog-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.blog-post-card {
    background: #ffffff;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(15, 34, 58, 0.06);
}

.blog-post-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #1f3853;
    line-height: 1.35;
}

.blog-post-card p {
    margin: 0 0 12px;
    color: #4a5f77;
    line-height: 1.65;
}

.blog-link {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

.blog-sidebar {
    display: grid;
    gap: 14px;
}

.blog-sidebar-card {
    background: #ffffff;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    padding: 18px;
}

.blog-sidebar-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #1f3853;
}

.blog-sidebar-card p,
.blog-sidebar-card li {
    color: #4a5f77;
    line-height: 1.6;
}

.blog-sidebar-card ul {
    margin: 0;
    padding-left: 18px;
}

.blog-full-article {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 36px 40px;
    background: #ffffff;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 34, 58, 0.06);
}

.blog-full-article+.blog-full-article {
    margin-top: 28px;
}

.blog-full-article .blog-meta {
    margin-bottom: 6px;
}

.blog-full-article h2 {
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5ecf5;
    font-size: 30px;
    line-height: 1.25;
    color: #1f3853;
}

.blog-full-article h3 {
    margin: 28px 0 10px;
    font-size: 20px;
    color: #1f5130;
}

.blog-full-article p {
    margin: 0 0 16px;
    color: #33475b;
    font-size: 16px;
    line-height: 1.75;
}

.blog-full-article p:last-child {
    margin-bottom: 0;
}

.blog-full-article strong {
    color: #1f3853;
}

/* Events page */
.events-hero {
    padding: 72px 20px;
}

.contact-hero {
    padding: 72px 20px;
}

.events-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 20px 44px;
}

.events-header {
    text-align: center;
    margin-bottom: 24px;
}

.events-header h2 {
    margin: 0 0 8px;
    font-size: 34px;
    color: #1f5130;
}

.events-header p {
    margin: 0;
    color: #3f5f4b;
    font-size: 17px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.event-card {
    background: #ffffff;
    border: 1px solid #dce8df;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(24, 55, 33, 0.08);
}

.event-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #1f3853;
}

.event-card p {
    margin: 0;
    color: #4a5f77;
    line-height: 1.65;
    font-size: 16px;
}

/* Contact page */
.contact-hero {
    padding: 72px 20px;
}

.contact-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 20px 44px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 10px 24px rgba(15, 34, 58, 0.08);
}

.contact-lead {
    margin: 0 0 14px;
    color: #2f5f40;
    font-size: 18px;
    line-height: 1.7;
}

.contact-details p {
    margin: 0 0 10px;
    color: #324e68;
    font-size: 17px;
}

.email-link {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 600;
}

.contact-button {
    margin-top: 12px;
    display: inline-block;
    background: #007bff;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.contact-button:hover {
    background: #005ec4;
}

.contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1200;
}

.contact-modal:target {
    display: block;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.contact-modal-content {
    position: relative;
    max-width: 560px;
    margin: 8vh auto;
    background: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.contact-modal-content h2 {
    margin: 0 0 8px;
    color: #1f3853;
}

.contact-modal-content p {
    margin: 0 0 16px;
    color: #4a5f77;
}

.contact-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    color: #4a5f77;
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
}

.contact-form {
    display: grid;
    gap: 10px;
}

.contact-form label {
    font-weight: 600;
    color: #2d4057;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 15px;
    box-sizing: border-box;
}

.contact-form button {
    margin-top: 4px;
    background: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover {
    background: #005ec4;
}

.contact-status {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.contact-status-success {
    background: #eaf7ee;
    color: #1f5130;
    border: 1px solid #cdeaD6;
}

.contact-status-error {
    background: #fdecec;
    color: #7a2222;
    border: 1px solid #f3caca;
}

/* Login page */
.login-shell {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    background: radial-gradient(circle at top right, #eef7ff 0%, #f5f7fa 45%, #e9f2ec 100%);
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #dce4ef;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 14px 30px rgba(15, 34, 58, 0.12);
}

.login-card h1 {
    margin: 0 0 8px;
    color: #1f3853;
    font-size: 32px;
}

.login-subtitle {
    margin: 0 0 18px;
    color: #4a5f77;
    line-height: 1.6;
}

.login-error {
    margin: 0 0 14px;
    border: 1px solid #f5c2c7;
    background: #f8d7da;
    color: #842029;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form label {
    font-weight: 600;
    color: #2d4057;
}

.login-form input {
    width: 100%;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 15px;
    box-sizing: border-box;
}

.login-form button {
    margin-top: 4px;
    background: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.login-form button:hover {
    background: #005ec4;
}

.login-divider {
    margin: 16px 0;
    text-align: center;
    position: relative;
}

.login-divider hr {
    border: 0;
    border-top: 1px solid #dce4ef;
    margin: 0;
}

.login-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 12px;
    color: #5f7288;
    font-size: 14px;
}

.google-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 10px 20px;
    color: #3c4043;
    font-weight: 600;
    box-sizing: border-box;
    background: #ffffff;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.google-login-button img {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
}

.google-login-button span {
    line-height: 1;
}

.google-login-button:hover {
    background: #f1f3f4;
    border-color: #dfdfdf;
}

.google-login-button:focus-visible {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.google-login-button.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.login-footer-text {
    margin: 16px 0 0;
    text-align: center;
    color: #4a5f77;
}

.login-footer-text a {
    color: #0056b3;
    font-weight: 600;
    text-decoration: none;
}

.login-footer-text a:hover {
    text-decoration: underline;
}

/* Main Content */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 30px 20px;
}

#results {
    scroll-margin-top: 24px;
}

#results:focus-visible {
    outline: 3px solid #2f5d56;
    outline-offset: 8px;
}

@media (prefers-reduced-motion: reduce) {
    #results {
        scroll-behavior: auto;
    }
}

/* Content Area (for pages like about) */
.content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.content h2 {
    color: #333;
    margin-top: 0;
}

.content p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-top: 0;
}

.empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-helper {
        font-size: 15px;
    }

    .search-bar form {
        flex-direction: column;
        gap: 15px;
    }

    .nature-section {
        padding: 34px 16px;
    }

    .nature-content h2 {
        font-size: 28px;
    }

    .nature-content p {
        font-size: 16px;
    }

    .three-columns {
        padding: 34px 16px;
    }

    .three-columns-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .three-column-card h3 {
        font-size: 20px;
    }

    .blog-shell {
        padding: 26px 16px 34px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-post-grid {
        grid-template-columns: 1fr;
    }

    .blog-featured h2 {
        font-size: 27px;
    }

    .blog-post-card h3 {
        font-size: 20px;
    }

    .blog-full-article {
        padding: 24px 20px;
    }

    .blog-full-article h2 {
        font-size: 24px;
    }

    .events-hero {
        padding: 56px 15px;
    }

    .events-shell {
        padding: 28px 16px 34px;
    }

    .events-header h2 {
        font-size: 28px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .event-card h3 {
        font-size: 21px;
    }

    .contact-hero {
        padding: 56px 15px;
    }

    .contact-shell {
        padding: 28px 16px 34px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-lead {
        font-size: 16px;
    }

    .contact-details p {
        font-size: 16px;
    }

    .contact-modal-content {
        margin: 6vh 14px;
        max-width: none;
    }

    .login-shell {
        min-height: auto;
        padding: 26px 16px;
    }

    .login-card {
        padding: 22px;
    }

    .login-card h1 {
        font-size: 28px;
    }

    .search-bar input[type="text"] {
        min-width: 100%;
    }

    .container {
        padding: 20px 15px;
    }

    .content {
        padding: 25px;
    }

    header {
        padding: 10px 15px;
    }

    .site-logo {
        height: 60px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 12px 28px rgba(13, 23, 20, 0.2);
        z-index: 1001;
        border-bottom: 1px solid rgba(24, 46, 40, 0.08);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px 24px;
        border-bottom: 1px solid rgba(24, 46, 40, 0.08);
        color: #1f4038;
        background: transparent;
    }

    nav a:last-child {
        border-bottom: none;
    }

    nav a:hover {
        background: #edf5ee;
        color: #173b33;
    }

    .nav-user {
        margin-left: 0;
        padding: 16px 24px 20px;
        border-left: none;
        border-top: 1px solid rgba(24, 46, 40, 0.08);
        flex-wrap: wrap;
        background: #f8fbf9;
        color: #1f4038;
    }

    .nav-user-label,
    .nav-user-name,
    .nav-logout {
        color: #1f4038;
    }

    .nav-user-name {
        max-width: none;
        white-space: normal;
    }

    header {
        position: relative;
        z-index: 1000;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero {
        padding: 40px 10px;
    }

    .search-bar input[type="text"] {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .nature-content h2 {
        font-size: 24px;
    }
}

.about-showcase {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 42%, rgba(255, 255, 255, 0.1) 100%), url('/static/background.jpg') center/cover no-repeat;
    padding: 70px 40px 0;
    min-height: 760px;
}

.about-showcase-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 30px;
}

.about-copy {
    padding-left: 20px;
}

.brand-lockup {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 18px;
}

.brand-lockup img {
    display: block;
    width: clamp(260px, 34vw, 480px);
    height: auto;
    max-width: 100%;
}

.brand-mark {
    font-size: 2.2rem;
    color: #2f6d52;
    transform: translateY(-10px);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 0.78;
    color: #2f6d52;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 0.04em;
}

.brand-line {
    font-size: clamp(1.8rem, 2vw, 2.7rem);
    font-weight: 700;
}

.brand-line-large {
    font-size: clamp(3rem, 4vw, 5rem);
    font-weight: 700;
}

.brand-tagline {
    margin: 0 0 28px;
    color: #385d55;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
}

.about-copy h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: #1d2a27;
    font-weight: 700;
}

.about-subtitle {
    margin: 18px 0 22px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #4b5e59;
    line-height: 1.5;
}

.about-intro {
    max-width: 640px;
    margin: 0 0 28px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3b4d48;
}

.feature-stack {
    display: grid;
    gap: 18px;
    max-width: 560px;
    padding-top: 8px;
    border-top: 1px solid rgba(47, 109, 82, 0.25);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(47, 109, 82, 0.18);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(32, 52, 46, 0.04);
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #dfeee4, #cfe1d7);
    font-size: 1.55rem;
    box-shadow: inset 0 0 0 1px rgba(47, 109, 82, 0.1);
}

.feature-item h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: #1f3a34;
}

.feature-item p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.5;
    color: #4d625d;
}

.about-portrait {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 700px;
}

.about-portrait img {
    max-width: 540px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: saturate(0.9) contrast(1.05);
}

.mission-banner {
    margin: 0 auto;
    max-width: 1280px;
    background: linear-gradient(135deg, #2f6d52, #1f4d3c);
    color: #f0f9f4;
    padding: 34px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    position: relative;
    overflow: hidden;
}

.quote-mark {
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    opacity: 0.8;
}

.mission-banner p {
    margin: 0;
    max-width: 920px;
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
}

.mission-section {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(145deg, #f1f8f2, #e6f1eb);
    border: 1px solid #cfe1d5;
    border-left: 5px solid #2f6d52;
    border-radius: 10px;
}

.mission-section .mission-kicker {
    margin: 0 0 8px;
    color: #2f6d52;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mission-section h2 {
    margin: 0 0 18px;
    color: #1f3a34;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.mission-section p {
    color: #3f5f55;
    line-height: 1.75;
}

.mission-section .mission-closing {
    margin-bottom: 0;
    color: #1f4d3c;
    font-weight: 700;
}

.research-section {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(145deg, #f4f7fb, #e9f0f4);
    border: 1px solid #d4e0e7;
    border-left: 5px solid #356274;
    border-radius: 10px;
}

.research-section .research-kicker {
    margin: 0 0 8px;
    color: #356274;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.research-section h2 {
    margin: 0 0 18px;
    color: #243f4b;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.research-section p {
    color: #405b65;
    line-height: 1.75;
}

.research-paper-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #356274;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.research-paper-link:hover {
    background: #284e5e;
    transform: translateY(-1px);
}

.banner-leaf {
    font-size: 2.2rem;
    opacity: 0.8;
}

/* Responsive adjustments for about page */
@media (max-width: 980px) {
    .about-showcase-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-copy {
        padding-left: 0;
        text-align: center;
    }

    .about-intro,
    .feature-stack {
        margin-left: auto;
        margin-right: auto;
    }

    .brand-lockup {
        justify-content: center;
    }

    .about-portrait {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .about-showcase {
        padding: 48px 18px 0;
        min-height: auto;
    }

    .about-copy h2 {
        font-size: 2.5rem;
    }

    .feature-item {
        align-items: flex-start;
    }

    .mission-banner {
        flex-direction: column;
        gap: 10px;
        padding: 28px 20px;
    }

    .mission-banner p {
        font-size: 1.2rem;
    }

    .intro-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .intro-image {
        flex: 0 0 auto;
        align-self: center;
    }

    .profile-image {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .brand-line {
        font-size: 1.6rem;
    }

    .brand-line-large {
        font-size: 2.4rem;
    }

    .brand-tagline {
        font-size: 1rem;
    }

    .about-subtitle {
        letter-spacing: 0.08em;
        font-size: 0.8rem;
    }

    .feature-item {
        padding: 14px 12px;
    }

    .feature-item h3 {
        font-size: 1.05rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .profile-image {
        max-width: 150px;
    }

    .intro-section {
        gap: 15px;
    }
}

/* Disclaimer section */
.disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 25px;
    margin: 40px 0 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.disclaimer h2 {
    color: #856404;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffeaa7;
    padding-bottom: 8px;
}

.disclaimer p {
    color: #856404;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

.disclaimer strong {
    font-weight: 600;
}

/* Responsive disclaimer adjustments */
@media (max-width: 768px) {
    .disclaimer {
        margin: 30px 0 15px 0;
        padding: 20px;
    }

    .disclaimer h2 {
        font-size: 20px;
    }

    .disclaimer p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .disclaimer {
        margin: 20px 0 10px 0;
        padding: 15px;
    }

    .disclaimer h2 {
        font-size: 18px;
    }
}

/* References section */
.references {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.references h2 {
    color: #495057;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 8px;
}

.references p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.references p:last-child {
    margin-bottom: 0;
}

.references em {
    font-style: italic;
    color: #495057;
}

.references strong {
    font-weight: 600;
    color: #495057;
}

.references a {
    color: #007bff;
    text-decoration: none;
    word-break: break-all;
}

.references a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive references adjustments */
@media (max-width: 768px) {
    .references {
        margin: 25px 0 15px 0;
        padding: 20px;
    }

    .references h2 {
        font-size: 20px;
    }

    .references p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .references {
        margin: 20px 0 10px 0;
        padding: 15px;
    }

    .references h2 {
        font-size: 18px;
    }

    .references a {
        word-break: break-word;
    }
}