:root {
    --forest: #2d5f3f;
    --forest-deep: #173626;
    --forest-soft: #5f8c71;
    --sage: #d9e5db;
    --cream: #f5f1e8;
    --sand: #e8dfd0;
    --ink: #18201c;
    --muted: #5c665f;
    --line: rgba(24, 32, 28, 0.12);
    --white: #ffffff;
    --shadow: 0 30px 80px rgba(17, 29, 23, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1240px, calc(100vw - 48px));
    --content-column: min(980px, calc(100vw - 64px));
    --section-gap: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(95, 140, 113, 0.18), transparent 22%),
        radial-gradient(circle at top right, rgba(45, 95, 63, 0.12), transparent 26%),
        linear-gradient(180deg, #f8f5ef 0%, #f7f6f1 46%, #eef3ee 100%);
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.site-body {
    overflow-x: hidden;
}

.page-shell {
    width: 100%;
}

.site-header {
    width: 100%;
    margin: 0;
    display: contents;
    z-index: 40;
    pointer-events: auto;
}

.brand-mark,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark img,
.footer-brand img {
    width: 52px;
    height: auto;
}

.brand-floating {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: auto;
    z-index: 46;
    line-height: 0;
}

.brand-floating img {
    width: 78px;
}

.brand-floating span {
    color: var(--forest-deep);
    font-size: 1rem;
    letter-spacing: 0.34em;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

.brand-mark span,
.footer-brand strong {
    font-size: 0.95rem;
    letter-spacing: 0.32em;
    font-weight: 800;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav-floating {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 45;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.66));
    backdrop-filter: blur(24px) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 18px 50px rgba(23, 54, 38, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    pointer-events: auto;
    width: min(760px, calc(100vw - 48px));
    justify-content: center;
    flex-wrap: nowrap;
    position: fixed;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 12px 18px;
    border-radius: 9999px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    z-index: 1;
}

.nav-highlight {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: calc(100% - 12px);
    border-radius: 9999px;
    background: rgba(45, 95, 63, 0.1);
    transform: translate(0, -50%);
    transition: left 0.35s ease, width 0.35s ease, opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.site-nav a.is-active {
    color: var(--forest-deep);
    font-weight: 800;
    transform: translateY(-1px);
}

.header-cta,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid var(--forest);
    background: var(--forest);
    color: var(--white);
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.header-cta:hover,
.cta-button:hover {
    transform: translateY(-2px);
    background: var(--forest-deep);
    box-shadow: 0 18px 35px rgba(23, 54, 38, 0.18);
}

.text-link {
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

main {
    display: grid;
    gap: var(--section-gap);
    padding-bottom: 120px;
}

section {
    width: var(--container);
    margin: 0 auto;
}

.hero-section {
    position: relative;
    min-height: 58vh;
    padding-top: 132px;
    margin-top: var(--section-gap);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    width: var(--content-column);
}

.hero-backdrop {
    position: absolute;
    inset: 60px 0 auto;
    height: calc(100% - 40px);
    border-radius: 40px;
    background:
        linear-gradient(120deg, rgba(18, 32, 24, 0.72), rgba(18, 32, 24, 0.28)),
        url('assets/PHOTO-2025-10-14-09-41-17.jpg') center/cover no-repeat;
    filter: saturate(1.08);
}

.hero-grid {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 30px 40px 10px;
}

.hero-copy {
    color: var(--white);
    max-width: 680px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--forest);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero-copy .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.hero-copy h1,
.section-heading h2,
.manifesto-card h2,
.innovation-copy h2,
.contact-copy h2,
.admin-panel h1,
.admin-block h2 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 0.95;
    font-weight: 600;
}

.hero-copy h1 {
    font-size: clamp(3rem, 4.2vw, 4.6rem);
    margin-bottom: 12px;
    max-width: 12ch;
}

.hero-text,
.section-heading p,
.manifesto-card p,
.innovation-copy p,
.contact-copy p,
.timeline-description,
.timeline-empty,
.event-note,
.admin-hint {
    color: rgba(24, 32, 28, 0.72);
    line-height: 1.75;
    font-size: 1rem;
}

.hero-text {
    color: rgba(255, 255, 255, 0.86);
    max-width: 520px;
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-panel,
.manifesto-card,
.feature-card,
.timeline-entry,
.contact-card,
.contact-form-shell,
.admin-shell,
.admin-block,
.timeline-admin-card {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-panel {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    align-self: end;
}

.vision-section {
    position: relative;
    margin-top: 0;
    z-index: 2;
    width: var(--content-column);
}

.vision-panel {
    max-width: 980px;
    margin: 0 auto;
}

.hero-panel-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 28px;
}

.hero-panel-media img,
.gallery-tile img,
.timeline-main-image img,
.timeline-thumb img,
.innovation-visual img,
.admin-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-panel-body {
    padding: 20px 22px 22px;
}

.hero-actions .cta-button {
    max-width: 100%;
    white-space: normal;
}

.hero-panel-kicker {
    color: var(--forest);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
}

.hero-panel-body h2 {
    font-size: 1.55rem;
    line-height: 1.05;
    margin-bottom: 14px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-stats div {
    padding: 14px 12px 12px;
    border: 1px solid rgba(23, 54, 38, 0.08);
    border-radius: 18px;
    background: rgba(245, 241, 232, 0.7);
}

.hero-stats strong {
    display: block;
    color: var(--forest-deep);
    font-size: 1.2rem;
}

.hero-stats span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.manifesto-section {
    display: grid;
    gap: 24px;
    width: var(--content-column);
}

.manifesto-card,
.contact-card,
.admin-shell {
    background: rgba(255, 251, 245, 0.88);
    border: 1px solid rgba(45, 95, 63, 0.08);
    padding: 38px;
}

.manifesto-card h2,
.section-heading h2,
.innovation-copy h2,
.contact-copy h2,
.admin-panel h1,
.admin-block h2 {
    font-size: clamp(2rem, 2.8vw, 3.2rem);
    margin-bottom: 14px;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card,
.timeline-entry,
.contact-form-shell,
.admin-block,
.timeline-admin-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 54, 38, 0.08);
    padding: 28px;
}

.feature-card span {
    color: var(--forest-soft);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.feature-card h3 {
    margin: 16px 0 10px;
    font-size: 1.12rem;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

.gallery-section,
.timeline-section,
.contact-section {
    scroll-margin-top: 120px;
    width: var(--content-column);
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    max-width: 780px;
}

.section-heading.split {
    max-width: none;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.65fr);
    align-items: end;
}

.section-note {
    justify-self: end;
    max-width: 360px;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    grid-auto-rows: 220px;
}

.gallery-tile {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.gallery-tile img {
    transition: transform 0.45s ease;
}

.gallery-tile:hover img {
    transform: scale(1.05);
}

.gallery-tile.tall {
    grid-row: span 2;
}

.gallery-tile.wide {
    grid-column: span 2;
}

.timeline-list {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 95, 63, 0.3) rgba(45, 95, 63, 0.08);
}

.timeline-list::-webkit-scrollbar {
    height: 8px;
}

.timeline-list::-webkit-scrollbar-track {
    background: rgba(45, 95, 63, 0.08);
    border-radius: 999px;
}

.timeline-list::-webkit-scrollbar-thumb {
    background: rgba(45, 95, 63, 0.3);
    border-radius: 999px;
    transition: background 0.2s ease;
}

.timeline-list::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 95, 63, 0.5);
}

.timeline-entry {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    position: relative;
    min-width: 350px;
    max-width: 350px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.timeline-entry::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 59px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--forest), rgba(45, 95, 63, 0));
}

.timeline-entry:last-child::after {
    display: none;
}

.timeline-date {
    position: relative;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-date span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 100px;
    padding: 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--forest), var(--forest-deep));
    color: var(--white);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.4;
    box-shadow: 0 18px 30px rgba(23, 54, 38, 0.2);
}

.timeline-content {
    display: grid;
    gap: 14px;
    width: 100%;
}

.timeline-main-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    width: 100%;
}

.timeline-description {
    max-width: 860px;
}

.timeline-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.timeline-thumb {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1 / 1;
}

.innovation-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, rgba(24, 44, 32, 0.96), rgba(45, 95, 63, 0.84));
    border-radius: 38px;
    padding: 34px;
    overflow: hidden;
    width: var(--content-column);
}

.innovation-copy .eyebrow,
.innovation-copy h2,
.innovation-copy p,
.innovation-points {
    color: var(--white);
}

.innovation-points {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
    padding-left: 18px;
}

.innovation-visual {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 22px;
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 24px;
    align-items: stretch;
}

.contact-map {
    margin-top: 26px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(23, 54, 38, 0.08);
    min-height: 340px;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 340px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--forest-deep);
}

.form-group input,
.form-group textarea,
.admin-login-form input,
.admin-form input,
.admin-form textarea {
    width: 100%;
    border: 1px solid rgba(23, 54, 38, 0.12);
    border-radius: 18px;
    background: rgba(250, 248, 243, 0.9);
    min-height: 56px;
    padding: 16px 18px;
    color: var(--ink);
}

.form-group textarea,
.admin-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-status,
.admin-status {
    min-height: 24px;
    color: var(--forest-deep);
    font-size: 0.92rem;
}

.site-footer {
    width: var(--content-column);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    color: var(--muted);
    text-align: center;
}

.footer-brand span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: normal;
    font-weight: 500;
}

.admin-body {
    padding: 34px 0;
}

.admin-shell {
    display: grid;
    gap: 24px;
}

.admin-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.admin-login-form,
.admin-form {
    display: grid;
    gap: 16px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ghost-button,
.danger-button {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(23, 54, 38, 0.14);
    background: transparent;
    color: var(--forest-deep);
    font-weight: 700;
    cursor: pointer;
}

.danger-button {
    border-color: rgba(120, 31, 31, 0.2);
    color: #7a2a2a;
}

.file-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-events {
    display: grid;
    gap: 16px;
}

.timeline-admin-card {
    display: grid;
    gap: 14px;
}

.admin-event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-event-header strong {
    font-size: 1.1rem;
}

.admin-event-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.admin-event-media img {
    border-radius: 18px;
    aspect-ratio: 1 / 1;
}

.hidden {
    display: none !important;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.toggle-label input[type="checkbox"] {
    width: 50px;
    min-height: 28px;
    appearance: none;
    background: rgba(23, 54, 38, 0.15);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-label input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: white;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.toggle-label input[type="checkbox"]:checked {
    background: var(--forest);
}

.toggle-label input[type="checkbox"]:checked::before {
    transform: translateX(22px);
}

.toggle-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (min-width: 1100px) {
    body:not(.admin-body) {
        padding-left: 70px;
    }

    main:not(.admin-shell) {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 48px;
        padding: 0 40px;
    }

    main:not(.admin-shell) > section {
        width: 100%;
        margin: 0;
    }

    .admin-body {
        padding: 60px 40px;
    }

    .admin-shell {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .admin-header {
        flex-direction: row;
        align-items: flex-end;
        gap: 48px;
    }

    .admin-panel {
        flex: 1;
    }

    .admin-actions {
        flex-direction: row;
        gap: 16px;
    }

    .admin-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }

    .admin-block {
        padding: 40px;
    }

    .admin-panel h1,
    .admin-block h2 {
        font-size: 2.8rem;
    }

    .site-nav-floating {
        left: 10px;
        bottom: 50%;
        transform: translateY(50%);
        width: auto;
        flex-direction: column;
        padding: 12px 8px;
        gap: 4px;
        align-items: center;
        border-radius: 999px;
    }

    .site-nav {
        flex-direction: column;
        gap: 2px;
    }

    .site-nav a {
        padding: 12px 10px;
        width: 100%;
        text-align: center;
        font-size: 0.85rem;
    }

    .nav-highlight {
        width: calc(100% - 8px);
        height: 0;
        left: 50%;
        top: 0;
        transform: translate(-50%, 0);
        transition: top 0.35s ease, height 0.35s ease, opacity 0.25s ease;
    }

    .hero-section {
        width: 100%;
        min-height: 75vh;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-backdrop {
        border-radius: 48px;
    }

    .hero-copy h1 {
        font-size: clamp(3.5rem, 5vw, 5.5rem);
        max-width: 16ch;
    }

    .hero-grid {
        padding: 48px 60px;
    }

    .vision-section {
        width: 100%;
        margin-top: 0;
    }

    .vision-panel {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
        gap: 40px;
        max-width: none;
        padding: 48px;
    }

    .vision-panel .hero-panel-media {
        aspect-ratio: 4 / 3;
        order: 2;
    }

    .hero-panel-body {
        order: 1;
        padding: 0;
    }

    .hero-panel-body h2 {
        font-size: 2.8rem;
        margin-bottom: 24px;
    }

    .manifesto-section {
        width: 100%;
        display: grid;
        gap: 32px;
    }

    .manifesto-card {
        padding: 48px;
        text-align: center;
        max-width: 1000px;
        margin: 0 auto;
    }

    .manifesto-card h2 {
        font-size: 3.5rem;
        margin-bottom: 24px;
    }

    .feature-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .feature-card {
        padding: 36px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 40px 100px rgba(17, 29, 23, 0.18);
    }

    .feature-card h3 {
        font-size: 1.4rem;
        margin: 18px 0 12px;
    }

    .gallery-section {
        width: 100%;
    }

    .section-heading {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 40px;
    }

    .section-heading h2 {
        font-size: 3.2rem;
    }

    .gallery-mosaic {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
        aspect-ratio: 1 / 1;
        gap: 20px;
        width: 100%;
    }

    .gallery-tile {
        position: relative;
        overflow: hidden;
        border-radius: 28px;
        box-shadow: var(--shadow);
    }

    .gallery-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

    .gallery-tile:hover img {
        transform: scale(1.05);
    }

    .gallery-tile.tall {
        grid-row: span 2;
    }

    .gallery-tile.wide {
        grid-column: span 2;
    }

    .gallery-tile:nth-child(1) {
        grid-column: 1 / span 1;
        grid-row: 1 / span 2;
    }

    .gallery-tile:nth-child(2) {
        grid-column: 2 / span 1;
        grid-row: 1 / span 1;
    }

    .gallery-tile:nth-child(3) {
        grid-column: 3 / span 1;
        grid-row: 1 / span 1;
    }

    .gallery-tile:nth-child(4) {
        grid-column: 2 / span 2;
        grid-row: 2 / span 1;
    }

    .gallery-tile:nth-child(5) {
        grid-column: 4 / span 1;
        grid-row: 1 / span 2;
    }

    .gallery-tile:nth-child(6) {
        grid-column: 1 / span 1;
        grid-row: 3 / span 2;
    }

    .gallery-tile:nth-child(7) {
        grid-column: 2 / span 1;
        grid-row: 3 / span 1;
    }

    .gallery-tile:nth-child(8) {
        grid-column: 2 / span 2;
        grid-row: 4 / span 1;
    }

    .gallery-tile:nth-child(9) {
        grid-column: 4 / span 1;
        grid-row: 3 / span 2;
    }

    .timeline-section {
        width: 100%;
    }

    .timeline-list {
        padding-bottom: 16px;
    }

    .timeline-list::-webkit-scrollbar {
        height: 10px;
    }

    .section-heading.split {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 32px;
        text-align: left;
        align-items: end;
        max-width: 100%;
    }

    .section-note {
        justify-self: end;
    }

    .timeline-entry {
        min-width: 420px;
        max-width: 420px;
        gap: 20px;
    }

    .timeline-entry::after {
        right: -24px;
        top: 70px;
        width: 24px;
    }

    .timeline-date span {
        min-width: 110px;
        min-height: 110px;
        font-size: 0.9rem;
        padding: 18px;
    }

    .timeline-main-image {
        aspect-ratio: 16 / 10;
        border-radius: 22px;
    }

    .timeline-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .timeline-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .timeline-thumb {
        aspect-ratio: 1 / 1;
        border-radius: 16px;
    }

    .innovation-section {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding: 60px;
        border-radius: 48px;
    }

    .innovation-copy h2 {
        font-size: 3rem;
    }

    .innovation-visual {
        padding: 32px;
    }

    .contact-section {
        width: 100%;
    }

    .contact-card {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding: 60px;
    }

    .contact-copy h2 {
        font-size: 3rem;
    }

    .contact-map {
        min-height: 450px;
    }

    #map {
        min-height: 450px;
    }

    .site-footer {
        width: 100%;
        max-width: 1400px;
        padding: 40px;
    }
}

@media (max-width: 1080px) {
    :root {
        --section-gap: 28px;
    }

    .site-header,
    .site-footer,
    section {
        width: min(100vw - 32px, 1240px);
    }

    .hero-section,
    .vision-section,
    .manifesto-section,
    .gallery-section,
    .timeline-section,
    .innovation-section,
    .contact-section,
    .site-footer {
        width: min(100vw - 32px, 1240px);
    }

    .site-header {
        width: 100%;
    }

    .hero-grid,
    .contact-card,
    .admin-grid,
    .innovation-section,
    .section-heading.split {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 34px 22px 10px;
        align-items: end;
    }

    .hero-panel {
        max-width: 720px;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }

    .vision-section {
        margin-top: 0;
    }

    .manifesto-card,
    .contact-card,
    .admin-shell {
        padding: 30px;
    }

    .feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 200px;
    }

    .timeline-entry {
        gap: 18px;
    }

    .timeline-date span {
        min-width: 108px;
        min-height: 108px;
        font-size: 0.88rem;
    }

    .innovation-section {
        padding: 28px;
    }

    .contact-map,
    #map {
        min-height: 300px;
    }

    .site-footer {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .feature-strip,
    .section-note {
        justify-self: start;
    }

    .timeline-entry {
        grid-template-columns: 1fr;
    }

    .timeline-entry::before,
    .timeline-date {
        position: static;
    }
}

@media (max-width: 720px) {
    :root {
        --section-gap: 24px;
    }

    body {
        background:
            linear-gradient(180deg, #f8f5ef 0%, #f7f6f1 46%, #eef3ee 100%);
    }

    .site-header {
        width: 100%;
    }

    .site-nav {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        font-size: 0.84rem;
    }

    .brand-floating,
    .site-nav-floating {
        justify-content: center;
    }

    .site-nav-floating {
        width: min(calc(100vw - 20px), 720px);
        bottom: 14px;
        padding: 10px;
        border-radius: 999px;
    }

    .brand-floating {
        top: 14px;
    }

    .brand-floating img {
        width: 64px;
    }

    .brand-floating span {
        font-size: 0.88rem;
        letter-spacing: 0.24em;
    }

    .site-nav a {
        flex: 0 1 auto;
        justify-content: center;
        min-width: 0;
        padding: 10px 12px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 178px;
        margin-top: var(--section-gap);
        padding-bottom: 52px;
    }

    .hero-backdrop {
        inset: 38px 0 0;
        border-radius: 30px;
    }

    .hero-copy h1,
    .section-heading h2,
    .manifesto-card h2,
    .innovation-copy h2,
    .contact-copy h2,
    .admin-panel h1,
    .admin-block h2 {
        font-size: 2.5rem;
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .hero-actions,
    .admin-actions,
    .site-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .cta-button,
    .hero-actions .text-link,
    .admin-actions .ghost-button,
    .admin-actions a,
    .header-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-stats,
    .feature-strip,
    .gallery-mosaic {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 18px;
        padding: 28px 16px 6px;
    }

    .hero-text,
    .section-heading p,
    .manifesto-card p,
    .innovation-copy p,
    .contact-copy p,
    .timeline-description,
    .timeline-empty,
    .event-note,
    .admin-hint {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .hero-panel-media {
        aspect-ratio: 16 / 8.5;
    }

    .hero-panel-body {
        padding: 16px;
    }

    .hero-panel-body h2 {
        font-size: 1.65rem;
        margin-bottom: 12px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-stats div {
        padding: 12px 14px;
    }

    .hero-stats strong {
        font-size: 1.05rem;
    }

    .manifesto-section,
    main {
        gap: 28px;
    }

    .manifesto-card,
    .contact-copy,
    .innovation-copy {
        text-align: left;
    }

    .feature-card {
        padding: 20px;
    }

    .gallery-tile.wide,
    .gallery-tile.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .timeline-date span {
        min-width: 100%;
        border-radius: 22px;
        min-height: 64px;
        padding: 14px 18px;
    }

    .manifesto-card,
    .feature-card,
    .timeline-entry,
    .contact-card,
    .contact-form-shell,
    .admin-shell,
    .admin-block,
    .timeline-admin-card,
    .innovation-section {
        padding: 22px;
        border-radius: 24px;
    }

    .feature-card h3 {
        margin: 10px 0 8px;
        font-size: 1.2rem;
    }

    .timeline-main-image {
        aspect-ratio: 4 / 3;
    }

    .timeline-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .innovation-section {
        padding: 22px;
        gap: 18px;
    }

    .innovation-visual {
        padding: 14px;
    }

    .contact-card {
        gap: 18px;
    }

    .contact-map,
    #map {
        min-height: 240px;
    }

    .site-footer {
        gap: 14px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    :root {
        --container: min(100vw - 24px, 1240px);
        --content-column: min(100vw - 24px, 980px);
        --section-gap: 20px;
    }

    .site-header {
        width: 100%;
    }

    .brand-mark span,
    .footer-brand strong {
        font-size: 0.82rem;
        letter-spacing: 0.22em;
    }

    .brand-mark img,
    .footer-brand img {
        width: 44px;
    }

    .hero-grid {
        padding: 22px 14px 4px;
    }

    .hero-section {
        padding-top: 186px;
        margin-top: var(--section-gap);
        padding-bottom: 42px;
    }

    .brand-floating {
        justify-content: center;
        top: 12px;
    }

    .brand-floating img {
        width: 54px;
    }

    .brand-floating span {
        font-size: 0.78rem;
        letter-spacing: 0.18em;
    }

    .site-nav-floating {
        width: calc(100vw - 16px);
        bottom: 10px;
        padding: 10px 8px;
        border-radius: 999px;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav a {
        flex: 0 1 auto;
        min-width: 0;
        padding: 10px 10px;
        font-size: 0.78rem;
    }

    .hero-copy h1,
    .section-heading h2,
    .manifesto-card h2,
    .innovation-copy h2,
    .contact-copy h2,
    .admin-panel h1,
    .admin-block h2 {
        font-size: 2.15rem;
    }

    .hero-text,
    .section-heading p,
    .manifesto-card p,
    .innovation-copy p,
    .contact-copy p,
    .timeline-description,
    .timeline-empty,
    .event-note,
    .admin-hint {
        font-size: 0.92rem;
    }

    .hero-panel-body h2 {
        font-size: 1.48rem;
    }

    .hero-panel,
    .manifesto-card,
    .feature-card,
    .timeline-entry,
    .contact-card,
    .contact-form-shell,
    .admin-shell,
    .admin-block,
    .timeline-admin-card,
    .innovation-section {
        padding: 18px;
        border-radius: 20px;
    }

    .gallery-mosaic {
        grid-auto-rows: 180px;
    }

    .timeline-thumbs {
        grid-template-columns: 1fr;
    }

    .timeline-thumb {
        aspect-ratio: 4 / 3;
    }

    .form-group input,
    .form-group textarea,
    .admin-login-form input,
    .admin-form input,
    .admin-form textarea {
        min-height: 52px;
        padding: 14px 16px;
        border-radius: 16px;
    }

    .cta-button,
    .ghost-button,
    .danger-button,
    .header-cta {
        min-height: 48px;
        padding: 0 18px;
    }
}
