/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== KEYBOARD FOCUS ===== */
:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}

:root {
  --color-bg: #0a0a0a;
  --color-text: #ffffff;
  --color-text-muted: rgba(255,255,255,0.5);
  --color-accent: #ffffff;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 60px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 3vw, 40px);
  height: var(--nav-height);
  mix-blend-mode: difference;
}

.nav-logo a {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: clamp(26px, 2.9vw, 35px);
  width: auto;
}

.nav-menu {
  display: flex;
  gap: clamp(24px, 5.5vw, 88px);
}

.nav-link {
  font-size: clamp(14px, 1.4vw, 21px);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: all 0.3s var(--ease-out);
}

.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

.nav-toggle.active span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle.active span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-menu-links a {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-menu-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-links a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-links a:nth-child(5) { transition-delay: 0.3s; }

/* ===== PROJECT TITLES (Right Side Horizontal) ===== */
.project-titles {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  top: 0;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: difference;
}

.project-title {
  font-size: clamp(12px, 1.3vw, 18px);
  font-weight: 400;
  letter-spacing: clamp(1px, 0.15vw, 2px);
  white-space: nowrap;
  position: absolute;
  right: 0;
  text-align: right;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out), bottom 0.05s linear;
}

.project-title.active {
  opacity: 1;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: fixed;
  bottom: clamp(16px, 2.5vw, 30px);
  right: clamp(16px, 3vw, 40px);
  z-index: 100;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  letter-spacing: 2px;
  mix-blend-mode: difference;
}

.scroll-indicator .current-index {
  font-weight: 700;
}

.scroll-indicator .separator {
  margin: 0 4px;
  opacity: 0.4;
}

.scroll-indicator .total-index {
  opacity: 0.4;
}

/* ===== PROJECTS (Stacked Fixed Sections) ===== */
.projects-wrapper {
  position: relative;
  width: 100%;
}

.project {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
}

.project.active {
  visibility: visible;
  opacity: 1;
}

.project:first-child {
  visibility: visible;
  opacity: 1;
}

.project-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.project-heading {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  opacity: 0.9;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 10;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 40px);
  background: var(--color-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Hide footer on main page */
body:has(.hero-fullscreen) .site-footer {
  display: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.footer-left {}

.footer-logo {
  height: 22px;
  width: auto;
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.35;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.footer-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1200px;
  margin: clamp(24px, 3vw, 40px) auto 0;
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 11px;
  opacity: 0.3;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Legacy simple footer fallback */
.footer-content {
  text-align: center;
}
.footer-content p {
  font-size: 11px;
  opacity: 0.3;
  letter-spacing: 0.5px;
}


/* =========================================
   ABOUT PAGE (Studio Dumbar Style)
   ========================================= */

/* Hero - Giant Typography */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--nav-height) + 40px) clamp(20px, 3vw, 40px) 0;
  background: var(--color-bg);
  overflow: hidden;
}

.about-hero-title {
  font-size: clamp(80px, 15vw, 220px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: none;
}

/* Two-column text sections */
.about-text-section {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 3vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-text-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 120px);
  max-width: 1400px;
}

.about-text-label {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  padding-top: 4px;
}

.about-text-desc p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
  font-weight: 300;
  opacity: 0.85;
}

/* Team Section - Studio Dumbar Horizontal Scroll */
.about-team-section {
  padding: clamp(40px, 5vw, 80px) 0;
  overflow: hidden;
}

.about-team-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.about-team-scroll::-webkit-scrollbar {
  display: none;
}

.about-team-scroll.dragging {
  cursor: grabbing;
}

.about-team-grid {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0;
  background: #111;
}

.about-team-member {
  flex: 0 0 auto;
  position: relative;
}

.about-team-photo {
  height: clamp(400px, 50vw, 700px);
  overflow: hidden;
  background: #111;
}

.about-team-photo img {
  height: 100%;
  width: auto;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.about-team-member:hover .about-team-photo img {
  transform: scale(1.03);
}

.about-team-info {
  padding: 12px 0 0 0;
}

.about-team-name {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.4;
}

.about-team-role {
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 400;
  opacity: 0.5;
  line-height: 1.4;
}

/* Group Photo Section */
.group-photo-section {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 3vw, 40px);
}

.group-photo-section .photo-wrapper {
  width: 100%;
}

.group-photo-section .photo-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Active nav link style for about page */
.nav-link.active {
  opacity: 1;
  font-weight: 600;
}


/* =========================================
   WORKS CTA BANNER
   ========================================= */

.works-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 clamp(20px, 3vw, 40px) clamp(20px, 2vw, 30px);
  padding: clamp(16px, 2vw, 24px) clamp(24px, 3vw, 40px);
  background: #fff;
  color: #000;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.works-cta-banner:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

.works-cta-text {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.works-cta-arrow {
  font-size: clamp(18px, 1.5vw, 24px);
  transition: transform 0.3s ease;
}

.works-cta-banner:hover .works-cta-arrow {
  transform: translateX(4px);
}


/* =========================================
   MINISTRY PAGE (Work Grid)
   ========================================= */

.work-hero {
  padding: clamp(100px, 12vw, 160px) clamp(20px, 3vw, 40px) clamp(30px, 4vw, 60px);
}

.work-hero h1 {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.work-filter {
  padding: 0 clamp(20px, 3vw, 40px) clamp(30px, 4vw, 60px);
  display: flex;
  gap: clamp(10px, 1.5vw, 20px);
  flex-wrap: wrap;
}

.work-filter-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.work-filter-btn:hover,
.work-filter-btn.active {
  background: var(--color-text);
  color: var(--color-bg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 0 clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px);
}

.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #111;
  cursor: pointer;
}

.work-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.work-item:hover .work-item-image {
  transform: scale(1.05);
}

.work-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-item:hover .work-item-overlay {
  opacity: 1;
}

.work-item-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.work-item-category {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Work item with video background */
.work-item-video {
  display: block;
}

.work-item-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  transition: transform 0.8s var(--ease-out);
}

.work-item-video:hover video {
  transform: scale(1.05);
}

.work-item-center-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wicl-title {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 0 30px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.wicl-sub {
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  white-space: nowrap;
}


/* ===== SHORTS VIDEO GRID (Works Page) ===== */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px);
}

.shorts-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #111;
  cursor: pointer;
}

.shorts-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.shorts-item:hover video {
  transform: scale(1.03);
}

.shorts-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(12px, 2vw, 24px);
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  pointer-events: none;
}

.shorts-title {
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 2001;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

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

.video-modal-content {
  width: auto;
  height: 85vh;
  max-width: 90vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-content video {
  height: 100%;
  max-width: 100%;
  border-radius: 4px;
}

.video-modal-title {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0.5px;
}


/* Work Item Placeholder (temporary until real images) */
.work-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s var(--ease-out);
}

.work-item:hover .work-item-placeholder {
  transform: scale(1.05);
}

.placeholder-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.15;
}


/* Photo Gallery Placeholder */
.photo-gallery-section {
  padding: 0 40px 120px;
}

.photo-gallery-message {
  text-align: center;
  padding: 120px 0;
}

.photo-gallery-message p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.5;
  font-weight: 300;
}


/* =========================================
   WORSHIP / WORK DETAIL PAGE (Studio Dumbar Style)
   ========================================= */

/* Hero - Large Title */
.work-detail-hero {
  padding: calc(var(--nav-height) + clamp(60px, 10vw, 140px)) clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px);
  background: var(--color-bg);
}

.work-detail-title {
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* Full-width Hero Image */
.work-detail-media {
  width: 100%;
  overflow: hidden;
}

.work-detail-image-full {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.work-detail-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two-column Info Rows */
.work-detail-info {
  padding: clamp(50px, 7vw, 100px) clamp(20px, 3vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.work-detail-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 120px);
  max-width: 1400px;
}

.work-detail-label {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  padding-top: 4px;
}

.work-detail-desc p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
  font-weight: 300;
  opacity: 0.85;
}

/* Video Grid - 2 columns for portrait videos */
.work-detail-videos {
  padding: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 40px) clamp(60px, 8vw, 120px);
}

.work-detail-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 1vw, 16px);
}

.work-detail-video-item {
  overflow: hidden;
  background: #111;
  border-radius: 2px;
}

.work-detail-video-item.portrait {
  aspect-ratio: 4/5;
}

.work-detail-video-item.landscape {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* YouTube Channel Link Banner */
.yt-channel-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  aspect-ratio: 21/5;
  transition: background 0.4s ease;
  text-decoration: none;
}

.yt-channel-link:hover {
  background: #1a1a1a;
}

.yt-link-content {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.yt-link-title {
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.yt-link-arrow {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: transform 0.3s ease, color 0.3s ease;
}

.yt-channel-link:hover .yt-link-arrow {
  transform: translateX(8px);
  color: #fff;
}

/* Sermon Link */
.sermon-link {
  cursor: pointer;
  position: relative;
  display: block;
  transition: opacity 0.3s ease;
}

.sermon-link:hover {
  opacity: 0.85;
}

.yt-video-link {
  cursor: pointer;
  position: relative;
  display: block;
  transition: opacity 0.3s ease;
}

.yt-video-link:hover {
  opacity: 0.85;
}

.yt-video-link::after {
  content: '램넌트워십 유튜브 →';
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 1;
  transition: background 0.3s ease;
  pointer-events: none;
}

.yt-video-link:hover::after {
  background: rgba(255,255,255,0.2);
}

.sermon-link::after {
  content: '램넌트워십 유튜브 →';
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 1;
  transition: background 0.3s ease;
  pointer-events: none;
}

.sermon-link:hover::after {
  background: rgba(255,255,255,0.2);
}

.work-detail-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================================
   MISSION HUB (단기선교 / 국내선교 선택)
   ========================================= */

.mission-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 0 clamp(20px, 3vw, 40px) clamp(60px, 8vw, 120px);
}

.mission-hub-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #111;
  display: block;
  cursor: pointer;
}

.mission-hub-card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.mission-hub-card-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.mission-hub-card:hover .mission-hub-card-bg video {
  transform: scale(1.05);
}

.mission-hub-card-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

.mission-hub-card-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  z-index: 1;
}

.mission-hub-card-content h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  margin-bottom: 6px;
}

.mission-hub-card-content p {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.mission-hub-arrow {
  position: absolute;
  top: clamp(20px, 2.5vw, 30px);
  right: clamp(20px, 2.5vw, 30px);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-6px);
}

.mission-hub-card:hover .mission-hub-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .mission-hub-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   MISSION TRIP PAGE
   ========================================= */

/* Hero */
.mission-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

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

.mission-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 40px);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.mission-hero-title {
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.mission-hero-sub {
  margin-top: 16px;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* Country Section */
.mission-country {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mission-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

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

.mission-video-badge {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  left: clamp(12px, 2vw, 24px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-part {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.badge-unmute {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.badge-unmute:hover {
  background: rgba(255,255,255,0.15);
}

/* Info */
.mission-info {
  padding: clamp(40px, 5vw, 70px) clamp(20px, 3vw, 40px) clamp(60px, 8vw, 100px);
}

.mission-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  margin-bottom: clamp(30px, 4vw, 50px);
}

.mission-location h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.mission-en {
  display: block;
  margin-top: 8px;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.4;
}

.mission-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  align-content: start;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.35;
}

.meta-value {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.4;
}

.mission-desc p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.9;
  font-weight: 300;
  opacity: 0.8;
  max-width: 900px;
}

.mission-desc p + p {
  margin-top: 1.2em;
}

/* Mission responsive */
@media (max-width: 768px) {
  .mission-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mission-meta {
    grid-template-columns: 1fr 1fr;
  }
  .mission-hero {
    height: 60vh;
  }
}


/* =========================================
   SHARED PAGE STYLES
   ========================================= */

.page-content {
  background: var(--color-bg);
  min-height: 100vh;
}

/* Section reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: clamp(50px, 13vw, 100px);
  }

  .about-text-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-team-member {
    flex: 0 0 65vw;
    min-width: 240px;
  }

  .group-photo-section .photo-wrapper {
    height: 35vh;
  }

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

  .work-item-overlay {
    opacity: 1;
  }

  .work-detail-title {
    font-size: clamp(40px, 11vw, 80px);
  }

  .work-detail-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-detail-image-full {
    aspect-ratio: 4/3;
  }

  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --nav-height: 50px;
  }

  .about-hero-title {
    font-size: 48px;
  }

  .about-team-member {
    flex: 0 0 70vw;
    min-width: 200px;
  }
}
