/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e5e5e5;
    background-color: #0a0a0a;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 英雄横幅 */
.hero-banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.8s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-fallback-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-preload-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.hero-video.loaded ~ .hero-preload-image {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-banner .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-banner .hero-title {
    font-size: clamp(5rem, 18vw, 15rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    white-space: nowrap;
    overflow: visible;
}

.hero-banner .char {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.hero-banner .char:hover {
    transform: translateY(-10px) scale(1.2);
    color: #ff2bff;
    text-shadow: 
        0 0 10px #ff2bff,
        0 0 20px #ff2bff,
        0 0 30px #ff2bff,
        0 0 40px #ff2bff;
    animation: glow 0.6s ease-in-out;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ff2bff;
    }
    50% {
        text-shadow: 
            0 0 10px #ff2bff,
            0 0 20px #ff2bff,
            0 0 30px #ff2bff,
            0 0 40px #ff2bff;
    }
    100% {
        text-shadow: 
            0 0 10px #ff2bff,
            0 0 20px #ff2bff,
            0 0 30px #ff2bff,
            0 0 40px #ff2bff;
    }
}

.hero-banner .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* 播放按钮 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50px;
    padding: 20px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.05);
}

.play-icon {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.play-text {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 介绍区域 */
.intro-section {
    padding: 120px 0 80px;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.intro-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #b3b3b3;
    line-height: 1.7;
}

.intro-description {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #999999;
    line-height: 1.7;
}

/* 团队成员滚动展示区域 */
.team-scroll-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(10, 10, 10, 0) 100%);
    overflow: hidden;
}

.team-section-title {
    margin-bottom: 2rem;
    padding: 0 20px;
}

.team-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0; /* 为 hover 上移和阴影预留空间 */
    margin-top: -20px; /* 抵消顶部 padding 带来的位移 */
    margin-bottom: -20px; /* 抵消底部 padding 带来的位移 */
}

.team-scroll-container::before,
.team-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}

.team-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
}

.team-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
}

.team-scroll-track {
    display: flex;
    gap: 2rem;
    animation: scroll-horizontal 50s linear infinite;
    will-change: transform;
    width: fit-content;
}

.team-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.team-member-card {
    flex: 0 0 320px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.team-member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 43, 255, 0.5);
    box-shadow: 0 8px 32px rgba(255, 43, 255, 0.2);
    background: rgba(30, 30, 30, 0.9);
}

.member-avatar {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.team-member-card:hover .member-avatar {
    transform: scale(1.02);
}

.member-avatar img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.member-founding-team {
    font-size: 0.75rem;
    font-weight: 400;
    color: #888;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    padding: 0 1.5rem;
    text-transform: uppercase;
}

.member-role {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ff2bff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    padding: 0 1.5rem;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.member-tags .tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 43, 255, 0.15);
    border: 1px solid rgba(255, 43, 255, 0.3);
    border-radius: 12px;
    color: #ff2bff;
    font-weight: 500;
}

.member-quote {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b3b3b3;
    font-style: italic;
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.member-bio {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #808080;
    margin-top: auto;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 主要内容区域 */
.main-content {
    padding: 80px 0;
}

.careers-after-feature {
    padding-top: 0;
    padding-bottom: 88px;
}

.careers-section {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--deck-text);
    text-align: center;
    letter-spacing: -0.01em;
}

/* 职位分类 */
.job-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    border-bottom: 2px solid #333333;
    padding-bottom: 0.5rem;
}

/* 职位表格 */
.job-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.job-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    /* border-bottom: 1px solid #333333; */
    transition: background-color 0.2s ease;
}

.job-row:hover {
    background-color: #1a1a1a;
}

.job-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.job-link:hover {
    color: inherit;
}

.job-row:last-child {
    border-bottom: none;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    flex: 1;
}

.job-location {
    font-size: 1rem;
    font-weight: 400;
    color: #999999;
    text-align: right;
    min-width: 120px;
}

/* 页脚 */
.footer {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid #333333;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    font-size: 1rem;
    font-weight: 400;
    color: #999999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-banner {
        height: 80vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .hero-video {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-fallback-image {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-preload-image {
        width: 100vw;
        height: 100vh;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-banner .hero-content {
        padding: 0 24px;
    }

    .hero-banner .hero-content {
        padding: 0 40px;
    }

    .hero-banner .hero-title {
        font-size: clamp(4.5rem, 15vw, 12rem);
        gap: 0;
        letter-spacing: clamp(0.01em, 1vw, 0.04em);
        margin-bottom: 2rem;
        flex-wrap: nowrap;
    }
    
    .hero-banner .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .play-button {
        padding: 15px 25px;
    }
    
    .play-icon {
        font-size: 2.5rem;
    }
    
    .play-text {
        font-size: 0.9rem;
    }
    
    .intro-section {
        padding: 80px 0 60px;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }
    
    .intro-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .job-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .job-location {
        text-align: left;
        min-width: auto;
        font-size: 0.9rem;
        color: #cccccc;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .team-scroll-section {
        padding: 60px 0;
    }
    
    .team-member-card {
        flex: 0 0 280px;
        min-height: 450px;
        padding: 0;
    }
    
    .pets-scroll-section {
        padding: 50px 0;
    }
    
    .pet-card {
        flex: 0 0 180px;
    }
    
    .pet-avatar {
        width: 180px;
        height: 180px;
        border-radius: 18px;
    }
    
    .pet-name {
        font-size: 0.85rem;
        padding: 0.6rem 0.9rem;
    }
    
    .member-avatar {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    
    .member-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .member-name {
        font-size: 1.1rem;
        padding: 1.5rem 1.5rem 0.5rem;
        margin-bottom: 0;
    }
    
    .member-founding-team {
        padding: 0 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .member-role {
        padding: 0 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .member-tags {
        padding: 0 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .member-quote {
        font-size: 0.85rem;
        padding: 0 1.5rem;
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .member-bio {
        padding: 1rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 70vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .hero-video {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-fallback-image {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-preload-image {
        width: 100vw;
        height: 100vh;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-banner .hero-content {
        padding: 0 24px;
    }

    .hero-banner .hero-title {
        font-size: clamp(2.8rem, 13vw, 5rem);
        gap: 0;
        letter-spacing: clamp(0.01em, 0.8vw, 0.03em);
        margin-bottom: 1rem;
        flex-wrap: nowrap;
    }
    
    .hero-banner .hero-subtitle {
        font-size: 1rem;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .team-scroll-section {
        padding: 40px 0;
    }
    
    .team-member-card {
        flex: 0 0 260px;
        min-height: 420px;
        padding: 0;
    }
    
    .member-bio {
        font-size: 0.7rem;
        padding: 0.8rem 1.25rem 1.25rem;
    }
    
    .member-avatar {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    
    .member-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .member-name {
        font-size: 1rem;
        padding: 1.25rem 1.25rem 0.4rem;
        margin-bottom: 0;
    }
    
    .member-founding-team {
        padding: 0 1.25rem;
        margin-bottom: 0.2rem;
    }
    
    .member-role {
        padding: 0 1.25rem;
        margin-bottom: 0.6rem;
    }
    
    .member-tags {
        padding: 0 1.25rem;
        margin-bottom: 1rem;
    }
    
    .member-tags .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .member-quote {
        font-size: 0.8rem;
        padding: 0 1.25rem;
        min-height: auto;
        margin-bottom: 0.8rem;
    }
    
    .member-bio {
        padding: 0.8rem 0 0 0;
    }
    
    .team-scroll-container::before,
    .team-scroll-container::after {
        width: 80px;
    }
    
    .pets-scroll-section {
        padding: 40px 0;
    }
    
    .pet-card {
        flex: 0 0 150px;
    }
    
    .pet-avatar {
        width: 150px;
        height: 150px;
        border-radius: 15px;
    }
    
    .pet-name {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .pets-scroll-container::before,
    .pets-scroll-container::after {
        width: 80px;
    }
}

/* 宠物角色滚动展示 */
.pets-scroll-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0) 100%);
    overflow: hidden;
}

.pets-section-title {
    margin-bottom: 2rem;
    padding: 0 20px;
}

.pets-title-language {
    display: inline-flex;
    max-width: 100%;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 0.26em;
    row-gap: 0.14em;
    line-height: 1.15;
}

.pets-title-language[hidden] {
    display: none;
}

.pets-title-logo {
    position: relative;
    top: 0.06em;
    display: block;
    width: auto;
    height: 0.86em;
    flex: 0 0 auto;
}

.pets-title-language[data-lang-block="zh"] .pets-title-logo {
    top: 0.04em;
    height: 1em;
}

.pets-title-copy {
    min-width: 0;
}

html[data-theme="light"] .pets-title-logo {
    filter: invert(1);
}

@media (max-width: 520px) {
    .pets-title-language {
        align-items: center;
        row-gap: 0.24em;
    }

    .pets-title-copy {
        flex: 1 0 100%;
        text-align: center;
    }
}

.pets-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0; /* 为 hover 上移和阴影预留空间 */
    margin-top: -15px; /* 抵消顶部 padding 带来的位移 */
    margin-bottom: -15px; /* 抵消底部 padding 带来的位移 */
}

.pets-scroll-container::before,
.pets-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}

.pets-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
}

.pets-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
}

.pets-scroll-track {
    display: flex;
    gap: 2rem;
    animation: scroll-pets-horizontal 60s linear infinite;
    will-change: transform;
    width: fit-content;
}

.pets-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-pets-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.pet-card {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5px; /* 为 hover 上移预留空间 */
    margin-bottom: 5px; /* 为 hover 上移预留空间 */
}

.pet-avatar {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.pet-card:hover .pet-avatar {
    transform: translateY(-5px);
    border-color: rgba(255, 43, 255, 0.5);
    box-shadow: 0 8px 32px rgba(255, 43, 255, 0.2);
}

.pet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pet-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    z-index: 2;
}

/* 宠物照片放大查看模态框 - 全新沉浸式设计 */
.pet-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
}

.pet-modal.active {
    display: flex;
    opacity: 1;
}

.pet-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    backdrop-filter: blur(20px);
}

/* 顶部标题栏 */
.pet-modal-header {
    position: relative;
    z-index: 10002;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}

.pet-modal.active .pet-modal-header {
    opacity: 1;
    transform: translateY(0);
}

.pet-modal-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.pet-modal-close-new {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pet-modal-close-new:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* 中间内容区 */
.pet-modal-content-new {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10001;
    padding: 20px;
}

.pet-modal-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    border-radius: 12px;
    overflow: hidden;
}

.pet-modal-image-wrapper img {
    max-width: 90vw;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
}

/* 底部浮动岛 */
.pet-modal-controls-island {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 10002;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pet-modal.active .pet-modal-controls-island {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pet-control-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pet-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.pet-modal-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    user-select: none;
}

.counter-separator {
    opacity: 0.3;
}

#pet-current-index {
    color: #ffffff;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .pet-modal-header { padding: 20px; }
    .pet-modal-controls-island { bottom: 30px; }
    .pet-modal-image-wrapper img { max-height: 60vh; }
}

@media (max-width: 768px) {
    .pet-modal-content {
        max-width: 100vw;
    }
    .pet-modal-image-container {
        padding: 10px;
    }
    .pet-modal-prev, .pet-modal-next {
        width: 44px;
        height: 44px;
    }
    .pet-modal-name {
        font-size: 1rem;
        margin-top: 1rem;
    }
}

.pet-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pet-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .pet-modal-prev {
        left: 10px;
    }
    
    .pet-modal-next {
        right: 10px;
    }
    
    .pet-modal-close {
        top: 10px;
        right: 10px;
    }
    
    .pet-modal-name {
        font-size: 1.2rem;
        margin-top: 1rem;
    }
}

/* 平滑滚动 */
html {
    background-color: var(--deck-bg, #09090b);
    scroll-behavior: smooth;
}

/* 链接样式 */
a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

a:hover {
    color: #cccccc;
}

/* 竖屏模式 - 当屏幕高度大于宽度时 */
@media (orientation: portrait) and (min-height: 100vw) {
    .hero-banner {
        height: 100vw;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .hero-video {
        width: 100vw;
        height: 100vw;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-fallback-image {
        width: 100vw;
        height: 100vw;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-preload-image {
        width: 100vw;
        height: 100vw;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-video-container {
        height: 100vw;
    }
}

/* 选择文本样式 */
::selection {
    background-color: rgba(178, 231, 50, 0.92);
    color: #ffffff;
}

#backgroundVideo video::-webkit-media-controls {
    display: none !important;
}

/* 0524 teaser-inspired refresh for homepage */
:root {
    --brand-green: #b2e732;
    --brand-green-hover: #a4d52d;
    --brand-green-ink: #10130a;
    --deck-bg: #09090b;
    --deck-bg-2: #111114;
    --deck-panel: rgba(17, 17, 20, 0.72);
    --deck-rule: rgba(255, 255, 255, 0.08);
    --deck-text: #fafafa;
    --deck-text-dim: #a1a1aa;
    --deck-text-muted: #71717a;
    --f-head: 'Space Grotesk', sans-serif;
    --f-body: 'DM Sans', sans-serif;
    --f-brand: 'Rubik', sans-serif;
    --home-shell-gutter: max(28px, calc((100vw - 1328px) / 2));
}

html[data-theme="light"] {
    --brand-green: #6f9400;
    --brand-green-hover: #5f8000;
    --brand-green-ink: #fbfde9;
    --deck-bg: #f5f1e8;
    --deck-bg-2: #ebe4d6;
    --deck-panel: rgba(255, 255, 255, 0.72);
    --deck-rule: rgba(25, 22, 18, 0.14);
    --deck-text: #161512;
    --deck-text-dim: #575249;
    --deck-text-muted: #81796d;
}

body {
    font-family: var(--f-body);
    color: var(--deck-text);
    background:
        linear-gradient(180deg, rgba(9, 9, 11, 0.48) 0%, rgba(5, 5, 5, 0.78) 54%, rgba(11, 11, 13, 0.93) 100%),
        url('vattention-background-rtm.png'),
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
        radial-gradient(760px 420px at 74% 3%, rgba(178, 231, 50, 0.09) 0%, transparent 58%),
        linear-gradient(180deg, var(--deck-bg) 0%, #050505 54%, #0b0b0d 100%);
    background-size: auto, cover, 64px 64px, 64px 64px, auto, auto;
    background-position: center top, center top, left top, left top, center top, center top;
    background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat, no-repeat;
}

html[data-theme="light"] body {
    background:
        linear-gradient(rgba(25, 22, 18, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 22, 18, 0.04) 1px, transparent 1px),
        radial-gradient(760px 420px at 74% 3%, rgba(111, 148, 0, 0.12) 0%, transparent 58%),
        linear-gradient(180deg, #faf6ed 0%, #eee7d8 56%, #f6f2e9 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.42;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

html[data-theme="light"] body::before {
    opacity: 0.18;
    filter: invert(1);
}

.container {
    max-width: 1180px;
    padding: 0 28px;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 68px;
    padding: 0 calc(var(--home-shell-gutter) + 158px) 0 var(--home-shell-gutter);
    border-bottom: 1px solid var(--deck-rule);
    background: rgba(9, 9, 11, 0.88);
    backdrop-filter: blur(16px);
}

html[data-theme="light"] .site-nav {
    background: rgba(248, 244, 234, 0.88);
    box-shadow: 0 12px 34px rgba(66, 55, 38, 0.08);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
    text-decoration: none;
}

.site-brand-logo {
    display: block;
    width: clamp(142px, 11vw, 176px);
    height: auto;
}

html[data-theme="light"] .site-brand-logo {
    filter: invert(1);
}

.site-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    min-width: 0;
}

.site-nav-links a {
    color: var(--deck-text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav-links a:hover,
.section-link:hover {
    color: var(--brand-green);
}

.site-nav-toggle {
    display: none;
}

.language-switch {
    position: fixed;
    top: 11px;
    right: var(--home-shell-gutter);
    z-index: 1001;
    display: flex;
    background: rgba(9, 9, 11, 0.72);
    border-radius: 999px;
    padding: 4px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.theme-switcher {
    position: fixed;
    right: var(--home-shell-gutter);
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 1002;
    display: none;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(9, 9, 11, 0.72);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
}

.theme-switcher button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 36px;
    padding: 8px 13px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: #d4d4d8;
    cursor: pointer;
    font-family: var(--f-body);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-switcher button[aria-pressed="true"] {
    background: var(--brand-green);
    color: var(--brand-green-ink);
    box-shadow: 0 6px 18px rgba(178, 231, 50, 0.24);
}

.theme-switcher button:hover:not([aria-pressed="true"]) {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fafafa;
}

.theme-switcher button:active {
    transform: translateY(1px);
}

html[data-theme="light"] .language-switch,
html[data-theme="light"] .theme-switcher,
html[data-theme="light"] .breadcrumb {
    background: rgba(248, 244, 234, 0.78);
    border-color: rgba(25, 22, 18, 0.14);
    box-shadow: 0 14px 38px rgba(66, 55, 38, 0.12);
}

html[data-theme="light"] .language-switch button,
html[data-theme="light"] .theme-switcher button {
    color: var(--deck-text-dim);
}

html[data-theme="light"] .language-switch button:hover:not(.active),
html[data-theme="light"] .theme-switcher button:hover:not([aria-pressed="true"]) {
    background-color: rgba(25, 22, 18, 0.07);
    color: var(--deck-text);
}

.language-switch button {
    background: none;
    border: none;
    color: #d4d4d8;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
}

.language-switch button.active {
    background: var(--brand-green);
    color: var(--brand-green-ink);
    box-shadow: 0 6px 18px rgba(178, 231, 50, 0.28);
}

.language-switch button:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fafafa;
}

.language-switch button:active {
    transform: scale(0.95);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(9, 9, 11, 0.18) 0%, rgba(9, 9, 11, 0.74) 72%, rgba(9, 9, 11, 0.96) 100%),
        linear-gradient(90deg, rgba(178, 231, 50, 0.12) 0%, transparent 32%, transparent 68%, rgba(178, 231, 50, 0.08) 100%);
}

.hero-banner {
    min-height: 760px;
    padding-top: 68px;
}

.hero-banner .hero-title {
    font-family: var(--f-head);
    font-size: clamp(4rem, 13vw, 10.5rem);
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.68);
}

.hero-kicker,
.section-label,
.card-label {
    color: var(--brand-green);
    font-family: var(--f-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-kicker {
    margin-bottom: 1.5rem;
}

.hero-banner .char:hover {
    transform: translateY(-6px) scale(1.08);
    color: var(--brand-green);
    text-shadow:
        0 0 18px rgba(178, 231, 50, 0.58),
        0 0 34px rgba(178, 231, 50, 0.28);
    animation: none;
}

.hero-banner .hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--deck-text-dim);
    font-family: var(--f-head);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-banner .hero-subtitle::before,
.hero-banner .hero-subtitle::after {
    content: '';
    width: 44px;
    height: 2px;
    background: var(--brand-green);
}

.hero-description {
    max-width: 760px;
    margin: 1.8rem auto 0;
    color: var(--deck-text-dim);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.home-landing {
    position: relative;
    min-height: 700px;
    height: auto;
    align-items: flex-end;
    padding: 112px 0 116px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(9, 9, 11, 0.72) 0%, rgba(9, 9, 11, 0.68) 38%, rgba(9, 9, 11, 0.94) 78%, var(--deck-bg) 100%),
        linear-gradient(90deg, rgba(9, 9, 11, 0.94) 0%, rgba(9, 9, 11, 0.6) 52%, rgba(9, 9, 11, 0.9) 100%),
        url('background.jpg');
    background-size: auto, auto, cover;
    background-position: center top, center top, center center;
    background-repeat: no-repeat;
}

.home-landing::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 220px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0), var(--deck-bg) 86%);
}

.home-landing .hero-video-container,
.home-landing .hero-overlay {
    display: none;
}

.home-landing .hero-content {
    position: relative;
    z-index: 1;
    width: min(1328px, calc(100vw - 56px));
    max-width: none;
    padding: 0;
}

.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
    align-items: end;
    gap: clamp(48px, 8vw, 132px);
    text-align: left;
}

.home-hero-copy {
    max-width: 820px;
}

.home-hero-title {
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(3.25rem, 5.5vw, 6.35rem);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: 0;
}

.home-hero-statement {
    max-width: 520px;
    color: var(--deck-text);
    font-family: var(--f-body);
    font-size: clamp(1.18rem, 1.85vw, 1.72rem);
    font-weight: 500;
    line-height: 1.24;
}

.home-feature-section {
    width: 100vw;
    margin: 24px 0 0 calc(-50vw + 50%);
    padding: 0 28px 96px;
    background: var(--deck-bg);
}

.home-feature-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: clamp(36px, 7vw, 108px);
    width: min(1328px, calc(100vw - 56px));
    min-height: min(72vh, 760px);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 104px);
    overflow: hidden;
    color: var(--deck-text);
    text-decoration: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
        #111111;
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.45);
}

.home-feature-card:hover .home-feature-title,
.home-feature-card:hover .home-feature-read {
    color: var(--brand-green);
}

.home-feature-copy {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: start;
    gap: 1.25rem;
    max-width: 620px;
}

.home-feature-title {
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(1.55rem, 2.25vw, 2.55rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
}

.home-feature-summary {
    max-width: 520px;
    color: var(--deck-text-dim);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.55;
}

.home-feature-read {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 0.35rem;
    padding: 0 18px;
    color: #09090b;
    background: var(--deck-text);
    border-radius: 8px;
    font-family: var(--f-head);
    font-size: 0.9rem;
    font-weight: 700;
}

.home-feature-card:hover .home-feature-read {
    background: var(--brand-green);
    color: var(--brand-green-ink);
}

.home-feature-visual {
    position: relative;
    display: block;
    width: min(520px, 100%);
    aspect-ratio: 0.92;
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 72% 28%, rgba(178, 231, 50, 0.2), transparent 28%),
        radial-gradient(circle at 26% 72%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(90deg, rgba(178, 231, 50, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(178, 231, 50, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, rgba(178, 231, 50, 0.1), transparent 46%),
        rgba(255, 255, 255, 0.025);
    background-size: auto, auto, 46px 46px, 46px 46px, auto, auto;
}

.home-feature-visual::before,
.home-feature-visual::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.home-feature-visual::before {
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    transform: rotate(45deg);
}

.home-feature-visual::after {
    inset: 28%;
    border: 1px solid rgba(178, 231, 50, 0.34);
    border-radius: 999px;
    box-shadow: 0 0 44px rgba(178, 231, 50, 0.08);
}

.feature-grid {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
    opacity: 0.48;
    mix-blend-mode: screen;
}

.feature-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
}

.feature-line.one {
    top: 58%;
    left: 12%;
    width: 76%;
    height: 1px;
}

.feature-line.two {
    top: 14%;
    left: 34%;
    width: 1px;
    height: 74%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.46), transparent);
}

.feature-curve {
    position: absolute;
    left: 20%;
    bottom: 24%;
    width: 62%;
    height: 34%;
    border-top: 3px solid var(--brand-green);
    border-right: 3px solid var(--brand-green);
    border-radius: 0 72% 0 0;
    transform: skewX(-16deg) rotate(-3deg);
    box-shadow: 0 -12px 36px rgba(178, 231, 50, 0.12);
}

.feature-node {
    position: absolute;
    z-index: 2;
    width: 11px;
    height: 11px;
    border: 2px solid var(--brand-green);
    border-radius: 999px;
    background: #09090b;
    box-shadow: 0 0 0 7px rgba(178, 231, 50, 0.1), 0 0 26px rgba(178, 231, 50, 0.22);
}

.feature-node.node-one {
    left: 24%;
    bottom: 26%;
}

.feature-node.node-two {
    left: 48%;
    bottom: 38%;
}

.feature-node.node-three {
    right: 17%;
    top: 25%;
}

.feature-chip {
    position: absolute;
    z-index: 2;
    width: max-content;
    padding: 7px 10px;
    color: var(--deck-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(9, 9, 11, 0.72);
    font-family: var(--f-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.feature-chip.chip-taste {
    top: 17%;
    left: 13%;
}

.feature-chip.chip-calibration {
    top: 48%;
    right: 8%;
    color: var(--brand-green);
}

.feature-chip.chip-leverage {
    bottom: 14%;
    left: 20%;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-story-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr);
    align-items: stretch;
    gap: 0;
    max-width: 980px;
    margin: 2.25rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: inherit;
    text-align: left;
    text-decoration: none;
    background: rgba(9, 9, 11, 0.42);
    backdrop-filter: blur(12px);
}

.hero-story-link:hover .hero-story-title,
.hero-story-link:hover .hero-story-read {
    color: var(--brand-green);
}

.hero-story-card {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.hero-story-copy {
    display: grid;
    gap: 0.85rem;
    padding: 24px 28px;
}

.hero-story-eyebrow,
.hero-story-read {
    color: var(--deck-text-muted);
    font-family: var(--f-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-story-title {
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 600;
    line-height: 1.12;
}

.hero-story-summary {
    max-width: 640px;
    color: var(--deck-text-dim);
    font-size: 0.98rem;
    line-height: 1.55;
}

.hero-story-read {
    color: var(--brand-green);
    margin-top: 0.35rem;
}

.hero-story-media {
    position: relative;
    display: grid;
    align-content: end;
    gap: 12px;
    min-height: 210px;
    padding: 24px;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 20% 20%, rgba(178, 231, 50, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(178, 231, 50, 0.1), rgba(255, 255, 255, 0.035));
}

.hero-story-media::before {
    content: '';
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(178, 231, 50, 0.28);
}

.hero-story-media span {
    position: relative;
    width: max-content;
    padding: 6px 9px;
    color: var(--deck-text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(9, 9, 11, 0.44);
    font-family: var(--f-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hero-story-media span:nth-child(2) {
    margin-left: 38px;
    color: var(--brand-green);
}

.hero-story-media span:nth-child(3) {
    margin-left: 76px;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--deck-rule);
    color: var(--deck-text);
    font-family: var(--f-head);
    font-weight: 600;
    text-decoration: none;
}

.hero-link.primary {
    border-color: var(--brand-green);
    background: var(--brand-green);
    color: var(--brand-green-ink);
}

.intro-section {
    width: 100vw;
    margin: 0 0 0 calc(-50vw + 50%);
    padding: 0 28px 112px;
    background: var(--deck-bg);
    text-align: left;
}

.intro-content {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    column-gap: clamp(48px, 8vw, 124px);
    row-gap: clamp(8px, 1.2vw, 14px);
    align-items: start;
    width: min(1328px, calc(100vw - 56px));
    max-width: none;
    margin: 0 auto;
    background:
        linear-gradient(135deg, rgba(19, 19, 22, 0.92), rgba(11, 11, 13, 0.98)),
        var(--deck-panel);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 0;
    padding: clamp(48px, 6vw, 84px);
    backdrop-filter: blur(8px);
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.32);
    text-align: left;
}

.intro-title {
    grid-row: 1 / span 4;
    font-family: var(--f-head);
    max-width: 460px;
    color: var(--deck-text);
    font-size: clamp(2.1rem, 3.2vw, 3.55rem);
    line-height: 1.05;
    margin: 0;
}

.intro-title::before {
    content: 'COMPANY / MANIFESTO';
    display: block;
    margin-bottom: 24px;
    color: var(--brand-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.intro-subtitle {
    color: var(--deck-text);
    font-size: clamp(1.05rem, 1.35vw, 1.24rem);
    line-height: 1.56;
    margin: 0;
}

.intro-description {
    color: var(--deck-text-dim);
    font-size: 1rem;
    line-height: 1.58;
    margin: 0;
    padding-top: 0.55rem;
    border-top: 1px solid var(--deck-rule);
}

.intro-description:last-child {
    color: var(--deck-text-muted);
}

.company-grid-section,
.latest-section {
    padding: 88px 0;
}

.latest-section {
    width: 100vw;
    margin: 0 0 0 calc(-50vw + 50%);
    padding-right: 28px;
    padding-left: 28px;
}

.section-header {
    max-width: 980px;
    margin: 0 auto 30px;
    text-align: center;
}

.latest-section .section-header,
.latest-section .blog-feature-card {
    width: min(1328px, calc(100vw - (var(--home-shell-gutter) * 2)));
    max-width: none;
}

.latest-section .section-header {
    margin-right: auto;
    margin-left: auto;
}

.section-header.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.section-label {
    margin-bottom: 0.7rem;
}

.section-link {
    color: var(--deck-text-dim);
    font-family: var(--f-head);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

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

.company-card,
.blog-feature-card {
    border: 1px solid var(--deck-rule);
    background: rgba(17, 17, 20, 0.78);
}

.company-card {
    padding: 28px;
    min-height: 280px;
}

.company-card h3,
.blog-feature-card h3 {
    margin: 1rem 0;
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.12;
}

.company-card p:not(.card-label),
.blog-feature-card p:not(.card-label) {
    color: var(--deck-text-dim);
    line-height: 1.7;
}

.blog-feature-card {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 32px;
    color: inherit;
    text-decoration: none;
}

.blog-feature-card span {
    align-self: end;
    color: var(--brand-green);
    font-family: var(--f-head);
    font-weight: 700;
    white-space: nowrap;
}

.blog-page {
    min-height: 100vh;
}

.blog-landing,
.blog-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 96px 28px 80px;
}

.blog-landing {
    width: min(1328px, calc(100vw - (var(--home-shell-gutter) * 2)));
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.blog-hero {
    margin-bottom: 48px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--deck-rule);
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: start;
    gap: 48px;
    min-height: 0;
    padding-bottom: 32px;
}

.blog-hero h1 {
    max-width: 900px;
    margin: 0.7rem 0 1.5rem;
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(1.75rem, 2.7vw, 2.45rem);
    line-height: 1.14;
}

.blog-hero p:not(.section-label) {
    max-width: 760px;
    color: var(--deck-text-dim);
    font-size: 1.15rem;
    line-height: 1.7;
}

.featured-post-section,
.blog-topics-section {
    padding: 64px 0;
}

.blog-count {
    color: var(--deck-text-muted);
    font-family: var(--f-head);
    font-weight: 600;
}

.featured-post-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 34px;
    align-items: start;
    padding: 34px 0;
    border-top: 1px solid var(--deck-rule);
    border-bottom: 1px solid var(--deck-rule);
    color: inherit;
    text-decoration: none;
}

.featured-post-card:hover h2,
.featured-post-card:hover .featured-post-link {
    color: var(--brand-green);
}

.featured-post-meta {
    display: grid;
    gap: 0.65rem;
    color: var(--deck-text-muted);
    font-size: 0.95rem;
}

.featured-post-meta span:first-child {
    color: var(--brand-green);
    font-family: var(--f-head);
    font-weight: 700;
}

.featured-post-body h2 {
    max-width: 760px;
    margin: 0 0 1rem;
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(1.25rem, 2.1vw, 1.85rem);
    line-height: 1.18;
}

.featured-post-body p {
    max-width: 680px;
    color: var(--deck-text-dim);
    line-height: 1.75;
}

.featured-post-link {
    color: var(--deck-text-dim);
    font-family: var(--f-head);
    font-weight: 700;
    white-space: nowrap;
}

.blog-topics-section {
    border-top: 1px solid var(--deck-rule);
}

.blog-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 26px;
    background: var(--deck-rule);
}

.blog-topic-card {
    min-height: 220px;
    padding: 28px;
    background: var(--deck-bg);
}

.blog-topic-card h3 {
    margin: 0 0 1rem;
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: 1.35rem;
    line-height: 1.2;
}

.blog-topic-card p {
    color: var(--deck-text-dim);
    line-height: 1.7;
}

.blog-list {
    display: grid;
    gap: 1rem;
}

.blog-post-card {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 32px;
    border: 1px solid var(--deck-rule);
    background: rgba(17, 17, 20, 0.78);
    color: inherit;
    text-decoration: none;
}

.blog-post-card h2 {
    margin: 1rem 0;
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.16;
}

.blog-post-card p:not(.card-label) {
    color: var(--deck-text-dim);
    line-height: 1.7;
}

.blog-post-card span {
    align-self: end;
    color: var(--brand-green);
    font-family: var(--f-head);
    font-weight: 700;
    white-space: nowrap;
}

.article-shell {
    width: min(1328px, calc(100vw - (var(--home-shell-gutter) * 2)));
    max-width: none;
    margin: 0 auto;
    padding: 128px 0 88px;
}

.article-back-link {
    display: inline-flex;
    margin-bottom: 36px;
    color: var(--deck-text-dim);
    font-family: var(--f-head);
    font-weight: 600;
    text-decoration: none;
}

.article-back-link:hover {
    color: var(--brand-green);
}

.article-wrap {
    border-top: 0;
}

.article-hero {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 64px 0 46px;
    border-bottom: 1px solid var(--deck-rule);
}

.article-hero h1 {
    max-width: 1080px;
    margin: 0.9rem 0 1.5rem;
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(2.15rem, 4.4vw, 4.5rem);
    line-height: 1.06;
}

.article-dek {
    max-width: 780px;
    margin: 0 0 2.1rem;
    color: var(--deck-text-dim);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.6;
}

.article-continue {
    display: inline-flex;
    align-self: flex-start;
    color: var(--brand-green);
    font-family: var(--f-head);
    font-weight: 700;
    text-decoration: none;
}

.article-continue:hover {
    color: var(--deck-text);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 1rem;
    color: var(--deck-text-muted);
    font-size: 0.95rem;
}

.article-body-layout {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 820px);
    gap: clamp(48px, 7vw, 96px);
    align-items: start;
    padding-top: 72px;
}

.article-main-column {
    max-width: 820px;
    min-width: 0;
}

.article-toc {
    position: sticky;
    top: 96px;
    align-self: start;
    padding-top: 18px;
    border-top: 1px solid var(--deck-rule);
}

.article-toc-label {
    margin: 0 0 0.82rem;
    color: var(--deck-text-muted);
    font-family: var(--f-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.article-toc-list {
    display: grid;
    gap: 0.48rem;
    margin: 0;
    padding-left: 0;
    color: var(--deck-text-muted);
    font-size: 0.88rem;
    line-height: 1.48;
    list-style: none;
}

.article-toc-list[hidden],
.article-toc-list[aria-hidden="true"] {
    display: none !important;
}

.article-toc-list a,
.article-toc-list a:visited {
    color: var(--deck-text);
    text-decoration: none;
}

.article-toc-list a:hover {
    color: var(--brand-green);
}

.article-meta a,
.article-content a,
.article-source a {
    color: var(--brand-green);
    text-decoration: none;
}

.article-content {
    max-width: 820px;
    padding: 0 0 40px;
    color: var(--deck-text-dim);
    font-size: 1.08rem;
    line-height: 1.95;
}

.article-body-anchor {
    scroll-margin-top: 84px;
}

.article-content h2[id] {
    scroll-margin-top: 96px;
}

.article-content figure {
    margin: 0 0 48px;
}

.article-content img {
    display: block;
    width: 100%;
    border: 1px solid var(--deck-rule);
}

.article-content h2 {
    margin: 4rem 0 1.15rem;
    color: var(--deck-text);
    font-family: var(--f-head);
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    line-height: 1.16;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
    margin: 0 0 1.35rem;
}

.article-content strong {
    color: var(--deck-text);
}

.article-content ul,
.article-content ol {
    padding-left: 1.4rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

.article-content blockquote {
    padding: 24px 28px;
    border-left: 3px solid var(--brand-green);
    background: rgba(178, 231, 50, 0.06);
    color: var(--deck-text);
}

.article-source {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 820px;
    padding: 28px 0 0;
    border-top: 1px solid var(--deck-rule);
    color: var(--deck-text-muted);
}

.team-scroll-section,
.pets-scroll-section {
    background: none;
}

.team-member-card {
    background: rgba(17, 17, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.team-member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(178, 231, 50, 0.35);
    box-shadow: none;
    background: rgba(20, 20, 22, 0.9);
}

.member-role {
    color: var(--brand-green);
}

.member-tags .tag {
    background: rgba(178, 231, 50, 0.1);
    border-color: rgba(178, 231, 50, 0.3);
    color: var(--brand-green);
}

.member-quote {
    color: #c7d3f6;
}

.member-bio {
    color: #9badde;
}

.section-title {
    font-family: var(--f-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0;
}

.careers-section {
    max-width: 980px;
}

.job-category {
    margin-bottom: 1.5rem;
    background: transparent;
    border-top: 1px solid var(--deck-rule);
    border-bottom: 1px solid var(--deck-rule);
    border-radius: 0;
    padding: 26px 0;
    box-shadow: none;
}

.category-title {
    color: var(--deck-text);
    border-bottom: 0;
    font-family: var(--f-head);
    text-transform: uppercase;
}

.job-row {
    border-radius: 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.job-row:hover {
    background: rgba(178, 231, 50, 0.055);
}

.job-title {
    color: var(--deck-text);
    text-decoration: none;
}

.job-link:hover .job-title {
    color: var(--brand-green);
}

.job-location {
    color: var(--deck-text-muted);
}

.pet-avatar {
    border: 1px solid var(--deck-rule);
    border-radius: 0;
}

.pet-avatar img {
    border-radius: 0;
}

.pet-card:hover .pet-avatar {
    border-color: rgba(178, 231, 50, 0.5);
    box-shadow: none;
}

.footer {
    border-top: 1px solid var(--deck-rule);
}

.footer-text {
    color: var(--deck-text-muted);
}

html[data-theme="light"] a {
    color: var(--deck-text);
}

html[data-theme="light"] a:hover,
html[data-theme="light"] .section-link:hover,
html[data-theme="light"] .job-link:hover .job-title {
    color: var(--brand-green);
}

html[data-theme="light"] .home-landing {
    background:
        linear-gradient(180deg, rgba(250, 246, 237, 0.98), rgba(241, 235, 222, 1)),
        var(--deck-bg);
}

html[data-theme="light"] .home-landing::after {
    background: linear-gradient(180deg, rgba(241, 235, 222, 0), var(--deck-bg) 86%);
}

html[data-theme="light"] .home-feature-section,
html[data-theme="light"] .intro-section {
    background: var(--deck-bg);
}

html[data-theme="light"] .home-feature-card,
html[data-theme="light"] .intro-content {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(235, 228, 214, 0.66)),
        var(--deck-panel);
    border-color: var(--deck-rule);
    box-shadow: 0 34px 92px rgba(66, 55, 38, 0.13);
}

html[data-theme="light"] .intro-subtitle [style],
html[data-theme="light"] .intro-subtitle span[style] {
    color: var(--deck-text) !important;
}

html[data-theme="light"] .home-feature-read {
    color: #faf6ed;
    background: var(--deck-text);
}

html[data-theme="light"] .home-feature-visual {
    border-color: rgba(25, 22, 18, 0.16);
    background:
        radial-gradient(circle at 72% 28%, rgba(111, 148, 0, 0.18), transparent 28%),
        radial-gradient(circle at 26% 72%, rgba(25, 22, 18, 0.08), transparent 26%),
        linear-gradient(90deg, rgba(111, 148, 0, 0.14) 1px, transparent 1px),
        linear-gradient(180deg, rgba(111, 148, 0, 0.11) 1px, transparent 1px),
        linear-gradient(135deg, rgba(111, 148, 0, 0.12), transparent 46%),
        rgba(25, 22, 18, 0.035);
    background-size: auto, auto, 46px 46px, 46px 46px, auto, auto;
}

html[data-theme="light"] .home-feature-visual::before {
    border-color: rgba(25, 22, 18, 0.2);
}

html[data-theme="light"] .home-feature-visual::after {
    border-color: rgba(111, 148, 0, 0.36);
    box-shadow: 0 0 44px rgba(111, 148, 0, 0.08);
}

html[data-theme="light"] .feature-line {
    background: linear-gradient(90deg, transparent, rgba(25, 22, 18, 0.42), transparent);
}

html[data-theme="light"] .feature-line.two {
    background: linear-gradient(180deg, transparent, rgba(25, 22, 18, 0.38), transparent);
}

html[data-theme="light"] .feature-node {
    background: #faf6ed;
    box-shadow: 0 0 0 7px rgba(111, 148, 0, 0.1), 0 0 26px rgba(111, 148, 0, 0.16);
}

html[data-theme="light"] .feature-chip,
html[data-theme="light"] .hero-story-media span {
    color: var(--deck-text);
    border-color: rgba(25, 22, 18, 0.16);
    background: rgba(250, 246, 237, 0.76);
}

html[data-theme="light"] .hero-story-link,
html[data-theme="light"] .blog-post-card,
html[data-theme="light"] .company-card,
html[data-theme="light"] .blog-feature-card {
    background: rgba(255, 255, 255, 0.66);
    border-color: var(--deck-rule);
    box-shadow: 0 18px 54px rgba(66, 55, 38, 0.08);
}

html[data-theme="light"] .hero-story-media {
    border-left-color: var(--deck-rule);
    background:
        radial-gradient(circle at 20% 20%, rgba(111, 148, 0, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(111, 148, 0, 0.1), rgba(25, 22, 18, 0.035));
}

html[data-theme="light"] .blog-topic-card {
    background: var(--deck-bg);
}

html[data-theme="light"] .article-toc-label,
html[data-theme="light"] .article-toc-list,
html[data-theme="light"] .article-toc-list li::marker {
    color: var(--deck-text-muted);
}

html[data-theme="light"] .article-toc-list a,
html[data-theme="light"] .article-toc-list a:visited {
    color: var(--deck-text) !important;
}

html[data-theme="light"] .pets-scroll-section {
    background: linear-gradient(180deg, rgba(245, 241, 232, 0) 0%, rgba(111, 148, 0, 0.055) 50%, rgba(245, 241, 232, 0) 100%);
}

html[data-theme="light"] .pets-scroll-container::before {
    background: linear-gradient(to right, rgba(245, 241, 232, 1), rgba(245, 241, 232, 0));
}

html[data-theme="light"] .pets-scroll-container::after {
    background: linear-gradient(to left, rgba(245, 241, 232, 1), rgba(245, 241, 232, 0));
}

html[data-theme="light"] .pet-avatar {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(25, 22, 18, 0.16);
}

html[data-theme="light"] .article-content blockquote {
    background: rgba(111, 148, 0, 0.08);
}

html[data-theme="light"] .team-member-card,
html[data-theme="light"] .job-section,
html[data-theme="light"] .application-section {
    background: var(--deck-panel);
    border-color: var(--deck-rule);
}

html[data-theme="light"] .member-quote {
    color: var(--deck-text);
}

html[data-theme="light"] .member-bio {
    color: var(--deck-text-dim);
}

html[data-theme="light"] .job-row {
    border-top-color: rgba(25, 22, 18, 0.08);
}

html[data-theme="light"] .job-row:hover {
    background: rgba(111, 148, 0, 0.06);
}

html[data-theme="light"] .job-background-image {
    opacity: 0.16;
    filter: saturate(0.72) contrast(0.92);
}

html[data-theme="light"] .job-background-overlay {
    background:
        linear-gradient(180deg, rgba(250, 246, 237, 0.58) 0%, rgba(245, 241, 232, 0.9) 62%, rgba(238, 231, 216, 0.98) 100%),
        linear-gradient(90deg, rgba(111, 148, 0, 0.1) 0%, transparent 30%, transparent 70%, rgba(111, 148, 0, 0.07) 100%);
}

html[data-theme="light"] .job-background-text {
    color: rgba(25, 22, 18, 0.055);
}

html[data-theme="light"] .job-category,
html[data-theme="light"] .job-type,
html[data-theme="light"] .job-location {
    background: rgba(255, 255, 255, 0.68);
}

html[data-theme="light"] b[style],
html[data-theme="light"] strong {
    color: var(--deck-text) !important;
}

@media (max-width: 1024px) {
    .site-nav {
        left: 0;
        right: 0;
        min-height: 64px;
        padding: 0 14px 0 16px;
        gap: 14px;
        overflow: visible;
    }

    .site-brand {
        max-width: 142px;
    }

    .site-brand-logo {
        width: 142px;
    }

    .site-nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--deck-text);
        cursor: pointer;
    }

    .site-nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        margin-left: auto;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-nav.is-open .site-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-nav.is-open .site-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-nav.is-open .site-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav-links {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
        border: 1px solid var(--deck-rule);
        background: var(--deck-bg);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(18px);
    }

    html[data-theme="light"] .site-nav-links {
        background: var(--deck-bg);
        box-shadow: 0 24px 70px rgba(66, 55, 38, 0.16);
    }

    .site-nav.is-open .site-nav-links {
        display: flex;
    }

    .site-nav-links a {
        padding: 14px 18px;
        color: var(--deck-text);
        font-size: 1rem;
        border-bottom: 1px solid var(--deck-rule);
    }

    .site-nav-links a:last-child {
        border-bottom: 0;
    }

    .language-switch {
        right: 64px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .home-landing {
        min-height: 560px;
        padding: 86px 0 74px;
    }

    .home-landing .hero-content {
        width: calc(100vw - 56px);
    }

    .home-hero-layout {
        align-items: center;
        gap: clamp(32px, 5.8vw, 72px);
    }

    .home-hero-title {
        font-size: clamp(3rem, 6.4vw, 4.7rem);
        line-height: 1.02;
    }

    .home-hero-statement {
        max-width: 420px;
        font-size: clamp(1rem, 2.15vw, 1.24rem);
        line-height: 1.36;
    }
}

@media (max-width: 768px) {
    .site-nav {
        left: 0;
        right: 0;
        min-height: 64px;
        padding: 0 14px 0 16px;
        gap: 14px;
        overflow: visible;
    }

    .site-brand {
        max-width: 136px;
    }

    .site-brand-logo {
        width: 136px;
    }

    .site-nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--deck-text);
        cursor: pointer;
    }

    .site-nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        margin-left: auto;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-nav.is-open .site-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-nav.is-open .site-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-nav.is-open .site-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav-links {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
        border: 1px solid var(--deck-rule);
        background: var(--deck-bg);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(18px);
    }

    html[data-theme="light"] .site-nav-links {
        background: var(--deck-bg);
        box-shadow: 0 24px 70px rgba(66, 55, 38, 0.16);
    }

    .site-nav.is-open .site-nav-links {
        display: flex;
    }

    .site-nav-links a {
        padding: 14px 18px;
        color: var(--deck-text);
        font-size: 1rem;
        border-bottom: 1px solid var(--deck-rule);
    }

    .site-nav-links a:last-child {
        border-bottom: 0;
    }

    .language-switch {
        top: 14px;
        right: 64px;
        padding: 2px;
    }

    .language-switch button {
        padding: 6px 9px;
        font-size: 12px;
        min-width: 32px;
    }

    .theme-switcher {
        right: 16px;
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    .theme-switcher button {
        min-width: 64px;
        min-height: 34px;
        padding: 7px 10px;
        font-size: 0.74rem;
    }

    .home-landing {
        min-height: 0;
        justify-content: flex-start;
        padding: 126px 0 72px;
        background:
            linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.78) 38%, rgba(9, 9, 11, 0.96) 78%, var(--deck-bg) 100%),
            linear-gradient(90deg, rgba(9, 9, 11, 0.94) 0%, rgba(9, 9, 11, 0.7) 54%, rgba(9, 9, 11, 0.92) 100%),
            url('background.jpg');
        background-size: auto, auto, cover;
        background-position: center top, center top, center top;
    }

    html[data-theme="light"] .home-landing {
        background:
            linear-gradient(180deg, rgba(250, 246, 237, 0.98), rgba(241, 235, 222, 1)),
            var(--deck-bg);
    }

    .home-landing .hero-content {
        width: calc(100vw - 32px);
        padding: 0;
    }

    .home-hero-layout {
        display: block;
    }

    .home-hero-title {
        font-size: clamp(2.35rem, 9.6vw, 3.25rem);
        line-height: 1.06;
        max-width: 720px;
    }

    .home-hero-statement {
        margin-top: 1.55rem;
        max-width: 620px;
        font-size: clamp(1rem, 4vw, 1.16rem);
        font-weight: 400;
        line-height: 1.5;
    }

    .home-feature-section {
        margin-top: 0;
        padding: 0 16px 56px;
    }

    .home-feature-card {
        grid-template-columns: 1fr;
        width: calc(100vw - 32px);
        min-height: 0;
        gap: 28px;
        padding: 30px 24px;
    }

    .home-feature-title {
        font-size: clamp(1.34rem, 5.6vw, 1.85rem);
        line-height: 1.15;
    }

    .home-feature-visual {
        width: min(100%, 430px);
        aspect-ratio: 1.1;
        order: 0;
    }

    .home-feature-summary {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .intro-section {
        padding: 0 16px 64px;
    }

    .intro-content {
        display: block;
        width: calc(100vw - 32px);
        padding: 34px 24px;
        border-radius: 0;
    }

    .intro-title {
        max-width: none;
        margin-bottom: 1.6rem;
        font-size: clamp(1.85rem, 8vw, 2.55rem);
        line-height: 1.12;
    }

    .intro-title::before {
        margin-bottom: 18px;
        font-size: 0.68rem;
    }

    .intro-subtitle,
    .intro-description {
        font-size: 0.98rem;
    }

    .intro-description {
        margin-top: 0.5rem;
    }

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

    .section-header.split,
    .blog-feature-card,
    .blog-post-card,
    .featured-post-card {
        display: block;
        text-align: left;
    }

    .latest-section {
        padding: 56px 16px;
    }

    .latest-section .section-header,
    .latest-section .blog-feature-card {
        width: calc(100vw - 32px);
    }

    .blog-feature-card span,
    .blog-post-card span,
    .featured-post-link {
        display: inline-block;
        margin-top: 1.5rem;
    }

    .blog-shell {
        padding: 104px 20px 64px;
    }

    .blog-landing {
        width: auto;
        padding: 92px 16px 64px;
    }

    .blog-hero-grid {
        display: block;
        min-height: 0;
        padding-bottom: 28px;
    }

    .blog-hero h1 {
        font-size: clamp(1.7rem, 7vw, 2.35rem);
        line-height: 1.12;
    }

    .blog-hero p:not(.section-label) {
        font-size: 1.02rem;
        line-height: 1.65;
    }

    .featured-post-section .section-title,
    .latest-section .section-title {
        font-size: clamp(1.45rem, 6.2vw, 1.95rem);
        line-height: 1.14;
        margin-bottom: 1rem;
    }

    .featured-post-section,
    .blog-topics-section {
        padding: 42px 0;
    }

    .featured-post-card {
        padding: 28px 0;
    }

    .featured-post-body h2 {
        margin-top: 1.4rem;
        font-size: clamp(1.25rem, 5.2vw, 1.72rem);
    }

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

    .article-shell {
        width: auto;
        padding: 92px 16px 72px;
    }

    .article-hero {
        min-height: 0;
        padding: 34px 0 40px;
    }

    .article-hero h1 {
        font-size: clamp(2rem, 8.7vw, 2.45rem);
        line-height: 1.08;
    }

    .article-dek {
        font-size: 1.04rem;
        line-height: 1.58;
    }

    .article-meta {
        gap: 0.55rem 0.9rem;
        font-size: 0.9rem;
    }

    .article-body-layout {
        display: block;
        padding-top: 44px;
    }

    .article-toc {
        position: static;
        padding: 0 0 28px;
        border-top: 0;
        border-bottom: 1px solid var(--deck-rule);
    }

    .article-content {
        padding-top: 44px;
        font-size: 1rem;
        line-height: 1.85;
    }

    .article-source {
        display: block;
    }

    .article-source a {
        display: inline-block;
        margin-top: 0.9rem;
    }

    .job-category {
        padding: 20px 0;
    }

}
