:root {
    color-scheme: dark;
    --bg: #0c1a28;
    --bg-alt: #11263a;
    --surface: rgba(15, 31, 47, 0.7);
    --surface-strong: rgba(17, 39, 54, 0.9);
    --text: #e6edf5;
    --muted: #98a6b8;
    --accent: #4fd1c5;
    --accent-strong: #38b2ac;
    --highlight: #63b3ed;
    --danger: #f56565;
    --shadow: 0 25px 50px -12px rgba(15, 31, 47, 0.8);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    line-height: 1.65;
    background: radial-gradient(circle at top, rgba(79, 209, 197, 0.12), transparent 45%), var(--bg);
    color: var(--text);
}

a {
    color: var(--highlight);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.is-hidden {
    display: none !important;
}

.shell {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.shell.narrow {
    width: min(820px, 90vw);
}

.site-header {
    background: rgba(6, 14, 22, 0.8);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(99, 179, 237, 0.25);
}

.site-header .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 64px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-title {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    font-size: 0.78rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(79, 209, 197, 0.14);
    color: var(--text);
}

.nav-link.is-active {
    background: linear-gradient(120deg, var(--accent), var(--highlight));
    color: #04111b;
    font-weight: 600;
}

.hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(4, 10, 18, 0.82), rgba(17, 38, 58, 0.55)), url("../assets/collage-hero.jpg") center/cover no-repeat;
    z-index: 0;
}

.hero .shell {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.lead {
    font-size: 1.1rem;
    color: #d1e0f0;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn.primary {
    background: linear-gradient(120deg, var(--accent), var(--highlight));
    color: #04111b;
    box-shadow: 0 20px 40px -20px rgba(99, 179, 237, 0.6);
}

.btn.ghost {
    border-color: rgba(99, 179, 237, 0.4);
    color: var(--text);
}

.hero-summary {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(99, 179, 237, 0.2);
    box-shadow: var(--shadow);
}

.hero-summary h2 {
    margin-top: 0;
    font-size: 1.4rem;
}

.hero-summary ul {
    margin: 1.5rem 0 0;
    padding-left: 1.1rem;
}

.hero-summary li {
    margin-bottom: 0.75rem;
}

.metrics {
    padding: 2.5rem 0 1.5rem;
}

.metrics-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gratitude {
    padding: 2rem 0;
}

.gratitude-card {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.18), rgba(99, 179, 237, 0.16));
    border: 1px solid rgba(99, 179, 237, 0.25);
    border-radius: 1.6rem;
    padding: clamp(1.8rem, 4vw, 2.4rem);
    box-shadow: 0 22px 45px -20px rgba(10, 25, 40, 0.65);
}

.gratitude-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.gratitude-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-family: "Playfair Display", Georgia, serif;
}

.gratitude-footer {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.95rem;
}

.gratitude-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.metric-card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(79, 209, 197, 0.25);
    box-shadow: var(--shadow);
}

.metric-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--muted);
}

.metric-card p {
    font-size: 1.6rem;
    font-weight: 600;
}

.phase-overview {
    padding: 3rem 0;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.phase-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(160deg, rgba(79, 209, 197, 0.18), rgba(17, 38, 58, 0.9));
    border-radius: 1.6rem;
    padding: 1.7rem;
    border: 1px solid rgba(79, 209, 197, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.phase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 179, 237, 0.45);
    box-shadow: 0 18px 35px -20px rgba(10, 25, 40, 0.65);
}

.phase-count {
    color: var(--accent);
    font-weight: 600;
}

.featured {
    padding: 3rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.6rem;
    border-radius: 1.4rem;
    background: var(--surface-strong);
    border: 1px solid rgba(99, 179, 237, 0.17);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 179, 237, 0.45);
    box-shadow: 0 20px 40px -24px rgba(10, 25, 40, 0.65);
}

.feature-card footer {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.momentum {
    padding: 3rem 0 4rem;
}

.gratitude-cta {
    padding: 3rem 0 3.5rem;
}

.cta-card {
    background: var(--surface);
    border-radius: 1.5rem;
    border: 1px solid rgba(99, 179, 237, 0.2);
    padding: clamp(1.8rem, 3vw, 2.4rem);
    box-shadow: var(--shadow);
}

.cta-card h2 {
    margin-top: 0;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.cta-actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.momentum-list {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.momentum-list li {
    padding: 0;
}

.momentum-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    border-radius: 1.2rem;
    background: var(--surface);
    border: 1px solid rgba(79, 209, 197, 0.18);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.momentum-list a:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 179, 237, 0.45);
}

.page-intro {
    padding: 3rem 0 2rem;
}

.filters {
    padding-bottom: 1.5rem;
}

.filters-grid {
    background: var(--surface);
    border: 1px solid rgba(99, 179, 237, 0.18);
    border-radius: 1.2rem;
    padding: 1.2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.filters label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--muted);
    font-size: 0.9rem;
}

select,
input[type="search"] {
    background: rgba(10, 20, 32, 0.8);
    border: 1px solid rgba(79, 209, 197, 0.25);
    color: var(--text);
    border-radius: 0.75rem;
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
}

.resource-hub {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, rgba(4, 12, 20, 0.88), rgba(8, 20, 32, 0.92));
}

.maintenance-feed {
    padding: 4.5rem 0 5rem;
    background: linear-gradient(180deg, rgba(6, 18, 30, 0.9), rgba(8, 20, 32, 0.94));
}

.maintenance-feed .section-header {
    max-width: 760px;
}

.feed-toolbar {
    background: var(--surface);
    border-radius: 1.4rem;
    border: 1px solid rgba(99, 179, 237, 0.18);
    padding: clamp(1.4rem, 2vw, 1.8rem);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.feed-toolbar form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem clamp(1rem, 2vw, 1.5rem);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.filter-field label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: var(--muted);
}

.filter-field select,
.filter-field input {
    background: rgba(10, 21, 32, 0.85);
    border: 1px solid rgba(79, 209, 197, 0.25);
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: var(--text);
    font-size: 0.95rem;
}

.feed-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    background: linear-gradient(120deg, var(--highlight), var(--accent));
    color: #04111b;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -12px rgba(99, 179, 237, 0.65);
}

.button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button.is-muted {
    background: transparent;
    color: var(--highlight);
    border: 1px solid rgba(99, 179, 237, 0.38);
}

.feed-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.feed-meta strong {
    color: var(--text);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: var(--surface);
    border-radius: 1.4rem;
    border: 1px solid rgba(99, 179, 237, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.post-card-media {
    border: none;
    background: rgba(6, 15, 24, 0.8);
    padding: 0;
    cursor: pointer;
    position: relative;
}

.post-card-media img,
.post-card-media video {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 260px;
}

.post-card-media video {
    background: rgba(6, 15, 24, 1);
}

.post-card-media .post-card-media-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: rgba(6, 15, 24, 0.75);
    border: 1px solid rgba(79, 209, 197, 0.4);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--highlight);
}

.post-card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1 1 auto;
}

.post-card-meta {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--muted);
}

.post-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.post-card-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.post-card-tags {
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-card-tags li {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(79, 209, 197, 0.18);
    color: var(--highlight);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.post-card-attachments {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.post-card-attachments .chip {
    border-radius: 999px;
    border: 1px solid rgba(99, 179, 237, 0.3);
    background: rgba(6, 15, 24, 0.75);
    color: var(--highlight);
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.post-card-attachments .chip:hover {
    background: rgba(99, 179, 237, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

.post-card-more {
    margin: 0;
    font-size: 0.85rem;
    color: var(--highlight);
}

.feed-empty {
    text-align: center;
    color: var(--muted);
    margin: 2.8rem 0 1rem;
}

.feed-more {
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.8rem;
    display: grid;
    gap: 0.6rem;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-family: "Playfair Display", Georgia, serif;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.resource-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    border-radius: 1.2rem;
    background: rgba(8, 20, 32, 0.8);
    border: 1px solid rgba(79, 209, 197, 0.18);
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 179, 237, 0.45);
    box-shadow: 0 20px 40px -18px rgba(5, 15, 25, 0.9);
    text-decoration: none;
}

.resource-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 14px rgba(3, 12, 20, 0.6));
}

.resource-icon--logo {
    object-fit: contain;
    padding: 6px;
    border-radius: 12px;
    background: rgba(4, 16, 28, 0.85);
    border: 1px solid rgba(79, 209, 197, 0.2);
}

.resource-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.article-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.article-card {
    background: var(--surface);
    border-radius: 1.1rem;
    border: 1px solid rgba(79, 209, 197, 0.18);
    padding: 1.1rem;
    display: grid;
    gap: 0.75rem;
}

.article-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 0.9rem;
}

.article-meta {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.article-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.article-link::after {
    content: "\2192";
    font-size: 0.95em;
    transition: transform 0.2s ease;
}

.article-link:hover::after {
    transform: translateX(4px);
}

.site-footer {
    margin-top: 4rem;
    background: rgba(4, 10, 18, 0.92);
    border-top: 1px solid rgba(99, 179, 237, 0.15);
    padding: 3rem 0 2rem;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
    color: var(--text);
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid li {
    margin-bottom: 0.4rem;
}

.footer-meta {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.82rem;
}

.timeline-column {
    display: grid;
    gap: 2.5rem;
    position: relative;
}

.timeline-column::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(79, 209, 197, 0.3), rgba(99, 179, 237, 0));
    left: 1.5rem;
    margin-left: 1.5rem;
}

.timeline-item {
    position: relative;
    padding-left: 6rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 1.3rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--accent), var(--highlight));
    box-shadow: 0 0 0 6px rgba(79, 209, 197, 0.15);
}

.timeline-meta {
    margin-bottom: 0.8rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.timeline-card {
    background: var(--surface);
    border-radius: 1.4rem;
    padding: 1.6rem;
    border: 1px solid rgba(79, 209, 197, 0.18);
    box-shadow: var(--shadow);
}

.timeline-card h3 {
    margin-top: 0;
}

.timeline-body p {
    margin: 0 0 1rem;
}

.timeline-body p:last-child {
    margin-bottom: 0;
}

.timeline-card img {
    width: 100%;
    border-radius: 1rem;
    margin: 1rem 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.media-thumb {
    border: none;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.media-thumb img {
    width: 100%;
    border-radius: 1rem;
    display: block;
}

.video-grid video {
    width: 100%;
    border-radius: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(99, 179, 237, 0.2);
}

.media-video-grid {
    display: grid;
    justify-content: center;
    gap: 1rem;
}

.media-video-grid video {
    width: min(100%, 640px);
    height: auto;
    max-height: min(70vh, 500px);
    border-radius: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(99, 179, 237, 0.2);
    justify-self: center;
}

.gallery-controls {
    padding-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.gallery-controls label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--muted);
}

.gallery-controls .filter-field {
    flex: 1 1 180px;
}

.gallery-controls .filter-field.search {
    flex: 2 1 260px;
}

.gallery-grid {
    columns: 280px;
    gap: 1rem;
}

.gallery-item {
    break-inside: avoid;
    background: var(--surface);
    border-radius: 1.2rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 179, 237, 0.18);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    border-radius: 0.9rem;
    display: block;
}

.gallery-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 0.9rem;
    overflow: hidden;
}

.gallery-thumb:focus-visible {
    outline: 2px solid var(--highlight);
    outline-offset: 4px;
}

.gallery-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.caption-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.caption-meta {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.gratitude-letter {
    background: var(--surface);
    border-radius: 1.6rem;
    border: 1px solid rgba(99, 179, 237, 0.18);
    padding: clamp(1.8rem, 4vw, 2.6rem);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.gratitude-letter-header {
    margin-bottom: 1.5rem;
}

.gratitude-letter-date {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.gratitude-letter-body p {
    margin: 0 0 1rem;
}

.gratitude-letter-body p:last-child {
    margin-bottom: 0;
}

.gratitude-gallery {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gratitude-image img {
    width: 100%;
    border-radius: 1.1rem;
    display: block;
}

.gratitude-videos {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.gratitude-videos video {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(99, 179, 237, 0.2);
}

.video-frame {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(10, 21, 32, 0.85);
    margin-top: 1rem;
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.media-block video {
    border: none;
    border-radius: 0;
    margin-top: 0;
}

.story {
    display: grid;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.story article {
    background: var(--surface);
    border-radius: 1.4rem;
    padding: 1.7rem;
    border: 1px solid rgba(99, 179, 237, 0.18);
}

.about-stats ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}

.about-stats li {
    background: var(--surface);
    border-radius: 1.2rem;
    padding: 1.4rem;
    border: 1px solid rgba(99, 179, 237, 0.18);
}

.about-cta {
    padding: 3rem 0 4rem;
    text-align: center;
}

.about-cta p {
    margin-bottom: 1.5rem;
}

.media-collection {
    display: grid;
    gap: 1.5rem;
}

.media-block {
    background: var(--surface);
    border-radius: 1.4rem;
    border: 1px solid rgba(99, 179, 237, 0.18);
    padding: 1.6rem;
}

@media (max-width: 860px) {
    .site-header .shell {
        flex-direction: column;
        gap: 1rem;
    }

    .feed-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-column::before {
        left: 0.5rem;
        margin-left: 0;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-item::before {
        left: 0.5rem;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        columns: 1;
    }

    .feed-toolbar form {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }
}
