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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --chapter-content-width: 46rem;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fafafa;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.6;
}

/* Hamburger Menu Button */
.menu-button {
    background: color-mix(in srgb, var(--panel-strong) 82%, transparent);
    border: 0;
    border-radius: 0.75rem;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0.55rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.menu-button span {
    width: 22px;
    height: 2px;
    min-height: 2px;
    background: currentColor;
    opacity: 0.9;
    border-radius: 1px;
    transition: all 0.3s ease;
    display: block;
    transform: translateZ(0);
}

.menu-button:hover span {
    opacity: 1;
}

.menu-button:hover {
    background: color-mix(in srgb, var(--panel-strong) 92%, transparent);
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.fullscreen-menu ul {
    list-style: none;
    text-align: center;
}

.fullscreen-menu ul li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fullscreen-menu.active ul li {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu.active ul li:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu.active ul li:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-menu.active ul li:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu.active ul li:nth-child(4) { transition-delay: 0.4s; }

.fullscreen-menu a {
    color: white;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1px;
    transition: opacity 0.3s;
    cursor: pointer;
    line-height: 0.5;
}

.fullscreen-menu a:hover {
    opacity: 0.6;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 3rem;
    background: none;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s;
    font-weight: 300;
}

.close-menu:hover {
    opacity: 0.6;
}

/* Page Container */
.page {
    display: none;
    min-height: calc(100vh - 80px);
    animation: fadeIn 0.6s ease;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem 6rem;
    min-height: 85vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    color: #1a1a1a;
}

.hero-content h1 strong {
    font-weight: 700;
    display: block;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    color: #4a4a4a;
    line-height: 1.8;
    font-weight: 400;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.quote-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.quote-section blockquote {
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: -0.5px;
}

/* Story Section */
.story-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem;
}

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

.story-container h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: -1.5px;
    color: #1a1a1a;
}

.story-content p {
    font-size: 1.25rem;
    line-height: 2;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Content Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mighty Stone Home Section - FIXED */
.mighty-stone-home-section {
    background: white;
    padding: 10rem 3rem;
}

.mighty-stone-home-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8rem;
    align-items: center;
}

.msimg1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.msimg1 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(3);
}

.mighty-stone-home-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    color: #1a1a1a;
}

.mighty-stone-home-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 2px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mighty-stone-home-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.visual-card {
    background: #fafafa;
    padding: 2.5rem;
    border-radius: 2px;
    border-left: 4px solid #1a1a1a;
    transition: transform 0.3s;
}

.visual-card:hover {
    transform: translateX(10px);
}

.visual-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.visual-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Mighty Stone Section */
.mighty-stone-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 8rem 3rem;
    text-align: center;
}

.mighty-stone-hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.mighty-stone-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.msimg1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    width: 200px;
    height: 300px; 
    /* do not change width and height, it just created a really cool effect, I don't event know how */
    
}

/* Button container */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Outline button style */
.cta-button-outline {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.cta-button-outline:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 2px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Blog Section */
.blog-controls {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.blog-search-wrap {
    position: relative;
}

.blog-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.95rem;
    pointer-events: none;
}

.blog-search-input {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 2.7rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
    background: white;
}

.blog-search-input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.blog-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-tag {
    border: 1px solid #ddd;
    background: white;
    color: #666;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-tag:hover,
.blog-tag.active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.blog-content {
    padding: 2.5rem;
}

.blog-meta {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-language-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid #ddd;
    font-size: 0.72rem;
    color: #666;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.blog-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.blog-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 1rem;
}

.blog-no-results {
    margin-top: 2rem;
    color: #666;
    font-size: 1rem;
}

/* Blog Post Page */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-post-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.blog-post-meta {
    color: #999;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    font-weight: 600;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 3rem;
    transition: color 0.3s;
}

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

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.contact-content p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
    text-align: left;
}

.contact-item {
    background: white;
    padding: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.contact-item h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 1rem;
}

.contact-item a {
    font-size: 1.5rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.7;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
    padding: 3rem;
    margin-top: 6rem;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.footer-contact-links a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 0.98rem;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-contact-links a:hover {
    opacity: 0.72;
    color: white;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
    text-align: right;
}

.footer-meta p {
    margin: 0;
}

.footer-social-links {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
}

.footer-social-link {
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        height: 500px;
    }

    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    nav .nav-container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 4rem 1.5rem;
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-image {
        height: 400px;
    }

    .container {
        padding: 3rem 1.5rem;
    }

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

    .quote-section blockquote {
        font-size: 1.5rem;
    }

    .story-section {
        padding: 4rem 1.5rem;
    }

    .story-container h2 {
        font-size: 2.5rem;
    }

    .story-content p {
        font-size: 1.1rem;
    }

    .fullscreen-menu a {
        font-size: 2rem;
    }

    .blog-controls {
        margin-top: 1.5rem;
    }

    .close-menu {
        font-size: 3rem;
        right: 1.5rem;
    }

    .blog-post-header h1 {
        font-size: 2.5rem;
    }

    .contact-content h1 {
        font-size: 2.5rem;
    }
    .mighty-stone-home-section {
        padding: 4rem 1.5rem;
    }

    .mighty-stone-home-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mighty-stone-home-content h2 {
        font-size: 2.5rem;
    }

    .mighty-stone-home-content p {
        font-size: 1.05rem;
    }

/* Responsive fixes for Mighty Stone section */
@media (max-width: 1024px) {
    .mighty-stone-home-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .msimg1 {
        max-width: 300px;
    }

    .mighty-stone-home-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mighty-stone-home-section {
        padding: 4rem 1.5rem;
    }

    .mighty-stone-home-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .msimg1 {
        max-width: 250px;
    }

    .mighty-stone-home-content h2 {
        font-size: 2.5rem;
    }

    .mighty-stone-home-content p {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .mighty-stone-home-section {
        padding: 3rem 1rem;
    }

    .msimg1 {
        max-width: 200px;
    }

    .mighty-stone-home-content h2 {
        font-size: 2rem;
    }

    .mighty-stone-home-content p {
        font-size: 1rem;
    }
}

/* Responsive buttons */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button,
    .cta-button-outline {
        width: 100%;
        text-align: center;
    }
}

}

/* Version 3: chapter landing */
:root {
    --page-bg: #f5f1ea;
    --panel-bg: rgba(255, 255, 255, 0.82);
    --panel-strong: #ffffff;
    --page-text: #111827;
    --muted-text: #6b7280;
    --soft-border: rgba(17, 24, 39, 0.12);
    --accent: #d35400;
    --accent-soft: rgba(211, 84, 0, 0.12);
    --shadow-lg: 0 30px 90px rgba(17, 24, 39, 0.08);
}

body {
    background: var(--page-bg);
    color: var(--page-text);
    transition: background-color 0.35s ease, color 0.35s ease;
}

body[data-theme="dark"] {
    --page-bg: #0c0f14;
    --panel-bg: rgba(13, 17, 24, 0.82);
    --panel-strong: #121722;
    --page-text: #f8fafc;
    --muted-text: #9ca3af;
    --soft-border: rgba(255, 255, 255, 0.12);
    --accent: #ff8a3d;
    --accent-soft: rgba(255, 138, 61, 0.15);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.35);
}

nav {
    background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
    border-bottom: 1px solid var(--soft-border);
    backdrop-filter: blur(18px);
}

body[data-theme="dark"] nav {
    background: rgba(11, 15, 22, 0.78);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    appearance: none;
    border: 1px solid var(--soft-border);
    background: var(--panel-strong);
    color: var(--page-text);
    border-radius: 50%;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.theme-toggle::before,
.theme-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.25s ease;
}

.theme-toggle::before {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: var(--page-text);
}

.theme-toggle::after {
    width: 0.94rem;
    height: 0.94rem;
    border: 1.5px solid color-mix(in srgb, var(--page-text) 55%, transparent);
    border-radius: 50%;
}

body[data-theme="dark"] .theme-toggle::before {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 50%;
    background: transparent;
    box-shadow: inset -0.3rem -0.06rem 0 0 var(--page-text);
}

body[data-theme="dark"] .theme-toggle::after {
    opacity: 0;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    color: var(--accent);
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.chapter-story-nav {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 10.5rem;
    min-height: 3.8rem;
    border-radius: 999px;
    border: 1px solid var(--soft-border);
    padding: 1.05rem 1.5rem 1.05rem 2.9rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--panel-strong) 92%, white 8%), color-mix(in srgb, var(--panel-strong) 84%, var(--accent-soft) 16%));
    color: var(--page-text);
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.chapter-story-nav::after {
    content: '';
    position: absolute;
    left: 1.35rem;
    top: 50%;
    width: 0.7rem;
    height: 0.7rem;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.chapter-story-nav--previous::after {
    left: 1.5rem;
    transform: translateY(-50%) rotate(-135deg);
}

.chapter-story-nav__label {
    font-size: 1rem;
    line-height: 1.1;
}

.chapter-story-nav:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.08);
}

.chapter-story-nav:hover::after {
    transform: translateY(-50%) translateX(0.12rem) rotate(45deg);
}

.chapter-story-nav--previous:hover::after {
    transform: translateY(-50%) translateX(-0.12rem) rotate(-135deg);
}

.chapter-story-nav--accent {
    background: linear-gradient(135deg, var(--page-text), color-mix(in srgb, var(--page-text) 84%, var(--accent) 16%));
    color: var(--panel-strong);
    border-color: transparent;
}

.chapter-story-nav--accent:hover {
    color: var(--panel-strong);
    background: var(--accent);
}

.chapter-story-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    font-weight: 700;
    max-width: var(--chapter-content-width);
    width: 100%;
    margin: 0 auto;
}

.chapter-strip-section {
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 720px;
    padding: 0;
    margin: 0;
}

.chapter-strip-rack {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
    overflow: hidden;
    padding: 0;
    scrollbar-width: none;
}

.chapter-strip-rack::-webkit-scrollbar {
    display: none;
}

.chapter-strip {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    border: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.35s ease, flex-grow 0.35s ease, opacity 0.35s ease, filter 0.35s ease, width 0.35s ease;
    outline: none;
}

.chapter-strip.active {
    flex-grow: 1.8;
    transform: scaleX(1.01);
}

.chapter-strip:hover:not(.chapter-strip--locked),
.chapter-strip:focus-visible:not(.chapter-strip--locked) {
    flex-grow: 2.45;
    transform: scaleX(1.01);
}

.chapter-strip__image,
.chapter-strip__overlay,
.chapter-strip__lock,
.chapter-strip__meta {
    position: absolute;
    inset: 0;
}

.chapter-strip__image {
    background-size: cover;
    background-position: center;
    filter: grayscale(1) saturate(0.78) brightness(0.8) contrast(1.04);
    transform: scale(1.02);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.chapter-strip:hover .chapter-strip__image,
.chapter-strip.active .chapter-strip__image,
.chapter-strip:focus-visible .chapter-strip__image {
    filter: grayscale(0) saturate(1.16) brightness(0.98) contrast(1.07);
    transform: scale(1.08);
}

.chapter-strip__overlay {
    background:
        linear-gradient(150deg, rgba(34, 64, 122, 0.34) 0%, rgba(19, 30, 50, 0.22) 42%, rgba(212, 118, 50, 0.24) 78%, rgba(255, 208, 102, 0.18) 100%),
        linear-gradient(180deg, rgba(6, 10, 16, 0.12), rgba(6, 10, 16, 0.74));
}

.chapter-strip:hover .chapter-strip__overlay,
.chapter-strip.active .chapter-strip__overlay,
.chapter-strip:focus-visible .chapter-strip__overlay {
    background:
        linear-gradient(150deg, rgba(42, 82, 152, 0.28) 0%, rgba(24, 38, 64, 0.18) 42%, rgba(228, 136, 62, 0.2) 78%, rgba(255, 214, 116, 0.14) 100%),
        linear-gradient(180deg, rgba(6, 10, 16, 0.08), rgba(6, 10, 16, 0.66));
}

.chapter-strip__meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    color: white;
    text-align: left;
    gap: 0.35rem;
}

.chapter-strip__number {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.8;
}

.chapter-strip__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    max-width: 12ch;
}

.chapter-strip__lock {
    inset: 0.75rem auto auto 0.75rem;
    width: fit-content;
    height: fit-content;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(8, 12, 18, 0.72);
    color: white;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    border: 1px solid rgba(255, 255, 255, 0.28);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.chapter-strip--locked {
    cursor: not-allowed;
    opacity: 0.95;
}

.chapter-strip--locked .chapter-strip__meta {
    opacity: 0.78;
}

.chapter-strip--locked .chapter-strip__image {
    filter: grayscale(1) saturate(0.05) brightness(0.62);
}

.chapter-strip--locked:hover .chapter-strip__lock,
.chapter-strip--locked:focus-visible .chapter-strip__lock {
    opacity: 1;
    transform: translateY(0);
}

.chapter-strip--locked .chapter-strip__overlay {
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.42), rgba(10, 12, 16, 0.88));
}

.chapter-strip__image--1 {
    background-color: #101114;
    background-image: linear-gradient(135deg, rgba(17, 24, 39, 0.22), rgba(255, 138, 61, 0.18)), url("img/childhood.jpg");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.chapter-strip__image--2 {
    background-color: #101114;
    background-image: linear-gradient(135deg, rgba(17, 24, 39, 0.22), rgba(255, 138, 61, 0.18)), url("img/viethiphop2.jpg");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.chapter-strip__image--3 {
    background-color: #0d1016;
    background-image: linear-gradient(135deg, rgba(17, 24, 39, 0.26), rgba(62, 86, 125, 0.22)), url("img/earlycreative04-a.JPG");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.chapter-strip__image--4 {
    background-color: #eef4f8;
    background-image: linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(58, 119, 94, 0.12)), url("img/mslogo01.png");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.chapter-strip__image--5 {
    background-color: #090b10;
    background-image: linear-gradient(180deg, rgba(8, 12, 18, 0.12), rgba(8, 12, 18, 0.5)), url("img/VietAva02.png");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.chapter-strip__image--locked {
    background-image: linear-gradient(160deg, #6b7280 0%, #cbd5e1 52%, #374151 100%);
}

.chapter-story-panel {
    max-width: 1320px;
    margin: 0 auto;
    padding: 3rem clamp(2rem, 6vw, 6rem);
    border-radius: 0.55rem;
    --chapter-content-width: 46rem;
}

.chapter-strip-section + .chapter-story-panel {
    margin-top: 2rem;
    padding: 3rem clamp(2rem, 6vw, 6rem);
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.chapter-story-panel h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin: 0.6rem auto 1rem;
    max-width: var(--chapter-content-width);
    width: 100%;
}

.chapter-story-lead {
    font-size: 1.15rem;
    line-height: 1.85;
    max-width: var(--chapter-content-width);
    color: var(--page-text);
    width: 100%;
    margin: 0 auto 1.25rem;
}

.chapter-story-body {
    display: grid;
    gap: 1.1rem;
    color: var(--muted-text);
    line-height: 1.9;
    max-width: var(--chapter-content-width);
    width: 100%;
    margin: 0 auto;
}

.chapter-story-body p {
    margin: 0;
}

.chapter-story-media {
    margin: 0.25rem 0 0.35rem;
    display: grid;
    gap: 0.45rem;
}

.chapter-story-media img {
    width: 100%;
    display: block;
    border-radius: 0.4rem;
    object-fit: cover;
    max-height: 34rem;
}

.chapter-story-media figcaption {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: color-mix(in srgb, var(--muted-text) 84%, var(--page-text) 16%);
}

.chapter-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
    max-width: var(--chapter-content-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.move-up-button {
    position: fixed;
    right: 2.5rem;
    bottom: 1.75rem;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    padding: 0.35rem;
    border: 1px solid color-mix(in srgb, var(--soft-border) 92%, transparent);
    border-radius: 50%;
    background: linear-gradient(135deg, color-mix(in srgb, var(--panel-strong) 94%, var(--accent-soft) 6%), color-mix(in srgb, var(--panel-strong) 88%, var(--accent-soft) 12%));
    color: color-mix(in srgb, var(--page-text) 72%, var(--accent) 28%);
    box-shadow: 0 0.6rem 1.5rem rgba(15, 23, 42, 0.08);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem) scale(0.96);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease, box-shadow 0.25s ease;
}

.move-up-button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.move-up-button:hover {
    transform: translateY(-0.2rem) scale(1.01);
    box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.12);
}

.move-up-button__icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--panel-strong) 78%, transparent);
    border: 1px solid color-mix(in srgb, var(--soft-border) 78%, transparent);
    font-size: 0.95rem;
}

body[data-theme="dark"] .move-up-button {
    border: 1px solid color-mix(in srgb, var(--soft-border) 80%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--page-text) 92%, var(--accent) 8%), color-mix(in srgb, var(--page-text) 70%, var(--accent) 30%));
    color: var(--panel-strong);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.18);
}

body[data-theme="dark"] .move-up-button:hover {
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.24);
}

body[data-theme="dark"] .move-up-button__icon {
    background: color-mix(in srgb, white 14%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.gallery-intro {
    max-width: 60ch;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-tile {
    min-height: 16rem;
    border-radius: 1.25rem;
    border: 1px solid var(--soft-border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.4));
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
}

.gallery-tile span {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent);
    font-weight: 700;
}

.gallery-tile p {
    color: var(--muted-text);
    max-width: 26ch;
}

.gallery-tile--large {
    grid-column: span 2;
    min-height: 24rem;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.82), rgba(211, 84, 0, 0.6));
    color: white;
}

.gallery-tile--large span,
.gallery-tile--large p {
    color: rgba(255, 255, 255, 0.92);
}

.gallery-tile--wide {
    grid-column: span 2;
}

.section-title {
    color: var(--page-text);
}

body[data-theme="dark"] .fullscreen-menu {
    background: rgba(5, 8, 12, 0.96);
}

body[data-theme="dark"] .logo,
body[data-theme="dark"] .menu-button,
body[data-theme="dark"] .menu-button span,
body[data-theme="dark"] .contact-item a,
body[data-theme="dark"] .read-more,
body[data-theme="dark"] .back-link,
body[data-theme="dark"] .blog-content h3,
body[data-theme="dark"] .section-title,
body[data-theme="dark"] .stat-number,
body[data-theme="dark"] .mighty-stone-home-content h2,
body[data-theme="dark"] .contact-content h1,
body[data-theme="dark"] .blog-post-header h1 {
    color: var(--page-text);
}

@media (max-width: 1024px) {
    .chapter-strip {
        min-width: 8.25rem;
        height: 26rem;
    }

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

@media (max-width: 768px) {
    nav .nav-container {
        padding: 0 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-meta {
        text-align: left;
    }

    .chapter-strip-section {
        height: auto;
        min-height: 0;
    }

    .chapter-strip-rack {
        gap: 0.65rem;
        padding-bottom: 0.5rem;
        overflow-x: auto;
        height: auto;
    }

    .chapter-strip {
        flex: 0 0 70vw;
        min-width: 70vw;
        height: 24rem;
        border-radius: 0;
    }

    .chapter-strip.active,
    .chapter-strip:hover:not(.chapter-strip--locked),
    .chapter-strip:focus-visible:not(.chapter-strip--locked) {
        transform: translateY(-0.5rem);
        flex-grow: 0;
    }

    .chapter-story-panel {
        margin: 1.25rem 1rem 0;
        padding: 1.5rem;
    }

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

    .gallery-tile--large,
    .gallery-tile--wide {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 0.5rem;
    }

    .theme-toggle {
        width: 1.72rem;
        height: 1.72rem;
    }

    .chapter-story-actions {
        flex-direction: column;
    }

    .hero-link,
    .chapter-story-nav,
    .move-up-button {
        width: 100%;
    }

    .chapter-story-nav {
        min-width: 0;
    }

    .move-up-button {
        right: 1.25rem;
        bottom: 1.25rem;
        width: 3rem;
        height: 3rem;
    }
}