/* CSS Variables */
:root {
    --color-bg-white: #ffffff;
    --color-text-dark: #1a1a1a;
    --color-bg-dark: #111111;
    --color-text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: transparent;
    line-height: 1.6;
    overflow-x: hidden;
}

#cinematic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
    background: #000;
}

.cinematic-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* We use JS for opacity, so transform ensures performance */
    will-change: opacity;
}

/* Hide iOS Safari's native play button overlay that appears when autoplay
   is blocked (e.g. Low Power Mode) on background videos */
.cinematic-video::-webkit-media-controls,
.cinematic-video::-webkit-media-controls-start-playback-button,
.cinematic-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
}

/* For video zoom logic to feel cinematic */
#bg-hero {
    transform: scale(1.05);
    z-index: 1;
    opacity: 1 !important;
}

#bg-mission {
    transform: scale(1.05);
    z-index: 2;
}

#bg-portfolio {
    transform: scale(1.05);
    z-index: 3;
}

#bg-news {
    z-index: 4;
}

#bg-contact-wrapper {
    transform: scale(1.05);
    z-index: 5;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-transparent {
    background-color: transparent !important;
}

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

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 0;
}

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

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

.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.bg-light {
    background-color: #fafafa;
}

.text-center {
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 5%;
    /* 가장 작게 축소 */
    z-index: 100;
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
    background: transparent;
    /* 완전히 투명하게 */
    backdrop-filter: none;
    /* 블러 완전 제거 */
    -webkit-backdrop-filter: none;
    border: none;
    /* 하단 얇은 선 제거 */
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.2rem 5%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 95px;
    /* 로고 크기 유지 */
    margin-top: -27px;
    margin-bottom: -27px;
    transition: var(--transition-smooth);
    color: transparent;
}

.logo {
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 70px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.navbar.scrolled .logo {
    opacity: 1;
    pointer-events: auto;
}

/* 로고 뒤에 색상 없이 오직 '블러(흐림)'만 동그랗게 깔아주는 특수 효과 (테두리가 부드럽게 사라짐) */
.logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 210px;
    height: 120px;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* 블러가 네모낳게 끊기지 않고 가장자리로 갈수록 사르르 투명하게 사라지도록 마스크 적용 */
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.navbar.scrolled .logo img {
    height: 95px;
    /* 스크롤 시에도 로고 크기를 넉넉하게 유지 (기존 80px -> 95px) */
    filter: none;
    /* 스크롤 시 그림자 제거하여 깔끔하게 */
}

/* 스크롤 시 흰색 상단바에서는 블러가 필요 없으므로 제거 */
.navbar.scrolled .logo::before {
    opacity: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 1px 8px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-smooth);
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-text-light);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Click feedback — both :active (hold) and .clicked (JS, 400ms) */
.nav-links a:active,
.nav-links a.clicked {
    transform: translateY(1px) scale(0.96);
    color: rgba(255, 255, 255, 0.7);
}

.nav-links a:active::after,
.nav-links a.clicked::after {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .nav-links a:active,
.navbar.scrolled .nav-links a.clicked {
    color: rgba(0, 0, 0, 0.55);
}

.navbar.scrolled .nav-links a:active::after,
.navbar.scrolled .nav-links a.clicked::after {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: none;
}

.nav-links a {
    transition: color var(--transition-smooth),
                text-shadow var(--transition-smooth),
                transform 0.18s ease-out;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text-dark);
    text-shadow: none;
}

.navbar.scrolled .nav-links a:hover {
    color: #000000;
    text-shadow: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
    z-index: 102;
    position: relative;
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: #fff;
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color var(--transition-smooth);
}

.navbar.scrolled .hamburger span {
    background-color: var(--color-text-dark);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-text-light);
    margin-top: 10vh;
    /* Every Moment 텍스트를 좀 더 아래로 이동 */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.smaller-main {
    font-size: 6.7rem;
}

.glow-text {
    display: inline-block;
    margin-top: -15px;
    /* Be Glow 텍스트 위로 살짝 이동 */
}

.hero h1 {
    font-size: 8rem;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    margin-top: -1.5rem;
    /* 메인 타이틀의 마진을 무시하고 더 바짝 위로 강제 이동 (-1.5rem) */
}

/* Section Headings */
.section-heading {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-heading.light {
    color: var(--color-text-light);
}

/* Mission Section */
.mission {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    font-family: var(--font-heading);
}

.mission-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mission-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* 어두운 오버레이 제거하여 원본 밝기 복구 */
    z-index: 2;
}

.mission .container {
    position: relative;
    z-index: 3;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 40px 0;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.mission-text-blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}

.mission-headline {
    font-family: var(--font-heading);
    font-size: 30px;
    /* 한 줄로 적기 위해 폰트 크기 축소 (44px -> 30px) */
    font-weight: 700;
    line-height: 1.6;
    /* 줄간격 확대 */
    color: #ffffff;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8), 0px 1px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 80px;
    /* 헤드라인과 아래 요소 사이 간격 크게 넓힘 (45px -> 80px) */
}

.mission-desc {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    /* 좀 더 동그랗게 보이도록 반경 강화 */
    padding: 15px 30px;
    margin-bottom: 35px;
    /* 원 사이 간격 유지 */
    text-align: center;
    width: 100%;
    max-width: 480px;
    /* 가로로 너무 길어지지 않게 너비를 제약하여 둥근 캡슐 형태로 수정 */
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
    overflow: hidden;
}

.mission-desc:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.2);
}

.mission-desc:last-child {
    margin-bottom: 0;
}

/* Accordion Specifics */
.accordion-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    cursor: pointer;
    color: #1e293b;
    gap: 16px;
}

.accordion-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    /* 글씨 소폭 축소로 밸런스 유지 */
    font-weight: 500;
    margin: 0;
}

.accordion-header .icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.4s ease;
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.accordion-content p {
    font-family: var(--font-heading);
    font-size: 17px;
    /* 세리프 폰트이므로 크기를 살짝 키움 */
    line-height: 1.8;
    font-weight: 400;
    color: #1e293b;
    margin: 0;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    opacity: 1;
    margin-top: 16px;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* Glassmorphism Core Values */
.core-values-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.28);
    margin-top: 50px;
    /* Core Value 영역을 전체적으로 아래로 내림 */
    margin-bottom: 24px;
}

.core-values {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.value-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 70px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: #1e293b;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 20px;
    text-transform: none;
    letter-spacing: 0px;
    cursor: default;
    transition: 0.3s ease;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.2);
}

/* Portfolio Section */
.portfolio {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 80px;
}

.portfolio-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.portfolio .container {
    position: relative;
    z-index: 3;
}

/* Portfolio Mystical Slider Overlay */
.beam-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.light-beam {
    fill: none;
    stroke: rgba(255, 255, 200, 0.8);
    stroke-width: 4px;
    stroke-linecap: round;
    opacity: 0;
}

.light-beam.active {
    animation: beamFade 0.6s ease-out forwards;
}

@keyframes beamFade {
    0% {
        opacity: 0;
        stroke-width: 1px;
    }

    50% {
        opacity: 1;
        stroke-width: 6px;
    }

    100% {
        opacity: 0;
        stroke-width: 4px;
    }
}

.portfolio-mystical {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
}

.mystical-window-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    max-width: 900px;
}

.slider-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 3rem;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-family: inherit;
    z-index: 10;
    padding: 10px;
}

.slider-btn:hover {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(200, 255, 150, 0.8);
    transform: scale(1.2);
}

.wooden-frame {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: linear-gradient(135deg, #ab724b, #d9a066, #7d4928);
    border-radius: 12px;
    padding: 18px;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(200, 255, 150, 0.4),
        0 0 40px rgba(180, 255, 120, 0.2);
    border: 3px solid rgba(200, 255, 150, 0.4);
}

.wooden-frame::before {
    content: '';
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    top: 5px;
    left: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    pointer-events: none;
}

.white-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 2.5rem;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.8), 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.card-content {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.card-content.fading {
    opacity: 0;
    transform: scale(0.98);
}

.card-content h3 {
    font-size: 2.2rem;
    color: #1a1a1a;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
}

.proj-body {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.proj-img-wrap {
    flex: 1.5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.proj-img-wrap img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.proj-img-wrap video {
    display: block;
    height: 420px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.proj-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proj-desc p {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
}

.btn-learn {
    align-self: flex-start;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.4);
    color: rgba(0, 0, 0, 0.9);
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-top: 3rem; /* Push down */
    white-space: nowrap;
}

.btn-learn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.5);
}

.portfolio-header {
    position: absolute;
    top: 6%;
    left: 8%;
    z-index: 20;
    text-align: left;
}

.portfolio-header .section-heading {
    margin-bottom: 0.2rem;
    font-size: 2.5rem;
}

.portfolio-header .subtitle {
    margin-top: 0;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.project-library {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lib-title {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.thumbnail-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 110px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: rgba(200, 255, 150, 0.9);
    box-shadow: 0 0 20px rgba(200, 255, 150, 0.6);
    transform: translateY(-5px);
}

.thumbnail-item:hover::after,
.thumbnail-item.active::after {
    background: transparent;
}

/* News Section */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.view-all {
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 0.8rem;
    border-bottom: 1px solid var(--color-text-dark);
    padding-bottom: 5px;
    margin-bottom: 1rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.article-img {
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-img img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.article-card:hover .article-img img {
    transform: scale(1.02);
}

.article-content .date {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #666;
}

.article-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-content p {
    color: #555;
    font-size: 1.1rem;
}

/* ===== Upcoming Events (homepage news section) ===== */
.news .section-heading {
    margin-bottom: 0.6rem;
}

.news .section-heading::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 1rem;
    background: #c9a86a;
    border-radius: 2px;
}

.ue-subhead {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: #6f7d5f;
    margin-bottom: 3rem;
}

.upcoming-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Now Showing / Upcoming / Past sections */
.ue-section {
    margin-bottom: 4rem;
}

.ue-section:last-child {
    margin-bottom: 0;
}

/* Past events read as muted / archived */
.ue-card-past {
    opacity: 0.82;
}

.ue-card-past .ue-poster img {
    filter: grayscale(0.35);
}

.ue-card-past .ue-eyebrow {
    color: #9a9488;
}

.ue-btn-ended {
    background: #e7e1d5;
    border-color: transparent;
    color: #8a8275;
    cursor: default;
    pointer-events: none;
}

.ue-card {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    align-items: stretch;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.45s cubic-bezier(0.85, 0, 0.15, 1), box-shadow 0.45s ease;
}

.ue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.10);
}

.ue-poster {
    overflow: hidden;
    background: transparent;
    min-width: 0;
    /* prevent the image's intrinsic width from blowing out the grid track */
}

/* Full poster, natural aspect ratio — never cropped at any screen size */
.ue-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.ue-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2.6rem 2.8rem;
    min-width: 0;
}

.ue-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a9678;
    margin-bottom: 0.9rem;
}

.ue-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.ue-title-caps {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ue-dash {
    font-weight: 400;
}

.ue-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    color: #6f7d5f;
    margin-bottom: 1.4rem;
}

.ue-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.09);
    margin: 0 0 1.4rem;
}

.ue-divider-tight {
    margin: 1.2rem 0;
}

.ue-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ue-meta li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: #3f3f3f;
}

.ue-ic {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #5f6d51;
}

.ue-price {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.ue-price strong {
    font-weight: 600;
    color: #1f1f1f;
}

.ue-btn {
    align-self: flex-end;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    background: transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.85);
    transition: all 0.3s ease;
}

.ue-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.65);
}

.ue-btn-arrow {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.ue-btn-primary {
    background: #3f4c37;
    border-color: #3f4c37;
    color: #fff;
}

.ue-btn-primary:hover {
    background: #333f2b;
    border-color: #333f2b;
    color: #fff;
}

/* Contact Section */
.contact {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    /* WEAKER OVERLAY as requested */
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 3rem;
}

.contact-intro {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.contact-details p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.contact-details strong {
    color: var(--color-text-dark);
    font-weight: bold;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, 0.15);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Safari support */
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 3rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-bottom-color: var(--color-text-dark);
}

.contact-form label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-form input:focus~label,
.contact-form input:not(:placeholder-shown)~label,
.contact-form textarea:focus~label,
.contact-form textarea:not(:placeholder-shown)~label {
    top: -1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
    padding: 1rem 3rem;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background: var(--color-text-dark);
    color: white;
}

/* Support Our Vision (Fiscal Sponsorship) */
.support-section {
    margin-top: 3.5rem;
    padding: 3rem 3rem 2.6rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    text-align: center;
}

.support-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: 1.2rem;
    letter-spacing: -0.3px;
}

.support-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #444;
    max-width: 780px;
    margin: 0 auto 1.8rem;
}

.support-donate-link {
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.support-donate-link:hover {
    transform: translateY(-2px);
}

.support-donate-link img {
    max-width: 180px;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #888;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-up .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.25em;
    margin-bottom: 0.3em;
}

.hero-content .glow-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
    letter-spacing: 8px;
}

.stagger-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.stagger-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* Our Team Section */
.team-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.team-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
}

.team-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.team-circle:hover img {
    opacity: 1;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
}

.team-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
}

/* Team Modal */
.team-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-modal.active {
    display: flex;
    opacity: 1;
}

.team-modal-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}

.team-modal-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.team-modal.active .team-modal-content {
    transform: scale(1);
}

.team-modal-left {
    flex: 1;
    max-width: 40%;
}

.team-modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-modal-right {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fdfdfd; /* Off-white */
    font-family: var(--font-heading);
}

.team-modal-name {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 500;
}

.team-modal-role {
    font-size: 14px;
    color: rgba(253, 253, 253, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-modal-story {
    font-size: 16px;
    line-height: 1.8;
    color: #f0f0f0;
}

.team-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 3;
    background: transparent;
    border: none;
    color: #fdfdfd;
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 300;
    cursor: pointer;
    text-transform: lowercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.team-modal-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 6rem;
    }

    .mission-poem p {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 75vw;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding: 90px 2rem 2rem;
        background: rgba(20, 20, 20, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 101;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a,
    .navbar.scrolled .nav-links a,
    body.events-page .nav-links a,
    body.about-page .nav-links a {
        display: block;
        width: 100%;
        padding: 1.1rem 0;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.92);
        text-shadow: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar.scrolled .nav-links a:hover,
    body.events-page .nav-links a:hover,
    body.about-page .nav-links a:hover {
        color: #ffffff;
    }

    .hamburger {
        display: block;
    }

    .logo {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 4rem;
    }

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

    .gallery-item:nth-child(2) {
        margin-top: 2rem !important;
    }

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

    /* Upcoming Events cards: stack full poster above body */
    .ue-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .ue-body {
        padding: 1.8rem 1.5rem;
    }

    .ue-title {
        font-size: 2rem;
    }

    .ue-subhead {
        margin-bottom: 2rem;
    }

    .ue-btn {
        align-self: stretch;
        justify-content: center;
        margin-top: 1.6rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-intro {
        font-size: 1.5rem;
    }

    /* Portfolio wooden frame: stack image/video above text */
    .proj-body {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .proj-img-wrap {
        flex: none;
        width: 100%;
    }

    .proj-img-wrap video {
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 60vh;
        margin: 0 auto;
        object-fit: contain;
    }

    .proj-desc {
        flex: none;
    }

    .btn-learn {
        margin-top: 0.5rem;
        align-self: flex-start;
    }

    .white-card {
        padding: 1.5rem 1.25rem;
    }

    .card-content h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .mystical-window-wrapper {
        gap: 4px;
    }

    .slider-btn {
        font-size: 2rem;
        padding: 6px;
    }

    .thumbnail-item {
        width: 80px;
        height: 56px;
    }
}

/* Portfolio Modal Overlay */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 10~20% opacity white with 25px blur */
    background: rgba(253, 252, 248, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transform: scale(0.9);
    transition: transform 0.5s ease-in-out;
    background: transparent;
}

.portfolio-modal.active .modal-content {
    transform: scale(1);
}

.modal-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    z-index: 3;
    background: transparent;
    border: none;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-weight: 100;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 1;
}

/* ============================================
   Mission Teaser (homepage)
   ============================================ */
.mission-teaser {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    padding: 40px 0;
    min-height: 100vh;
}

.mission-teaser .mission-headline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.7rem, 4.3vw, 4.2rem);
    line-height: 1.15;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: visible;
}

@media (max-width: 640px) {
    .mission-teaser .mission-headline {
        white-space: normal;
    }
}

.mission-subline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.mission-teaser-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

.mission-teaser-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 14px rgba(255, 255, 255, 0.3);
}

.mission-teaser-ctas {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* Footer donate link */
.footer-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 3px;
    transition: color var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-text-dark);
}

/* ============================================
   About Page
   ============================================ */

.about-page main {
    position: relative;
    z-index: 1;
}

/* Hide particle canvas entirely on about page */
.about-page #particle-canvas {
    display: none;
}

/* The about page uses mission-bg.mp4 as a single fixed cinematic background.
   Each section adds a subtle dark gradient overlay via ::before for readability. */
.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14vh 5%;
}

/* Space between sections */
.about-section + .about-section {
    margin-top: 10vh;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Intro: no overlay, full video brightness on first paint */
.about-intro::before {
    background: transparent;
}

.about-section > * {
    position: relative;
    z-index: 2;
}

.nav-links a.nav-active {
    color: #ffffff;
}

.nav-links a.nav-active::after {
    width: 100%;
}

.navbar.scrolled .nav-links a.nav-active {
    color: var(--color-text-dark);
}


/* Shared typographic elements */
.about-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 2.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

/* -------- Intro Hero -------- */
.about-intro {
    text-align: center;
    position: relative;
    padding-bottom: 18vh;
}

.about-intro-content {
    width: 100%;
    max-width: 1500px;
    color: #ffffff;
}

.about-intro-headline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.7rem, 4.3vw, 4.2rem);
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.6rem;
    white-space: nowrap;
    overflow: visible;
}

@media (max-width: 640px) {
    .about-intro-headline {
        white-space: normal;
    }
}

.about-intro-body {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.5);
    margin-bottom: 6.5rem;
}

.about-intro-sub {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 2.3;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 620px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 1px 12px rgba(0, 0, 0, 0.4);
}

.about-scroll-cue {
    position: absolute;
    bottom: 2.5vh;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-top: 0;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    animation: aboutScrollCue 2.2s ease-in-out infinite;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.about-scroll-cue:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4), 0 1px 6px rgba(0, 0, 0, 0.6);
}

@keyframes aboutScrollCue {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.65; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* -------- Philosophy (editorial long-form) -------- */
.about-editorial {
    width: 100%;
    max-width: 720px;
    color: #ffffff;
}

.about-body-text {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 3rem 3rem 2.6rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-body-text p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #1a1a1a;
    margin-bottom: 1.8rem;
}

.philosophy-pullquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    line-height: 1.35;
    color: #1a1a1a;
    text-align: center;
    margin: 0.5rem 0 2.2rem;
    padding: 0;
    border: none;
    letter-spacing: -0.3px;
}

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

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

/* -------- Our Direction -------- */
.about-direction-headline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 4px 20px rgba(0, 0, 0, 0.35);
    margin-bottom: 2.2rem;
}

.about-direction-body {
    max-width: 720px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 2.4rem 2.6rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-direction-body p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin-bottom: 1.8rem;
}

.about-direction-cta {
    display: inline-block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.about-direction-cta:hover {
    color: #000000;
    border-bottom-color: #000000;
    transform: translateX(3px);
}

.direction-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.direction-card {
    background: rgba(20, 20, 20, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 2rem 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: 0.4s ease;
}

.direction-card:hover {
    background: rgba(20, 20, 20, 0.38);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.direction-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.7rem;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.direction-card p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* -------- Core Value moments -------- */
.about-value {
    text-align: center;
}

.about-value-content {
    max-width: 760px;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-value-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    line-height: 1;
    letter-spacing: -1.5px;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.about-value-def {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #1a1a1a;
    margin-bottom: 2.2rem;
    line-height: 1.5;
}

.about-value-essay {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333333;
    max-width: 620px;
    margin: 0 auto;
}

/* -------- Founder's Story -------- */
.about-founder-content {
    width: 100%;
    max-width: 1080px;
    color: #ffffff;
}

.founder-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.founder-portrait {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
}


.founder-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-text {
    width: 100%;
    max-width: 960px;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 3.5rem 4rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.founder-opener {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 1.8rem;
}

.founder-text p:not(.founder-opener):not(.founder-signature) {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333333;
    margin-bottom: 1.5rem;
}

.founder-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.55;
    color: #1a1a1a;
    border-left: 2px solid rgba(0, 0, 0, 0.35);
    padding: 0.5rem 0 0.5rem 1.2rem;
    margin: 2rem 0 1.2rem;
}

.founder-quote-placeholder {
    opacity: 0.55;
}

.founder-closer {
    margin-top: 2.5rem;
    margin-bottom: 1.6rem;
}

.founder-signature {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-top: 0.5rem;
}

.founder-cta {
    display: inline-block;
    margin-top: 2rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.founder-cta:hover {
    color: #000000;
    border-bottom-color: #000000;
    transform: translateX(3px);
}

/* -------- Closing CTA -------- */
.about-closing {
    flex-direction: column;
    text-align: center;
}

.about-closing-content {
    width: 100%;
    max-width: 860px;
    color: #1a1a1a;
    padding: 3.5rem 3rem;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-closing-line {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: #1a1a1a;
    margin-bottom: 3rem;
    white-space: nowrap;
    overflow: visible;
}

@media (max-width: 640px) {
    .about-closing-line {
        white-space: normal;
    }
}

.about-cta-row {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.about-cta {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.about-cta:hover {
    color: #000000;
    border-bottom-color: #000000;
}

.about-back-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.6);
    text-decoration: none;
    transition: color var(--transition-smooth);
}

.about-back-link:hover {
    color: #1a1a1a;
}

/* ============================================
   Events Page (white background, editorial)
   ============================================ */

body.events-page {
    background: #fafafa;
    color: var(--color-text-dark);
}

/* Navbar always in "scrolled" state on events page (white bg) */
.events-page .navbar,
.tickets-page .navbar,
.tk-success-page .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.2rem 5%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.events-page .nav-links a,
.tickets-page .nav-links a,
.tk-success-page .nav-links a {
    color: var(--color-text-dark);
    text-shadow: none;
}

.events-page .nav-links a:hover,
.tickets-page .nav-links a:hover,
.tk-success-page .nav-links a:hover {
    color: #000;
    text-shadow: none;
}

.events-page .logo,
.tickets-page .logo,
.tk-success-page .logo {
    opacity: 1;
    pointer-events: auto;
}

.events-page .logo::before,
.tickets-page .logo::before,
.tk-success-page .logo::before {
    opacity: 0;
}

.events-page .hamburger span,
.tickets-page .hamburger span,
.tk-success-page .hamburger span {
    background-color: var(--color-text-dark);
}

/* Hero */
.events-page-hero {
    padding: 16vh 0 4vh;
    text-align: center;
}

.events-page-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.events-page-sub {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: #555;
}

/* Events list — reuses .article-grid and .article-card from news section */
.events-list {
    padding: 2vh 0 12vh;
}

/* Event tag pill (shared by homepage news cards too if added) */
.event-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: var(--color-text-dark);
    color: #ffffff;
    margin-bottom: 1rem;
}

.event-tag-past {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
}

/* Closing */
.events-closing {
    padding: 2rem 0 3rem;
    text-align: center;
}

.back-home-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    transition: color var(--transition-smooth);
}

.back-home-link:hover {
    color: var(--color-text-dark);
}

@media (max-width: 768px) {
    .events-page-hero {
        padding-top: 14vh;
    }
}

.about-closing .footer {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .founder-portrait {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 12vh 6% 12vh;
    }

    .direction-card {
        padding: 1.6rem 1.5rem;
    }

    .mission-teaser .mission-headline {
        font-size: 28px;
    }

    .about-cta-row {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .founder-opener {
        font-size: 1.3rem;
    }
}
