/* ============================================
   글로벌 스타일 및 CSS 변수
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --primary-indigo: #3b82f6;
    --primary-cyan: #06b6d4;
    --secondary-red: #dc2626;
    --secondary-orange: #ea580c;
    --accent-gold: #f59e0b;
    --accent-emerald: #10b981;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-slate: #f1f5f9;
    --bg-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    --bg-gradient-warm: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f59e0b 100%);
    --bg-gradient-cool: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #10b981 100%);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.16);
    --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.2);
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================
   비대칭 네비게이션
   ============================================ */
.asymmetric-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.brand-symbol {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 900;
    transform: rotate(-5deg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.brand-symbol:hover {
    transform: rotate(5deg) scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--bg-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-indigo);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   히어로 섹션 - 대각선 분할
   ============================================ */
.hero-diagonal {
    min-height: 100vh;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.diagonal-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: calc(100vh - 80px);
    position: relative;
}

.diagonal-left {
    background: var(--bg-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.diagonal-right {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
    max-width: 700px;
    animation: fadeInLeft 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    margin: 0.5rem 0;
}

.title-line.highlight {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-indigo);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-indigo);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--primary-indigo);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-indigo);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-indigo);
    border-bottom: 2px solid var(--primary-indigo);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   문화 섹션 - 타일 모자이크
   ============================================ */
.culture-mosaic {
    padding: 8rem 0;
    background: var(--bg-white);
    position: relative;
}

.section-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-header-mosaic {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.section-title-mosaic {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.mosaic-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    grid-auto-rows: 300px;
}

.mosaic-tile {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%);
}

.mosaic-tile:nth-child(3n+1) {
    grid-row: span 2;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.mosaic-tile:nth-child(5n+2) {
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 95%);
}

.mosaic-tile:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: var(--shadow-xl);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 10;
}

.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mosaic-tile:hover .tile-overlay {
    opacity: 1;
}

.tile-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tile-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.6;
}

.tile-content {
    padding: 2rem;
    background: white;
}

.tile-content-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.tile-content-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   전통 섹션 - 파형 레이아웃
   ============================================ */
.tradition-wave {
    padding: 8rem 0;
    background: var(--bg-gradient-cool);
    position: relative;
    overflow: hidden;
}

.tradition-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

.wave-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
}

.section-header-wave {
    text-align: center;
    margin-bottom: 5rem;
    color: white;
}

.section-title-wave {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.section-header-wave .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.wave-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
}

.wave-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    padding: 3rem;
    background: white;
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
}

.wave-item:nth-child(even) {
    direction: rtl;
}

.wave-item:nth-child(even) > * {
    direction: ltr;
}

.wave-item::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 120%;
    background: var(--bg-gradient);
    border-radius: 3px;
    left: -3rem;
    top: -10%;
    transform: rotate(-5deg);
}

.wave-item:nth-child(even)::before {
    left: auto;
    right: -3rem;
    transform: rotate(5deg);
}

.wave-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.wave-item:nth-child(even):hover {
    transform: translateX(-15px) scale(1.02);
}

.wave-image {
    width: 100%;
    height: 400px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.wave-item:nth-child(even) .wave-image {
    clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%);
}

.wave-item:hover .wave-image {
    transform: scale(1.05);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.wave-content-text {
    padding: 2rem;
}

.wave-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.wave-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.wave-description {
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.wave-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.wave-list-item {
    padding: 0.5rem 1.5rem;
    background: var(--bg-slate);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-indigo);
    border: 2px solid var(--primary-indigo);
}

/* ============================================
   역사 섹션 - 타임라인
   ============================================ */
.history-timeline {
    padding: 8rem 0;
    background: var(--bg-white);
    position: relative;
}

.section-header-timeline {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title-timeline {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--bg-gradient);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    direction: rtl;
}

.timeline-item:nth-child(odd) > * {
    direction: ltr;
}

.timeline-dot {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-xl);
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-indigo);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.timeline-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.timeline-image {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* ============================================
   예술 섹션 - 카드 스택
   ============================================ */
.art-stack {
    padding: 8rem 0;
    background: var(--bg-gradient-warm);
    position: relative;
    overflow: hidden;
}

.art-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
}

.section-header-stack {
    text-align: center;
    margin-bottom: 5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.section-title-stack {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.section-header-stack .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.stack-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stack-card {
    background: white;
    border-radius: 40px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--bg-gradient-warm);
}

.stack-card:hover {
    transform: translateX(20px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stack-card:nth-child(even) {
    direction: rtl;
}

.stack-card:nth-child(even) > * {
    direction: ltr;
}

.stack-card:nth-child(even):hover {
    transform: translateX(-20px) scale(1.02);
}

.stack-image {
    width: 100%;
    height: 400px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.stack-card:hover .stack-image {
    transform: scale(1.1);
}

.stack-content {
    padding: 1rem;
}

.stack-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stack-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.stack-description {
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   갤러리 섹션 - 불규칙 그리드
   ============================================ */
.gallery-irregular {
    padding: 8rem 0;
    background: var(--bg-white);
    position: relative;
}

.section-header-irregular {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title-irregular {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.irregular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-rows: 250px;
}

.irregular-item {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.irregular-item:nth-child(3n+1) {
    grid-row: span 2;
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 5% 100%);
}

.irregular-item:nth-child(5n+2) {
    grid-row: span 2;
    clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
}

.irregular-item:nth-child(7n+3) {
    clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%);
}

.irregular-item:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: var(--shadow-xl);
    z-index: 10;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.irregular-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.irregular-item:hover .irregular-overlay {
    opacity: 1;
}

.irregular-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================
   푸터
   ============================================ */
.footer-modern {
    background: var(--text-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-indigo);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   반응형 디자인
   ============================================ */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title-mosaic,
    .section-title-wave,
    .section-title-timeline,
    .section-title-stack,
    .section-title-irregular {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .diagonal-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .diagonal-left {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        padding: 3rem 2rem;
    }
    
    .diagonal-right {
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
        min-height: 400px;
    }
    
    .wave-item,
    .stack-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wave-item:nth-child(even) {
        direction: ltr;
    }
    
    .wave-item::before {
        display: none;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-dot {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title-mosaic,
    .section-title-wave,
    .section-title-timeline,
    .section-title-stack,
    .section-title-irregular {
        font-size: 2.5rem;
    }
    
    .mosaic-tiles {
        grid-template-columns: 1fr;
    }
    
    .mosaic-tile:nth-child(3n+1) {
        grid-row: span 1;
    }
    
    .irregular-grid {
        grid-template-columns: 1fr;
    }
    
    .irregular-item:nth-child(3n+1),
    .irregular-item:nth-child(5n+2) {
        grid-row: span 1;
    }
    
    .section-wrapper,
    .wave-container {
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title-mosaic,
    .section-title-wave,
    .section-title-timeline,
    .section-title-stack,
    .section-title-irregular {
        font-size: 2rem;
    }
    
    .tile-title,
    .wave-title,
    .timeline-title,
    .stack-title {
        font-size: 1.5rem;
    }
}
