/* Fonts */
@font-face {
    font-family: 'GC Milan Headline';
    src: url('fonts/GC-commune.woff2') format('woff2'),
         url('fonts/GC-commune.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GC Milan Headline';
    src: url('fonts/GC-UnderCompas.woff2') format('woff2'),
         url('fonts/GC-UnderCompas.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GC Milan Headline';
    src: url('fonts/GCMilanHeadline-Display.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Color Variables */
:root {
    --red: #E34042;
    --red-dark: #7E1D0F;
    --navy: #151821;
    --blue-gray: #C6CEDD;
    --warm-beige: #C6BDAB;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background: #000;
}

h1, h2, h3, h4 {
    font-family: 'GC Milan Headline', serif;
    font-weight: normal;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 6.25vh;  /* Centered in top 12.5vh (space above light blue box) */
    left: 40px;
    right: 40px;
    z-index: 1000;
    background: transparent;
    transform: translateY(-50%);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: -18px -20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar.menu-open::before {
    opacity: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-left: 16px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--white);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.logo-icon {
    margin: 0 0.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.logo-icon path {
    transition: fill 0.3s ease;
}

/* Dark mode for light backgrounds */
.navbar.dark-mode .logo-text {
    color: var(--navy);
}

.navbar.dark-mode .logo-icon path {
    fill: var(--navy);
}

.navbar.dark-mode .logo-text {
    text-shadow: none;
}

.navbar.dark-mode .logo-icon {
    filter: none;
}



/* Side Menu */
.side-menu {
    display: none;
    position: fixed;
    right: 40px;
    top: calc(6.25vh - 9px);  /* Align top with logo top */
    z-index: 1000;
}

.side-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    position: relative;
    padding-right: 20px;
}

.side-menu-links::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(21, 24, 33, 0.3);
}

.menu-pill {
    position: absolute;
    right: -0.5px;
    width: 3px;
    height: 20px;
    background: var(--white);
    border-radius: 1.5px;
    transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.side-menu-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
    position: relative;
}

.side-menu.dark-mode .side-menu-links a {
    color: var(--navy);
}

.side-menu.dark-mode .menu-pill {
    background: var(--navy);
}

.side-menu.dark-mode .side-menu-links::before {
    background: rgba(21, 24, 33, 0.2);
}

.side-menu-links a:hover {
    opacity: 1;
}

.side-menu-links a.active {
    opacity: 1;
}

.side-menu-links .indicator {
    display: none;
}

/* Spinning Brand Element */
.brand-element {
    position: absolute;
    top: 0;
    right: calc(5% - 32px);
    transform: translate(50%, -50%);
    opacity: 0;
    animation: fadeIn80 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.brand-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.circular-text-svg {
    width: 140px;
    height: 140px;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.spinning-text {
    transform-origin: 70px 70px;
    animation: spin 30s linear infinite;
}

.straight-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 40px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: white;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease, margin-top 0.4s ease;
}

.about-brand:hover .circular-text-svg {
    opacity: 0;
    transform: scale(0.8);
}

/* About section brand spinner */
.about-brand {
    position: absolute;
    top: 75vh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 13;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.about-brand .brand-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.brand-logo {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.about-brand:hover .brand-logo {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
}

.about-brand:hover .straight-text {
    opacity: 1;
    margin-top: 0;
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn80 {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.8;
    }
}

@keyframes fadeInHalf {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.5;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes fadeInUpFull {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpSubtle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.7;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 10;
}

.scroll-arrow {
    position: absolute;
    bottom: calc(16.67vh / 2);
    left: 50%;
    transform: translate(-50%, 50%);
    width: 40px;
    height: 40px;
    z-index: 7;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: clamp(24px, 5vw, 80px);
    right: clamp(24px, 5vw, 80px);
    height: 16.67vh;
    background: #212932;
    border-radius: 24px 24px 0 0;
    z-index: 6;
}

#hero-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120vh;
    z-index: 4;
    object-fit: cover;
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: screen;
}

#beige-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F0EDE6;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
}

/* Hero text */
.hero-text {
    position: relative;
    z-index: 10;
    padding-left: clamp(24px, 5vw, 80px);
    width: calc(66.66vw + clamp(24px, 5vw, 80px));
}

.hero-text h1 {
    font-family: 'GC Milan Headline', serif;
    font-size: clamp(2.25rem, 5.75vw, 5.75rem);
    font-weight: 500;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUpFull 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 32px;
    color: #FFFFFF;
    max-width: 33.33vw;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUpSubtle 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 50;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-alt {
    background: var(--warm-beige);
}

#info {
    background: transparent;
    justify-content: center;
    min-height: auto;
    margin-top: -400px;
    padding-top: 200px;
    padding-bottom: 100px;
}

#info h2 {
    color: #FFFFFF;
}

.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: none;
}

.info-items {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.info-item svg {
    flex-shrink: 0;
    opacity: 0.5;
}

#fellowship {
    background: transparent;
    min-height: auto;
    padding-top: calc(2rem + 50px);
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    z-index: 52;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#fellowship > .container {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#fellowship .section-label {
    background: rgba(52, 67, 83, 0.1);
    border: 1px solid rgba(52, 67, 83, 0.5);
    color: #344353;
}

#fellowship h2 {
    color: #344353;
    margin-bottom: 0.5rem;
}

#fellowship .section-text {
    color: #344353;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Meeting Card Component */
.meeting-card {
    --card-bg: #CDC4B3;
    --card-title-color: #744931;
    --card-body-color: #462919;
    --card-label-color: #171B27;
    --card-label-bg: rgba(23, 27, 39, 0.1);
    --card-label-border: rgba(23, 27, 39, 0.4);

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 680px;
    min-width: 500px;
    border-radius: 24px;
    background: var(--card-bg);
    padding: 24px;
    box-sizing: border-box;
    margin-top: clamp(40px, 6vw, 80px);
    margin-bottom: clamp(40px, 6vw, 80px);
}

.meeting-card-image {
    position: relative;
    width: 100%;
    height: 286px;
    border-radius: 16px;
    overflow: hidden;
}

.meeting-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-spinner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 100px;
    height: 100px;
    color: var(--spinner-color, #DDD6C9);
}

.card-spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.card-spinner-text {
    width: 100px;
    height: 100px;
}

.card-spinner-text text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    fill: currentColor;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.meeting-card-text {
    position: relative;
    width: 100%;
    padding: 32px 8px 32px;
    box-sizing: border-box;
    text-align: left;
}

.meeting-card .card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 24px;
    background: var(--card-label-bg);
    border: 1px solid var(--card-label-border);
    border-radius: 51px;
    margin-bottom: 20px;
}

.meeting-card .card-label span {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 24px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--card-label-color);
}

.meeting-card-title {
    font-family: 'GC Milan Headline', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 48px;
    color: var(--card-title-color);
    margin-bottom: 12px;
}

.meeting-card-desc {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: var(--card-body-color);
}

/* Card Stack Layout */
.card-stack-container {
    position: relative;
    width: 100%;
}

.card-stack-container::before {
    content: '';
    display: block;
    height: calc(50vh - 64px);
}

.card-stack {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 0;
}

.card-stack .meeting-card {
    margin: 0;
    will-change: transform;
}

.card-stack .meeting-card[data-card-index="0"] {
    position: relative;
}

.card-stack .meeting-card:not([data-card-index="0"]) {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100vh);
    opacity: 0;
}

/* Spacer to create scroll room for card animations */
.card-stack-spacer {
    height: calc(100vh * 5);
}

/* Updates overlay — scrolls up naturally over sticky cards */
.updates-overlay {
    position: relative;
    z-index: 2;
    margin-left: clamp(24px, 5vw, 80px);
    margin-right: clamp(24px, 5vw, 80px);
    margin-bottom: 60vh;
    background: #344353;
    border-radius: 24px;
    padding: 160px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


#fellowship .updates-overlay .section-label {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.channel-cards {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    width: 100%;
}

.channel-card {
    flex: 1;
    min-width: 0;
    height: 260px;
    background: #C6CEDD;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.channel-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fb-icon {
    width: 72px;
    height: 72px;
}

#yt-icon {
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.channel-icon svg {
    width: 100% !important;
    height: 100% !important;
}

.channel-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--navy);
}

.channel-label span {
    font-family: 'GC Milan Headline', serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.channel-chevron {
    transition: transform 0.3s ease;
}

.channel-card:hover .channel-chevron {
    transform: translateX(4px);
}

.updates-overlay h2 {
    font-family: 'GC Milan Headline', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #C6CEDD !important;
    color: #C6CEDD;
    margin-bottom: 1rem;
}

/* About section - shader visible behind navy card */
#about {
    background: none;
    z-index: 51;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    min-height: 110vh;
    overflow: visible;
    will-change: transform;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--about-inset, clamp(24px, 5vw, 80px));
    right: var(--about-inset, clamp(24px, 5vw, 80px));
    bottom: -500vh;
    background: var(--about-bg, #212932);
    z-index: 10;
    border-radius: 0 0 24px 24px;
    opacity: var(--about-before-opacity, 1);
    will-change: left, right, background, opacity;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}


#about .container {
    position: relative;
    z-index: 11;
    max-width: none;
    margin: 0;
    margin-top: 0;
    padding: clamp(20px, 3vw, 40px);
    padding-left: calc(clamp(24px, 5vw, 80px) + clamp(40px, 10vw, 160px));
    padding-right: clamp(40px, 10vw, 160px);
    padding-bottom: 0px;
}

.about-bio {
    position: absolute;
    top: calc(70vh + 37.5vh / 2);
    left: calc(clamp(24px, 5vw, 80px) + clamp(40px, 10vw, 160px));
    z-index: 12;
    width: calc(50% - clamp(24px, 5vw, 80px) * 2);
    background: #F0EDE6;
    padding: clamp(30px, 4vw, 60px);
    box-sizing: border-box;
    border-radius: 24px;
}

#about .about-bio h2 {
    color: #344353;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

#about .about-bio .section-text {
    color: #344353;
}

.about-image-placeholder {
    position: absolute;
    top: 70vh;
    right: calc(clamp(24px, 5vw, 80px) * 2);
    z-index: 12;
    width: calc(50% - clamp(24px, 5vw, 80px) * 2);
    height: 37.5vh;
    overflow: hidden;
    border-radius: 24px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.section-label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 48px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 51px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 32px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 16px;
}

#about h2 {
    color: var(--blue-gray);
}

#about .section-text {
    color: var(--blue-gray);
    max-width: 740px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--red-dark);
}

.section-text {
    font-size: 1.1rem;
    color: var(--navy);
    opacity: 0.8;
    max-width: 600px;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.navbar.dark-mode .hamburger-line {
    background: var(--navy);
}

.hamburger.open .hamburger-line:first-child {
    transform: translateY(4px) rotate(45deg);
}

.hamburger.open .hamburger-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.hamburger.open .hamburger-line {
    background: var(--white);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
}

.mobile-menu-links a {
    font-family: 'GC Milan Headline', serif;
    font-size: 2rem;
    color: var(--white);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    opacity: 1;
}

@media (max-width: 960px) {
    #about {
        min-height: auto !important;
    }

    #about .container {
        padding-left: clamp(24px, 5vw, 80px);
        padding-right: clamp(24px, 5vw, 80px);
        padding-bottom: 60px;
    }

    .about-image-placeholder {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - clamp(48px, 10vw, 160px));
        margin: 2rem auto 0;
    }

    .about-bio {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - clamp(48px, 10vw, 160px));
        margin: 2rem auto 0;
    }
}

.mosaik-footer {
    position: relative;
    z-index: 50;
    text-align: center;
    padding: 0 clamp(24px, 8vw, 120px) 200px;
}

.mosaik-footer p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive Design */

/* Tablet landscape */
@media (max-width: 1024px) {
    .hero-text {
        width: calc(80vw + clamp(24px, 5vw, 80px));
    }

    .hero-subtitle {
        max-width: 50vw;
    }

    .channel-cards {
        flex-wrap: wrap;
    }

    .channel-card {
        flex: 1 1 calc(33% - 1rem);
        height: auto;
        min-height: 180px;
    }
}

/* Tablet / Mobile */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        left: 16px;
        right: 16px;
    }

    .navbar::before {
        inset: -18px -10px;
    }

    /* Hero */
    .hero-text {
        width: 100%;
        padding-right: clamp(24px, 5vw, 80px);
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: calc(16.67vh + 80px);
    }

    .hero-text .brand-element {
        margin-bottom: auto;
    }

    .brand-element {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .brand-element .circular-text-svg {
        width: 100px;
        height: 100px;
    }

    .brand-element .brand-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .brand-element .center-logo {
        width: 26px;
        height: 26px;
    }

    .hero::after {
        left: 16px;
        right: 16px;
    }

    /* Sections */
    .section {
        padding: 3rem 1.5rem;
    }

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

    /* About */
    #about {
        min-height: auto;
    }

    #about .container {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 60px;
    }

    #about::before {
        left: 16px !important;
        right: 16px !important;
    }

    .about-bio {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 80px);
        margin: 2rem auto 0;
    }

    #about .about-bio h2 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .about-image-placeholder {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 80px);
        height: 40vh;
        margin: 2rem auto 0;
    }

    .about-brand {
        display: none;
    }

    /* Fellowship / Community */
    #fellowship {
        padding-top: calc(1.5rem + 50px + 80px);
    }

    .meeting-card {
        min-width: unset;
        max-width: calc(100% - 32px);
        padding: 16px;
    }

    .meeting-card-title {
        font-size: clamp(28px, 6vw, 48px);
    }

    .meeting-card-image {
        height: 220px;
    }

    .card-stack-container::before {
        height: calc(50vh - 64px);
    }

    /* Updates overlay */
    .updates-overlay {
        left: 16px;
        right: 16px;
        padding: 60px 24px;
    }

    .updates-overlay h2 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .channel-cards {
        flex-direction: column;
        align-items: center;
    }

    .channel-card {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 180px;
    }

    /* Info */
    #info {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .info-items {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    /* Mosaik footer */
    .mosaik-footer {
        padding-bottom: 80px;
    }

    /* Card spinner */
    .card-spinner {
        width: 80px;
        height: 80px;
    }

    .card-spinner-text {
        width: 80px;
        height: 80px;
    }

    .card-spinner-logo {
        width: 18px;
        height: 18px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .navbar {
        left: 12px;
        right: 12px;
    }

    .hero::after {
        left: 12px;
        right: 12px;
    }

    #about::before {
        left: 12px;
        right: 12px;
    }

    .updates-overlay {
        left: 12px;
        right: 12px;
        padding: 40px 16px;
    }

    .meeting-card-image {
        height: 180px;
    }

    .meeting-card {
        padding: 12px;
    }

    #info {
        padding-top: 60px;
    }

    .section-label {
        padding: 0 24px;
        font-size: 10px;
    }
}
