/* Fear Section */
.fear-section {
    background: #111;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.fear-statement {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 1.5rem;
}

.fear-sub {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

/* Home CTA Section */
.home-cta-section {
    background: #000;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.home-cta-text {
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-btn-light {
    background: #fff;
    color: #000;
}

.cta-btn-light:hover {
    background: var(--brand-yellow);
    color: #000;
}

/* Section Hook */
.section-hook {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

/* Section Sub */
.section-sub {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-top: -0.5rem;
    margin-bottom: var(--spacing-lg);
}

/* Clients Section */
.clients-section {
    padding: var(--spacing-lg) 0;
}

.clients-section .section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.clients-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.client-logo-item {
    flex: 0 0 calc(100% / 6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-color);
    margin: -1px 0 0 -1px;
    min-height: 100px;
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.client-logo-item img {
    max-width: 120px;
    max-height: 48px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 1024px) {
    .client-logo-item {
        flex: 0 0 calc(100% / 4);
        padding: 1.5rem 1rem;
        min-height: 85px;
    }
    .fear-section,
    .home-cta-section {
        padding: var(--spacing-lg) 0;
    }
    .fear-statement {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
    }
    .home-cta-text {
        font-size: clamp(1.5rem, 2.6vw, 2.5rem);
        margin-bottom: 2rem;
    }
    .clients-label {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .client-logo-item {
        flex: 0 0 50%;
        padding: 1.25rem 0.75rem;
        min-height: 75px;
    }
    .fear-statement {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        margin-bottom: 1rem;
    }
    .fear-sub {
        font-size: clamp(1rem, 3.5vw, 1.25rem);
    }
    .home-cta-text {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        margin-bottom: 1.75rem;
    }
    .section-sub {
        font-size: 1rem;
    }
}

/* Hero Home */
.hero-home {
    height: 100vh; /* 佔滿全螢幕以展示大圖 */
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -80px; /* 向上偏移以抵銷透明 Header 的高度 */
}

/* Ensure media is fluid */
.site-main img,
.site-main video {
    max-width: 100%;
    height: auto;
}
/* Removed overlay and text styles for pure image display */

/* Strategy Section */
.strategy-section {
    background: #fff;
    padding: var(--spacing-xl) 0;
}

.strategy-quote {
    display: flex;
    align-items: center;
}

.big-quote {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
    border-left: 4px solid var(--brand-yellow);
    padding-left: var(--spacing-md);
}

/* Service Blocks */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.block-reverse {
    direction: rtl;
}

.block-reverse .service-content {
    direction: ltr;
}

.service-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    border-bottom: 2px solid var(--brand-yellow);
    padding-bottom: 4px;
}

/* Portfolio Home */
.portfolio-home .section-title,
.blog-home .section-title {
    margin-bottom: var(--spacing-lg);
}

.home-cta-action {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-end;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1.125rem 3rem;
    background: #000;
    color: #fff;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.cta-btn::after {
    content: '→';
    font-size: 1.125rem;
}

.cta-btn:hover {
    background: var(--brand-yellow);
    color: #000;
}

.portfolio-home .portfolio-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-preview-item {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
}

.portfolio-preview-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-preview-item:hover img {
    transform: scale(1.05);
}

.portfolio-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-preview-item:hover .portfolio-preview-overlay {
    opacity: 1;
}

.portfolio-preview-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Blog Home */
.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card-home {
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card-thumb {
    display: block;
    overflow: hidden;
}

.blog-card-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card-home:hover .blog-card-thumb img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.blog-card-title a:hover {
    color: var(--brand-yellow);
}

.blog-card-excerpt {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-home {
        height: 80vh;
        min-height: 480px;
    }
    .strategy-section {
        padding: var(--spacing-lg) 0;
    }
    .strategy-grid.grid-2 {
        gap: var(--spacing-lg);
    }
    .big-quote {
        font-size: 2rem;
        padding-left: var(--spacing-sm);
    }
    .service-block {
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
    .service-content h3 {
        font-size: 1.7rem;
        margin-bottom: 1.25rem;
    }
    .service-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .portfolio-home,
    .blog-home {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }
    .portfolio-home .portfolio-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .blog-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .blog-card-title {
        font-size: 1.15rem;
    }
    .blog-card-excerpt {
        font-size: 0.95rem;
    }
    .cta-btn {
        padding: 1rem 2.25rem;
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }
    .home-cta-action {
        margin-top: 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-home {
        height: 60vh;
        min-height: 360px;
        background-attachment: scroll;
    }
    .strategy-section {
        padding: var(--spacing-md) 0;
    }
    .strategy-grid.grid-2 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .big-quote {
        font-size: clamp(1.25rem, 5vw, 1.6rem);
        border-left-width: 3px;
        padding-left: 1rem;
    }
    .service-block,
    .service-block.block-reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
        direction: ltr;
    }
    .service-label {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    .service-content h3 {
        font-size: clamp(1.4rem, 5vw, 1.6rem);
        margin-bottom: 1rem;
    }
    .service-content p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    .portfolio-home .portfolio-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .portfolio-preview-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
        padding: 1rem;
    }
    .blog-grid-home {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .blog-card-body {
        padding: 1.125rem;
    }
    .home-cta-action {
        justify-content: center;
        margin-top: 1.5rem;
    }
    .cta-btn {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 0.95rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 0.12em;
    }
    .portfolio-home .section-title,
    .blog-home .section-title {
        margin-bottom: var(--spacing-md);
    }
}
