/* ============================================================
   一粒宇宙 · 设计系统
   参考：Apple 官网纯净风 + AetherFlow 信息架构
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
    /* 色彩 */
    --bg:            #f5f5f7;   /* 页面底色（苹果浅灰） */
    --bg-elevated:   #ffffff;   /* 卡片 / 浮层 */
    --text-primary:  #1d1d1f;   /* 主文字（近黑，非纯黑） */
    --text-secondary:#6e6e73;   /* 次级文字 */
    --text-tertiary: #86868b;   /* 弱文字 */
    --accent:        #0071e3;   /* 品牌蓝（苹果按钮蓝） */
    --accent-hover:  #0077ed;
    --link:          #0066cc;   /* 链接蓝 */
    --border:        #d2d2d7;   /* 分隔线 */
    --fill:          #e8e8ed;   /* 次级填充 / 输入框底 */

    /* 字体栈：SF Pro（西文）→ 苹方 → 微软雅黑 */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "SF Pro Display", "Helvetica Neue", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;

    /* 字号梯度（流式） */
    --text-hero:  clamp(2.625rem, 6vw, 4.5rem);
    --text-h1:    clamp(2rem, 4.5vw, 3.25rem);
    --text-h2:    clamp(1.625rem, 3vw, 2.5rem);
    --text-h3:    clamp(1.25rem, 2vw, 1.5rem);
    --text-body:  1.0625rem;
    --text-small: 0.875rem;
    --text-tiny:  0.75rem;

    /* 间距 */
    --section-pad:  clamp(4.5rem, 9vw, 7.5rem);
    --gutter:       clamp(1.25rem, 4vw, 2.5rem);
    --content-max:  980px;      /* 正文最大宽度 */
    --wide-max:     1200px;

    /* 圆角 */
    --radius-sm:   12px;
    --radius-card: 18px;
    --radius-lg:   28px;
    --radius-pill: 980px;

    /* 缓动（指数 ease-out） */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

    /* 阴影 */
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-nav:  0 1px 0 rgba(0, 0, 0, 0.06);
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-primary);
    font-size: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

p { margin: 0; }

/* ---------- 3. Layout Helpers ---------- */
.container {
    width: 100%;
    max-width: var(--wide-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--content-max); }

.section { padding-block: var(--section-pad); }

.section--tint { background: var(--bg-elevated); }

/* Section 头部：标题 + 副标题 */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}

.section-head .eyebrow {
    display: inline-block;
    font-size: var(--text-small);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-head h2 {
    font-size: var(--text-h2);
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--text-secondary);
    font-size: var(--text-body);
}

/* ---------- 4. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-body);
    font-weight: 500;
    line-height: 1;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background-color 0.25s var(--ease-out),
                transform 0.25s var(--ease-out);
    white-space: nowrap;
}

.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--accent);
    color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--dark {
    background: var(--text-primary);
    color: #fff;
}
.btn--dark:hover { background: #000; }

.btn--text {
    background: none;
    color: var(--accent);
    padding-inline: 0.5rem;
}
.btn--text .chevron { transition: transform 0.25s var(--ease-out); }
.btn--text:hover .chevron { transform: translateX(3px); }
.btn--text:hover { color: var(--accent-hover); }

/* ---------- 5. Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    /* 磨砂玻璃：任何底色上都能看清（深色大图 / 浅灰页面都不翻车） */
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
}
/* 不支持 backdrop-filter 的浏览器：改成近乎不透明，保证文字对比度 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav { background: rgba(255, 255, 255, 0.96); }
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.25rem;
}

.nav__logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.nav__logo:hover { text-decoration: none; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__links a {
    font-size: var(--text-small);
    color: var(--text-primary);
    opacity: 0.8;
    transition: opacity 0.2s var(--ease-out);
}
.nav__links a:hover { opacity: 1; text-decoration: none; }
.nav__links a.is-active { opacity: 1; color: var(--text-primary); font-weight: 500; }

.nav__cta { margin-left: 0.5rem; }

/* 汉堡按钮 */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
}
.nav__toggle svg { display: block; }

/* 移动菜单 */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0.5rem 0 1.5rem;
    gap: 0.25rem;
}
.mobile-menu a {
    padding: 0.7rem 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}
.mobile-menu a:hover { background: var(--fill); text-decoration: none; }
.mobile-menu.is-open { display: flex; }

/* 首页 · 精彩瞬间预览（4 列） */
.moment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}
.moment-grid .course-card__media { height: 200px; }
@media (max-width: 980px) {
    .moment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .moment-grid { grid-template-columns: 1fr; }
    .moment-grid .course-card__media { height: 220px; }
}

/* ---------- 6. Hero ---------- */
.hero {
    text-align: center;
    padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem);
}

.hero__eyebrow {
    font-size: var(--text-small);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.hero__title {
    font-size: var(--text-hero);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 15ch;
    margin: 0 auto 1.5rem;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 46ch;
    margin: 0 auto 2rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 首页 · 主题叙事（Apple 产品页式：圆角图卡 + 图文分离） ---------- */
.showcase {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4.5rem, 10vh, 7.5rem) 0;
    background: var(--bg);
    overflow: hidden;
}
.showcase--solid { background: var(--bg-elevated); }
.showcase--dark  { background: #0b0b0d; }

.showcase__inner {
    width: 100%;
    max-width: var(--wide-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* 图片：圆角卡片，不拉满屏宽，整体可点击
   宽度全站统一（各屏左右边缘对齐），高度交给 --ar 决定，所以比例不同也不会被拉宽/裁切 */
.showcase__card {
    display: block;
    position: relative;
    /* 宽度占视口约 90%（≥80%），上限 2000px 与首图原生分辨率一致，不放大糊 */
    --card-w: min(2000px, 90vw);
    width: var(--card-w);
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--fill);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 26px 60px -22px rgba(0, 0, 0, .32);
    opacity: 0;
    transform: translateY(42px) scale(.985);
    transition: opacity 1.15s var(--ease-out),
                transform 1.35s var(--ease-out),
                box-shadow .55s var(--ease-out);
}
.showcase.is-in .showcase__card { opacity: 1; transform: none; }
.showcase.is-in .showcase__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .07), 0 34px 74px -22px rgba(0, 0, 0, .4);
}
.showcase__card:hover { text-decoration: none; }

.showcase__frame { display: block; position: relative; overflow: hidden; }
.showcase__img {
    display: block;
    width: 100%;
    aspect-ratio: var(--ar, 1.3333);   /* 与照片原图一致，object-fit 不会裁掉任何内容 */
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 1.9s var(--ease-out);
}
.showcase.is-in .showcase__img { transform: scale(1); }
.showcase__card:hover .showcase__img { transform: scale(1.045); }

/* 轮播屏（研学首屏）：多张图交叉淡入 + 缓慢推近 */
.showcase__frame--carousel { aspect-ratio: var(--ar, 1.3333); }
.showcase__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s var(--ease-out), transform 6s ease;
    z-index: 1;
}
.showcase__slide.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.showcase__card:hover .showcase__slide.is-active { transform: scale(1.04); }

/* 轮播进度点（常显，位于卡片底部中央） */
.showcase__pager {
    position: absolute;
    left: 50%;
    bottom: clamp(.8rem, 2vw, 1.3rem);
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 3;
}
.showcase__pager button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .35s var(--ease-out), background .35s var(--ease-out);
}
.showcase__pager button.is-active { width: 20px; background: #fff; }

/* 卡片上的「进入该模块」提示（触屏常显） */
.showcase__badge {
    position: absolute;
    left: 50%;
    bottom: clamp(.85rem, 2.2vw, 1.5rem);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.15rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text-primary);
    font-size: var(--text-small);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.showcase__card:hover .showcase__badge,
.showcase__card:focus-visible .showcase__badge { opacity: 1; transform: translate(-50%, 0); }
.showcase__badge .chevron { transition: transform .3s var(--ease-out); }
.showcase__card:hover .showcase__badge .chevron { transform: translateX(4px); }
@media (hover: none) {
    .showcase__badge { opacity: 1; transform: translate(-50%, 0); }
}

/* 图下的文案 */
.showcase__copy {
    max-width: 44rem;
    margin: clamp(1.9rem, 4vw, 3.1rem) auto 0;
    text-align: center;
}
.showcase__copy > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.showcase.is-in .showcase__copy > * { opacity: 1; transform: none; }
.showcase.is-in .showcase__copy > *:nth-child(1) { transition-delay: .34s; }
.showcase.is-in .showcase__copy > *:nth-child(2) { transition-delay: .44s; }
.showcase.is-in .showcase__copy > *:nth-child(3) { transition-delay: .54s; }
.showcase.is-in .showcase__copy > *:nth-child(4) { transition-delay: .64s; }

.showcase__eyebrow {
    margin: 0 0 .6rem;
    font-size: var(--text-small);
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--accent);
}
.showcase__title {
    margin: 0 0 .75rem;
    font-size: var(--text-h1);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.14;
    color: var(--text-primary);
}
.showcase__title--lead { font-size: var(--text-hero); }
.showcase__text {
    margin: 0 auto;
    max-width: 40ch;
    font-size: var(--text-body);
    line-height: 1.65;
    color: var(--text-secondary);
}

.showcase__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1.15rem;
    font-size: var(--text-body);
    font-weight: 500;
}
.showcase__link:hover { text-decoration: none; }
.showcase__link .chevron { transition: transform .3s var(--ease-out); }
.showcase__link:hover .chevron { transform: translateX(4px); }

.showcase__actions {
    display: flex;
    gap: .9rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

/* 深色屏（首屏）反色 */
.showcase--dark .showcase__eyebrow { color: #2997ff; }
.showcase--dark .showcase__title { color: #f5f5f7; }
.showcase--dark .showcase__text { color: rgba(255, 255, 255, .78); }
.showcase--dark .showcase__link { color: #2997ff; }

/* 深色大图上的次级按钮 */
.btn--ghost {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .34);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .26); text-decoration: none; }

/* 右侧分屏指示点：difference 混合，深浅背景都能看清 */
.showcase-nav {
    position: fixed;
    right: clamp(.7rem, 2vw, 1.5rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    mix-blend-mode: difference;
}
.showcase-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: var(--radius-pill);
    background: #fff;
    opacity: .4;
    cursor: pointer;
    transition: height .45s var(--ease-out), opacity .45s var(--ease-out);
}
.showcase-dot.is-active { opacity: 1; height: 22px; }
@media (max-width: 900px) { .showcase-nav { display: none; } }

/* 桌面：图卡上限收紧、取消强制 100vh，让首屏能看到 H1 标题
   小屏（≤640px）保持原样不动；只在 ≥1024px 生效 */
@media (min-width: 1024px) {
    .showcase { min-height: auto; padding: clamp(3.5rem, 6vh, 5rem) 0; }
    .showcase__card { --card-w: min(1500px, 78vw); }
    /* 首页叙事屏的内部容器取消 1200px 上限，避免图卡溢出父容器时 margin:auto 失效导致偏左 */
    .showcase .showcase__inner { max-width: none; }
}

/* 手机：圆角收一点，图卡占满宽（比例仍由 --ar 决定，不会变形） */
@media (max-width: 640px) {
    .showcase { min-height: auto; padding: clamp(3rem, 8vh, 5rem) 0; }
    .showcase__card { border-radius: 20px; }
    .showcase__badge { font-size: var(--text-tiny); padding: .5rem .95rem; }
}

@media (prefers-reduced-motion: reduce) {
    .showcase__card,
    .showcase__img,
    .showcase__copy > * { transition: none; }
}

/* ---------- 7. About / Story ---------- */
.story {
    max-width: var(--content-max);
    margin-inline: auto;
}

.story__lead {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    text-align: center;
    margin-bottom: 2.5rem;
}

.story__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.story__col h3 {
    font-size: var(--text-h3);
    margin-bottom: 1rem;
}

.story__col p {
    color: var(--text-secondary);
}

.story__col ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.story__col li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.story__col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ---------- 8. Courses ---------- */
.course-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.course-hero-card__body {
    padding: clamp(1.75rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-hero-card__body .tag {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.course-hero-card__body h3 {
    font-size: var(--text-h2);
    margin-bottom: 1rem;
}

.course-hero-card__body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.course-hero-card__points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.course-hero-card__points li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-primary);
    padding: 0.45rem 0;
    font-size: var(--text-body);
}

.course-hero-card__points li svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--accent);
}

.course-hero-card__media {
    min-height: 280px;
    background: var(--fill);
}

.course-hero-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 次级课程卡 */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.course-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.08);
}

.course-card__media {
    height: 180px;
    background: var(--fill);
}

.course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.course-card__body h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.course-card__body p {
    font-size: var(--text-small);
    color: var(--text-secondary);
    flex: 1;
}

.course-card__link {
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.course-card__link .chevron { transition: transform 0.25s var(--ease-out); }
.course-card:hover .course-card__link .chevron { transform: translateX(3px); }

/* ---------- 9. Testimonials ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.testimonial {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow-card);
}

.testimonial__quote {
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.testimonial__author {
    font-weight: 600;
    font-size: var(--text-small);
}

.testimonial__role {
    font-size: var(--text-tiny);
    color: var(--text-tertiary);
}

/* ---------- 10. FAQ ---------- */
.faq { max-width: 720px; margin-inline: auto; }

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 2rem 1.25rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    position: relative;
    color: var(--text-primary);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-tertiary);
    transition: transform 0.3s var(--ease-out);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq__item .faq__answer {
    padding: 0 2rem 1.25rem 0;
    color: var(--text-secondary);
}

/* ---------- 11. CTA ---------- */
.cta { text-align: center; }

.cta__title {
    font-size: var(--text-h1);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta__subtitle {
    color: var(--text-secondary);
    max-width: 40ch;
    margin: 0 auto 2rem;
}

.cta__phone {
    display: block;
    margin-top: 1.5rem;
    font-size: var(--text-h3);
    font-weight: 600;
    color: var(--text-primary);
}
.cta__phone:hover { text-decoration: none; color: var(--accent); }

/* ---------- 12. Footer ---------- */
.footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding-block: 3rem 2rem;
    font-size: var(--text-small);
    color: var(--text-secondary);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.footer__brand .footer__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer__col h4 {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer__col a, .footer__col p {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.footer__col a:hover { color: var(--text-primary); text-decoration: none; }

.footer__qr {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.footer__qr img { width: 100%; height: 100%; object-fit: cover; }

.footer__bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-tertiary);
    font-size: var(--text-tiny);
}

/* ---------- 13. 内页 Hero ---------- */
.page-hero {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

/* 紧凑 Hero：用于「创客大师」等需要尽快露出下方内容的页面 */
.page-hero--compact {
    padding-block: clamp(1.25rem, 2.5vw, 2rem);
}
.page-hero--compact .page-hero__title { margin-bottom: 0.5rem; }
.page-hero--compact .page-hero__eyebrow { margin-bottom: 0.5rem; }

/* 紧凑 Section：紧跟紧凑 Hero 使用，让首屏就能看到主体内容 */
.section--tight { padding-block: clamp(1.25rem, 3vw, 2rem); }

.page-hero__eyebrow {
    font-size: var(--text-small);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.page-hero__title {
    font-size: var(--text-h1);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.page-hero__subtitle {
    font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 46ch;
    margin-inline: auto;
}

/* ---------- 14. 师资 ---------- */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.teacher-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.08);
}

.teacher-card__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--fill);
    margin-bottom: 1.25rem;
}

.teacher-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-card__name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.teacher-card__role {
    font-size: var(--text-small);
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.teacher-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.teacher-card__list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: var(--text-small);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.teacher-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border);
}

/* ---------- 15. 课程模块 ---------- */
.module {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.module__head {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.module__media {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--fill);
}

.module__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module__index {
    font-size: var(--text-tiny);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.module__title {
    font-size: var(--text-h2);
    margin-bottom: 0.75rem;
}

.module__desc {
    color: var(--text-secondary);
    max-width: 60ch;
}

.subcourse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
}

.subcourse {
    background: var(--bg-elevated);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    transition: background-color 0.3s var(--ease-out);
}

.subcourse:hover { background: #fafafc; }

.subcourse h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.subcourse p {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

/* ---------- 16. 特色网格 ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.feature {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fill);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

/* ---------- 17. 联系 / 表单 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.info-card, .form-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-card);
}

.info-block { margin-bottom: 2rem; }
.info-block:last-child { margin-bottom: 0; }

.info-block h3 {
    font-size: var(--text-small);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.info-block p, .info-block a {
    display: block;
    color: var(--text-primary);
    font-size: var(--text-body);
    line-height: 1.9;
}

.info-block a:hover { color: var(--accent); text-decoration: none; }

.campus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.campus {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.campus__city {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.campus__addr {
    font-size: var(--text-small);
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
    display: block;
    font-size: var(--text-small);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: var(--text-body);
    color: var(--text-primary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.field textarea { resize: vertical; min-height: 120px; }

.form-note {
    font-size: var(--text-tiny);
    color: var(--text-tertiary);
    margin-top: 1rem;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent);
    font-size: var(--text-small);
    line-height: 1.6;
    text-align: center;
}

.form-status--error {
    background: rgba(215, 0, 21, 0.07);
    color: #a3000f;
}

.form-status a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- 18. 评价系统 ---------- */
.lock {
    max-width: 420px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: clamp(1.25rem, 3.5vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.lock h2 {
    font-size: var(--text-h3);
    margin-bottom: 0.5rem;
}

.lock p {
    color: var(--text-secondary);
    font-size: var(--text-small);
    margin-bottom: 1.25rem;
}

.lock__error {
    color: #d70015;
    font-size: var(--text-small);
    margin-top: 1rem;
    min-height: 1.2em;
}

.pill-tabs {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--fill);
    border-radius: var(--radius-pill);
    margin-bottom: 2rem;
}

.pill {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-pill);
    transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.pill.is-active {
    background: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.pick {
    text-align: left;
    background: var(--bg-elevated);
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: var(--radius-card);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pick:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.08);
}

.pick__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pick svg { flex-shrink: 0; color: var(--accent); }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-small);
    color: var(--accent);
    padding: 0 0 0.5rem;
    margin-bottom: 1rem;
}

.back-link:hover { color: var(--accent-hover); }

.review-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: start;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.review-item__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.review-item__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fill);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-small);
    flex-shrink: 0;
}

.review-item__name { font-size: var(--text-small); font-weight: 600; }
.review-item__date { font-size: var(--text-tiny); color: var(--text-tertiary); }
.review-item__text { font-size: var(--text-body); color: var(--text-secondary); line-height: 1.7; }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-tertiary);
    font-size: var(--text-small);
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
}

/* ---------- 19. 隐藏工具 ---------- */
[hidden] { display: none !important; }

/* ---------- 20. Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1000px) {
    .teacher-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .campus-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .course-grid,
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__toggle { display: inline-flex; }

    .course-hero-card { grid-template-columns: 1fr; }
    .course-hero-card__media { order: -1; min-height: 200px; }

    .story__cols { grid-template-columns: 1fr; gap: 2.5rem; }

    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; text-align: center; }

    .module__head { grid-template-columns: 1fr; }
    .module__media { max-width: 200px; }

    .contact-grid,
    .review-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .course-grid,
    .testimonial-grid,
    .teacher-grid,
    .campus-grid,
    .subcourse-grid,
    .pick-grid,
    .form-row { grid-template-columns: 1fr; }

    .feature-grid { grid-template-columns: 1fr; }

    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { justify-content: center; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; transition: none !important; }
}

/* ============================================================
   联系页 · 微信二维码块（2026-09-25）
   ============================================================ */
.info-block__qr {
    margin-top: 0.875rem;
    width: clamp(140px, 38%, 200px);
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--bg-elevated);
}
.info-block__qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.info-block__note {
    margin-top: 0.875rem;
    font-size: var(--text-tiny);
    color: var(--text-tertiary);
    line-height: 1.6;
    max-width: 32ch;
}

/* ============================================================
   S20 · AI PBL 重庆东站 · 新增组件（2026-09-25）
   ============================================================ */

/* ---------- 作品图 ---------- */
.cqs-hero {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--fill);
}
.cqs-hero img {
    width: 100%;
    height: auto;
    display: block;
}
.cqs-hero figcaption {
    padding: 1rem 1.25rem;
    font-size: var(--text-small);
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ---------- 10+2 周课表 ---------- */
.schedule {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
.sched {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: 1.25rem;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.sched:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.sched__wk {
    display: inline-block;
    font-size: var(--text-tiny);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.sched h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.sched p {
    color: var(--text-secondary);
    font-size: var(--text-small);
    line-height: 1.5;
}
.sched__tools {
    display: block;
    margin-top: 0.75rem;
    padding-top: 0.625rem;
    border-top: 1px solid var(--border);
    font-size: var(--text-tiny);
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}
.sched--muted {
    background: transparent;
    border-style: dashed;
}
.sched--muted h4,
.sched--muted p {
    color: var(--text-tertiary);
}
@media (max-width: 1080px) {
    .schedule { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .schedule { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .schedule { grid-template-columns: 1fr; }
}

/* ---------- AI 工具全家福 ---------- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1080px;
    margin: 0 auto;
}
.tool {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--border);
    text-align: center;
}
.tool__name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.tool__role {
    font-size: var(--text-small);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.tool__where {
    font-size: var(--text-tiny);
    color: var(--text-tertiary);
    line-height: 1.5;
}
@media (max-width: 820px) {
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 课堂现场 4 张图 ---------- */
.cqs-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
}
.cqs-photo {
    margin: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--fill);
}
.cqs-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.cqs-photo figcaption {
    padding: 0.75rem 1rem;
    font-size: var(--text-small);
    color: var(--text-secondary);
    background: var(--bg-elevated);
    text-align: center;
    line-height: 1.4;
}
@media (max-width: 820px) {
    .cqs-photos { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 5 维度评分 ---------- */
.eval-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.875rem;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
}
.eval {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: 1.25rem 1rem;
    border: 1px solid var(--border);
    text-align: center;
}
.eval__score {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.eval h4 {
    font-size: var(--text-small);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: 600;
}
.eval p {
    font-size: var(--text-tiny);
    color: var(--text-tertiary);
    line-height: 1.4;
}
.eval-note {
    text-align: center;
    font-size: var(--text-small);
    color: var(--text-secondary);
    max-width: 56ch;
    margin: 0 auto;
    line-height: 1.6;
}
@media (max-width: 1080px) {
    .eval-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .eval-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .eval-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   品牌价值观改版·新增三屏（2026-09-25）
   - 向内/向外（.duality）
   - 我们不做什么（.neg-grid / .neg-card）
   - 作品墙（.work-wall）
   ============================================================ */

/* ---------- 16. 价值观双向（向内 / 向外） ---------- */
.duality {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
    max-width: 920px;
    margin: 0 auto;
}
.duality__side { text-align: left; }
.duality__divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}
.duality__num {
    display: inline-block;
    font-size: var(--text-small);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.duality__side h3 {
    font-size: var(--text-h3);
    margin-bottom: 1rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.duality__side p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: var(--text-body);
}
.duality__side p + p { margin-top: 0.75rem; }
@media (max-width: 720px) {
    .duality {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .duality__divider {
        width: 56px;
        height: 1px;
        margin: 0 auto;
    }
}

/* ---------- 17. 我们不做什么（3 条铁律） ---------- */
.neg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    max-width: 1040px;
    margin: 0 auto;
}
.neg-card {
    background: var(--bg);
    border-radius: var(--radius-card);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.neg-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.neg-card__x {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.neg-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}
.neg-card p {
    color: var(--text-secondary);
    font-size: var(--text-small);
    line-height: 1.7;
}
@media (max-width: 820px) {
    .neg-grid { grid-template-columns: 1fr; }
}

/* ---------- 18. 作品墙（精选 6 张） ---------- */
.work-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 0.875rem;
}
.work-wall__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--fill);
    display: block;
    text-decoration: none;
}
.work-wall__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.work-wall__item:hover img { transform: scale(1.05); }
.work-wall__item--lg {
    grid-column: span 2;
    grid-row: span 2;
}
.work-wall__cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.875rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
    color: #fff;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.work-wall__item:hover .work-wall__cap {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 820px) {
    .work-wall {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }
    .work-wall__item--lg { grid-column: span 2; }
}
