/* Reset & globals */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%); color: #e0e0e0; overflow-x: hidden; } /* Full-screen Hero Splash */ #hero-splash { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 2; overflow: hidden; } .hero-content { text-align: center; z-index: 3; animation: fadeInUp 1.5s ease-out; } .mega-title { font-size: clamp(4rem, 15vw, 12rem); font-weight: 900; letter-spacing: 0.02em; background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #ffffff 100%); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradientShift 8s ease infinite, textGlow 3s ease-in-out infinite; text-shadow: 0 0 80px rgba(255,255,255,0.3); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 0.9; margin: 0; padding: 0 20px; } .hero-subtitle { font-size: clamp(1rem, 2vw, 1.5rem); margin-top: 30px; color: #b0b0b0; font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; animation: fadeIn 2s ease-out 0.5s backwards; } .hero-statement { font-size: clamp(1.25rem, 2.5vw, 2rem); margin-top: 40px; margin-left: auto; margin-right: auto; color: #e0e0e0; font-weight: 400; letter-spacing: 0.02em; line-height: 1.6; max-width: 900px; animation: fadeIn 2s ease-out 0.5s backwards; padding: 0 20px; text-align: center; } .tooltip-word { position: relative; color: #ffffff; font-weight: 600; cursor: help; border-bottom: 2px dotted rgba(255, 255, 255, 0.4); transition: all 0.3s ease; } .tooltip-word:hover { color: #ffffff; border-bottom-color: rgba(255, 255, 255, 0.8); } .tooltip-word::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-10px); background: rgba(20, 20, 30, 0.98); color: #e0e0e0; padding: 20px 24px; border-radius: 12px; font-size: 0.95rem; font-weight: 400; line-height: 1.6; white-space: normal; max-width: 500px; width: max-content; opacity: 0; pointer-events: none; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); z-index: 10; text-align: left; } .tooltip-word:hover::after, .tooltip-word.tooltip-active::after { opacity: 1; transform: translateX(-50%) translateY(-5px); } /* Tooltip arrow */ .tooltip-word::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(20, 20, 30, 0.98); opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 10; } .tooltip-word:hover::before, .tooltip-word.tooltip-active::before { opacity: 1; transform: translateX(-50%) translateY(-5px); } .scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: #808080; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; animation: bounce 2s ease-in-out infinite, fadeIn 3s ease-out 1s backwards; cursor: pointer; } .scroll-indicator svg { animation: bounceArrow 1.5s ease-in-out infinite; } /* Story Sections */ .story-section { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 2; padding: 0 40px; } .story-content { text-align: center; opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; } .story-content.visible { opacity: 1; transform: translateY(0); } .story-title { font-size: clamp(3rem, 12vw, 10rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0; padding: 0 20px; font-family: 'Helvetica Neue', Arial, sans-serif; } .story-subtitle { font-size: clamp(1rem, 1.8vw, 1.3rem); margin-top: 30px; color: #b0b0b0; font-weight: 400; letter-spacing: 0.02em; line-height: 1.6; max-width: 800px; margin-left: auto; margin-right: auto; } /* Main container */ .container { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 80px 40px; background: rgba(20, 20, 30, 0.95); backdrop-filter: blur(20px); border-radius: 0; box-shadow: 0 -20px 60px rgba(0,0,0,0.5); min-height: auto; } /* Hero */ .hero { text-align: center; margin-bottom: 60px; animation: fadeInUp 1s ease-out; } .avatar { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; margin-bottom: 0; border: 4px solid rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: transform 0.3s ease, box-shadow 0.3s ease; } .avatar:hover { transform: scale(1.05); box-shadow: 0 15px 60px rgba(255,255,255,0.2); } /* Section headings */ h2 { font-size: 2rem; font-weight: 700; margin-bottom: 30px; text-align: center; color: #ffffff; letter-spacing: 0.05em; text-transform: uppercase; position: relative; } h2::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, transparent, #ffffff, transparent); margin: 15px auto 0; } /* Bio */ #bio { margin-bottom: 0; animation: fadeInUp 1s ease-out 0.2s backwards; } /* Work Section */ #work { position: relative; z-index: 2; padding: 80px 0; background: rgba(10, 10, 10, 0.95); } .work-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; } .work-container h2 { text-align: center; margin-bottom: 60px; } .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; } .work-card { padding: 30px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; transition: all 0.3s ease; cursor: pointer; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: inherit; } .work-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); transform: translateY(-4px); } .work-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; color: #ffffff; line-height: 1.3; } .card-description { font-size: 1rem; line-height: 1.6; color: #c0c0c0; margin-bottom: 0; flex-grow: 1; } .card-hint { font-size: 0.875rem; color: #808080; margin-top: 12px; margin-bottom: 0; } /* External link cards - visual distinction */ a.work-card { border-style: dashed; } a.work-card h3::after { content: ' ↗'; font-size: 0.8em; opacity: 0.6; } /* Focus indicators for keyboard navigation */ .work-card:focus-visible, .link-card:focus-visible, .modal-nav:focus-visible, .modal-close:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.8); outline-offset: 4px; } /* Position indicator in modal */ .modal-position-indicator { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; } .position-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: all 0.3s ease; } .position-dot.active { background: rgba(255, 255, 255, 0.9); transform: scale(1.2); } /* Modal/Lightbox */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.9); animation: fadeIn 0.3s ease; } .modal.active { display: flex; align-items: center; justify-content: center; } /* Modal Navigation Arrows */ .modal-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; z-index: 1001; color: #ffffff; backdrop-filter: blur(10px); } .modal-nav:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-50%) scale(1.1); } .modal-nav-prev { left: 40px; } .modal-nav-next { right: 40px; } .modal-nav svg { width: 24px; height: 24px; } /* Hide navigation arrows on mobile */ @media (max-width: 768px) { .modal-nav { width: 40px; height: 40px; } .modal-nav-prev { left: 20px; } .modal-nav-next { right: 20px; } } .modal-content { position: relative; background: rgba(20, 20, 30, 0.98); margin: 40px; padding: 40px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto; animation: slideUp 0.4s ease; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8); } .modal-close { position: absolute; right: 20px; top: 20px; color: #ffffff; font-size: 2rem; font-weight: 300; background: none; border: none; cursor: pointer; padding: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; border-radius: 50%; } .modal-close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); } .modal-body { color: #e0e0e0; } .modal-body h3 { font-size: 2rem; font-weight: 700; margin-bottom: 30px; color: #ffffff; line-height: 1.2; } .modal-body .work-image { width: 100%; height: auto; border-radius: 8px; margin-bottom: 30px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); } .modal-body h4 { font-size: 1.25rem; font-weight: 600; margin-top: 30px; margin-bottom: 12px; color: #ffffff; } .modal-body p { font-size: 1.0625rem; line-height: 1.7; color: #c0c0c0; margin-bottom: 16px; } .modal-body .outcome { margin-top: 24px; padding: 20px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; border-left: 4px solid rgba(255, 255, 255, 0.3); } .modal-body .outcome strong { color: #ffffff; font-weight: 600; } .modal-content::-webkit-scrollbar { width: 8px; } .modal-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; } .modal-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; } .modal-content::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); } @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } /* Mobile Tooltip Modal (Bottom Sheet) */ .tooltip-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; } .tooltip-modal.active { display: block; } .tooltip-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); animation: fadeIn 0.3s ease; } .tooltip-modal-content { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(20, 20, 30, 0.98); border-radius: 20px 20px 0 0; max-height: 70vh; overflow-y: auto; animation: slideUpModal 0.3s ease; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8); } .tooltip-modal-header { position: sticky; top: 0; background: rgba(20, 20, 30, 0.98); padding: 20px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; z-index: 10; } .tooltip-modal-header h3 { font-size: 1.5rem; font-weight: 600; color: #ffffff; margin: 0; text-transform: capitalize; } .tooltip-modal-close { background: none; border: none; color: #ffffff; font-size: 2rem; font-weight: 300; cursor: pointer; padding: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; border-radius: 50%; flex-shrink: 0; } .tooltip-modal-close:hover { background: rgba(255, 255, 255, 0.1); } .tooltip-modal-body { padding: 24px; color: #e0e0e0; font-size: 1rem; line-height: 1.7; } @keyframes slideUpModal { from { transform: translateY(100%); } to { transform: translateY(0); } } /* Hide tooltip modal on desktop */ @media (min-width: 769px) { .tooltip-modal { display: none !important; } } /* Connect Container */ .connect-container { margin-top: 0; padding-top: 80px; padding-bottom: 40px; } #bio p { margin-bottom: 20px; line-height: 1.8; font-size: 1.1rem; text-align: left; color: #c0c0c0; } /* Links */ #links { display: flex; flex-direction: column; gap: 20px; animation: fadeInUp 1s ease-out 0.4s backwards; } .link-card { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; text-decoration: none; color: #e0e0e0; font-size: 1.2rem; font-weight: 500; transition: all 0.3s ease; background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); } .link-card:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,255,255,0.15); color: #ffffff; } .link-card img { width: 28px; height: 28px; opacity: 0.7; transition: all 0.3s ease; filter: brightness(1.2); } .link-card:hover img { opacity: 1; filter: brightness(1.5); transform: scale(1.1); } .copyright { text-align: center; margin-top: 40px; margin-bottom: 0; color: #808080; font-size: 0.9rem; font-weight: 400; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } @keyframes textGlow { 0%, 100% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.3)); } 50% { filter: drop-shadow(0 0 40px rgba(255,255,255,0.6)); } } @keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } } @keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } } /* Responsive */ @media (max-width: 1024px) { .work-grid { grid-template-columns: 1fr; gap: 24px; } .work-card { max-width: 600px; margin: 0 auto; } } @media (max-width: 768px) { .container { padding: 60px 30px; } .mega-title { font-size: clamp(3rem, 12vw, 6rem); } .hero-subtitle { font-size: 1rem; margin-top: 20px; } .hero-statement { font-size: clamp(1rem, 2vw, 1.5rem); margin-top: 30px; padding: 0 30px; } /* Hide CSS tooltips on mobile - use bottom sheet instead */ .tooltip-word::after, .tooltip-word::before { display: none !important; } .tooltip-word { border-bottom: 2px solid rgba(255, 255, 255, 0.6); -webkit-text-decoration: underline dotted rgba(255, 255, 255, 0.6); text-decoration: underline dotted rgba(255, 255, 255, 0.6); text-decoration-thickness: 2px; text-underline-offset: 3px; } #work { padding: 60px 0; } .work-container { padding: 0 24px; } .work-container h2 { margin-bottom: 40px; } .work-card { min-height: 220px; } .modal-content { margin: 20px; padding: 30px; max-height: 95vh; } .modal-body h3 { font-size: 1.5rem; } .avatar { width: 140px; height: 140px; } h2 { font-size: 1.5rem; } #bio p { font-size: 1rem; } } @media (max-width: 480px) { .scroll-indicator span { font-size: 0.75rem; } .link-card { padding: 16px; font-size: 1rem; } } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } html { scroll-behavior: auto; } .mega-title { animation: none; } .hero-content, .hero-subtitle, .hero-statement, .scroll-indicator { animation: none; opacity: 1; } .story-content { opacity: 1; transform: none; } .work-card:hover, .link-card:hover, .avatar:hover { transform: none; } }