/* ============================================================
 * 陈廷云市级首席技能大师工作室 · 无人机装调检修
 * 独立落地页样式（科技深蓝 + 金色点缀 + 无人机元素）
 * ============================================================ */

:root {
    /* 主色：#0231c5 品牌蓝 */
    --brand-950: #01123d;
    --brand-900: #021f5c;
    --brand-800: #02288a;
    --brand-700: #0231c5;
    --brand-600: #1a46d9;
    --brand-500: #3358e8;
    --brand-400: #5a7bef;
    --brand-300: #8aa4f5;
    --brand-200: #c0d2fb;
    --brand-100: #e0ebfd;
    --brand-50:  #f0f5fe;

    /* 金色：荣誉/大师 */
    --gold: #f4b740;
    --gold-bright: #fcd34d;
    --gold-deep: #d97706;
    --gold-soft: #fef3c7;

    /* 表面 */
    --paper: #f0f5fe;
    --surface: #ffffff;
    --surface-2: #e0ebfd;
    --surface-dark: #01123d;

    /* 文字 */
    --text: #0f1e36;
    --text-soft: #5a6b85;
    --text-on-dark: #ffffff;
    --text-on-dark-soft: #94a9c9;

    /* 线条 / 阴影 */
    --line: #c0d2fb;
    --line-strong: #8aa4f5;
    --shadow-sm: 0 4px 14px rgba(2, 49, 197, .08);
    --shadow: 0 16px 40px rgba(2, 49, 197, .14);
    --shadow-lg: 0 24px 60px rgba(2, 49, 197, .20);
    --glow-gold: 0 0 30px rgba(244, 183, 64, .35);

    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --maxw: 1160px;

    --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--paper);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ 顶部导航 ============ */
.studio-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(5, 18, 38, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background .3s ease;
}
.studio-nav.scrolled {
    background: rgba(5, 18, 38, .95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}
.studio-nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.studio-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    flex: 0 1 auto;
    min-width: 0;
}
.studio-logo-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--gold);
    display: grid; place-items: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(244, 183, 64, .3);
}
.studio-logo-text { font-weight: 700; font-size: 15px; letter-spacing: .5px; }
.studio-logo-sub { font-size: 11px; color: var(--text-on-dark-soft); letter-spacing: 1px; }

.studio-nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    flex: 0 1 auto;
    min-width: 0;
}
.studio-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    padding: 8px 16px;
    color: var(--text-on-dark-soft);
    font-size: 14px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.studio-nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.studio-nav-links a.nav-active {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-weight: 500;
}
.studio-nav-cta {
    background: var(--gold);
    color: var(--brand-900) !important;
    font-weight: 600;
    padding: 8px 20px !important;
    border-radius: 999px !important;
}
.studio-nav-cta:hover {
    filter: brightness(1.08);
    background: var(--gold) !important;
}
.studio-nav-cta i { line-height: 1; }

/* 登录：头像圈 + “登录”两字（参照 www 项目 header 头像风格） */
.studio-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px 5px 5px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(244, 183, 64, .45);
    background: rgba(244, 183, 64, .08);
    color: var(--gold-bright) !important;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
}
.studio-nav-login:hover {
    background: var(--gold) !important;
    border-color: transparent;
    color: var(--brand-900) !important;
    filter: none;
}
.nav-avatar {
    width: 26px; height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--brand-900);
    font-size: 14px;
    line-height: 1;
}
.studio-nav-login:hover .nav-avatar {
    background: rgba(5, 18, 38, .18);
}
.nav-login-text { line-height: 1; }

/* 导航过密时的自适应收窄：先压缩间距，再隐藏首页锚点项，避免换行错位 */
.studio-logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
@media (max-width: 1280px) {
    .studio-nav-inner { padding: 0 16px; }
    .studio-nav-links { gap: 2px; }
    .studio-nav-links a { padding: 8px 10px; font-size: 13px; }
    .studio-nav-links .studio-nav-cta { padding: 8px 14px !important; }
    .studio-nav-links .studio-nav-login { padding: 5px 12px 5px 5px !important; font-size: 13px; }
    .nav-avatar { width: 24px; height: 24px; flex-basis: 24px; font-size: 13px; }
    .studio-logo-sub { display: none; }
}
@media (max-width: 1100px) {
    .studio-nav-links li.nav-anchor { display: none; }
}
@media (max-width: 900px) {
    .studio-logo-text { font-size: 13px; }
}

/* ============ HERO 首屏 · 品牌主蓝 ============ */
.studio-hero {
    position: relative;
    min-height: 100vh;
    background: var(--brand-900);
    color: var(--text-on-dark);
    overflow: hidden;
    padding-top: 64px;
}

/* 网格背景 */
.studio-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
}

/* 粒子光点 */
.studio-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--brand-400);
    border-radius: 50%;
    opacity: .6;
    box-shadow: 0 0 10px var(--brand-400);
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: .6; }
    90% { opacity: .6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* 无人机 SVG 装饰 */
.drone-decoration {
    position: absolute;
    opacity: .15;
    pointer-events: none;
}
.drone-decoration.drone-1 {
    top: 18%; right: 8%;
    width: 320px;
    animation: droneFloat 8s ease-in-out infinite;
}
.drone-decoration.drone-2 {
    bottom: 15%; left: 5%;
    width: 200px;
    animation: droneFloat 10s ease-in-out infinite reverse;
}
@keyframes droneFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.studio-hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0 120px;
    text-align: center;
}

/* 内页紧凑首屏：统一所有内页（工作室成员 / 裁判员 / 赛事项目 / 简介 / 赛事 / 登录入口）
   英雄区高度，集中一处定义，避免各页重复且风格漂移 */
.studio-hero.compact { min-height: auto; padding-top: 64px; }
.studio-hero.compact .studio-hero-content { padding: 90px 0 80px; }

/* 徽章 */
.studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid rgba(244, 183, 64, .4);
    border-radius: 999px;
    background: rgba(244, 183, 64, .08);
    color: var(--gold-bright);
    font-size: 13px;
    letter-spacing: .15em;
    margin-bottom: 32px;
    font-weight: 500;
}
.studio-badge i { font-size: 16px; }

/* 印章/Logo */
.studio-seal {
    width: 110px; height: 110px;
    margin: 0 auto 28px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08);
    border: 2px solid var(--gold);
    box-shadow:
        0 0 0 6px rgba(244, 183, 64, .1),
        0 0 40px rgba(244, 183, 64, .25),
        inset 0 0 20px rgba(244, 183, 64, .1);
    position: relative;
}
.studio-seal::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px dashed rgba(244, 183, 64, .3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.studio-seal-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 8px rgba(244, 183, 64, .5));
}

.studio-hero h1 {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 1.25;
    letter-spacing: .02em;
    margin-bottom: 18px;
    color: #ffffff;
}
.studio-hero h1 .gold-text {
    color: var(--gold-bright);
}

/* 金色分隔线 */
.gold-divider {
    width: 80px; height: 3px;
    background: var(--gold);
    margin: 0 auto 22px;
    position: relative;
}
.gold-divider::before,
.gold-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 2px;
}
.gold-divider::before { left: -14px; }
.gold-divider::after { right: -14px; }

.studio-hero .subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    color: var(--gold-bright);
    letter-spacing: .18em;
    font-weight: 500;
    margin-bottom: 10px;
}
.studio-hero .subtitle-en {
    font-size: .82rem;
    letter-spacing: .32em;
    color: var(--text-on-dark-soft);
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Hero 统计数据：玻璃质感 + 分隔竖线 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 44px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero-stat {
    text-align: center;
    padding: 0 36px;
    position: relative;
}
.hero-stat + .hero-stat::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    height: 32px;
    width: 1px;
    background: rgba(255, 255, 255, .15);
}
.hero-stat .num {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--gold-bright);
}
.hero-stat .label {
    font-size: .82rem;
    color: var(--text-on-dark-soft);
    margin-top: 10px;
    letter-spacing: .1em;
}

/* 下滑提示 */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-on-dark-soft);
    font-size: 12px;
    letter-spacing: .2em;
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}
.scroll-hint i {
    display: block;
    font-size: 20px;
    margin-top: 6px;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ 区块通用 ============ */
.section {
    padding: 88px 0;
    position: relative;
}
/* Partners：深蓝（跟 Hero 主蓝一致，Honor→Partners→Footer 逐暗收束） */
.section { background: var(--brand-900); color: var(--text-on-dark); }
/* Honor：亮一级蓝（庆典感） */
.section-dark { background: var(--brand-800); color: var(--text-on-dark); }
.section-dark::before { display: none; }
.section-alt { background: var(--brand-100); }
/* 深蓝底 section（含 master-section）：section-head 走深色配色；
   浅蓝 section-alt 保持默认深色文字（品牌蓝标题 + 金棕 eyebrow + 灰 en），在浅蓝背景上清晰一致 */
.section:not(.section-dark):not(.section-alt) .section-head .eyebrow { color: var(--gold-bright); background: rgba(244, 183, 64, .1); }
.section:not(.section-dark):not(.section-alt) .section-head h2 { color: #fff; }
.section:not(.section-dark):not(.section-alt) .section-head .en { color: var(--text-on-dark-soft); }

.section-head {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.section-head .eyebrow {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .36em;
    color: var(--gold-deep);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(244, 183, 64, .08);
    border: none;
}
.section-dark .section-head .eyebrow {
    color: var(--gold-bright);
    background: rgba(244, 183, 64, .1);
}
.section-head h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    color: var(--brand-900);
    letter-spacing: .02em;
    margin-bottom: 12px;
}
.section-dark .section-head h2 { color: #fff; }

.section-head .en {
    font-size: .72rem;
    letter-spacing: .32em;
    color: var(--text-soft);
    text-transform: uppercase;
}
.section-dark .section-head .en { color: var(--text-on-dark-soft); }

.section-divider {
    width: 36px; height: 3px;
    background: var(--gold);
    margin: 18px auto 6px;
    border-radius: 3px;
}

/* ============ 工作室简介 ============ */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.intro-text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--brand-800);
    margin-bottom: 18px;
    line-height: 1.5;
}
.intro-text p {
    color: var(--text-soft);
    font-size: .95rem;
    margin-bottom: 16px;
    line-height: 1.9;
}
.intro-text .highlight {
    color: var(--brand-800);
    font-weight: 600;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}
.intro-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.intro-feat::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    opacity: 0;
    transition: opacity .25s;
}
.intro-feat:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(244, 183, 64, .5);
    transform: translateY(-2px);
}
.intro-feat:hover::before { opacity: 1; }
.intro-feat .ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(244, 183, 64, .1);
    color: var(--gold-deep);
    display: grid; place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}
.intro-feat .txt {
    font-size: .88rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}

/* 右侧展示卡 */
.intro-visual {
    position: relative;
}
.intro-card {
    background: var(--brand-800);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .08);
}
.intro-card::before { display: none; }
.intro-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    position: relative;
}
.intro-card-head .ico {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--gold);
    display: grid; place-items: center;
    font-size: 26px;
    box-shadow: var(--glow-gold);
}
.intro-card-head h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #fff;
}
.intro-card-head .sub {
    font-size: .78rem;
    color: var(--text-on-dark-soft);
    letter-spacing: .1em;
}
.intro-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    position: relative;
}
.ics-item {
    text-align: center;
    padding: 16px 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
}
.ics-item .n {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--gold-bright);
    line-height: 1;
}
.ics-item .l {
    font-size: .75rem;
    color: var(--text-on-dark-soft);
    margin-top: 6px;
}

/* ============ 核心业务（无人机装调检修）============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    cursor: default;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.service-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--brand-400);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card .ico {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(45, 114, 201, .1);
    color: var(--brand-600);
    display: grid; place-items: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all .3s;
}
.service-card:hover .ico {
    background: var(--brand-500);
    color: #fff;
}
.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--brand-900);
    margin-bottom: 10px;
    font-weight: 700;
}
.service-card p {
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.service-card ul {
    list-style: none;
}
.service-card ul li {
    font-size: .85rem;
    color: var(--text);
    padding: 5px 0 5px 20px;
    position: relative;
}
.service-card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 8px; height: 8px;
    background: var(--brand-500);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(14, 165, 233, .5);
}

/* ============ 领衔大师 · 最深蓝 ============ */
.master-section {
    position: relative;
    background: var(--brand-950);
    color: #fff;
}
.master-section::after { display: none; }
.master-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: center;
}
.master-portrait {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--brand-850);
    border: 2px solid rgba(244, 183, 64, .3);
    box-shadow: var(--shadow-lg);
}
.master-portrait-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--brand-900);
}
.master-avatar-icon {
    width: 140px; height: 140px;
    border-radius: 50%;
    background: var(--gold);
    display: grid; place-items: center;
    font-size: 64px;
    box-shadow: var(--glow-gold);
}
.master-portrait-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .1em;
}
.master-portrait-title {
    font-size: .85rem;
    color: var(--gold-bright);
    letter-spacing: .15em;
}

/* 装饰边框：双层，内层更细更亮 */
.master-portrait::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(244, 183, 64, .2);
    border-radius: calc(var(--radius-xl) - 14px);
    pointer-events: none;
}
.master-portrait::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(244, 183, 64, .15);
    border-radius: calc(var(--radius-xl) - 24px);
    pointer-events: none;
}

.master-info h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}
.master-info .title-line {
    color: var(--gold-bright);
    font-size: 1rem;
    letter-spacing: .1em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.master-info .title-line::before {
    content: "";
    width: 32px; height: 2px;
    background: var(--gold);
}
.master-desc {
    color: var(--text-on-dark-soft);
    font-size: .95rem;
    line-height: 2;
    margin-bottom: 28px;
}

.master-honors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.honor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    transition: all .25s;
}
.honor-item:hover {
    background: rgba(244, 183, 64, .08);
    border-color: rgba(244, 183, 64, .25);
}
.honor-item .ico {
    font-size: 22px;
    color: var(--gold);
    flex-shrink: 0;
}
.honor-item .txt {
    font-size: .9rem;
    color: #e0e9f5;
    line-height: 1.4;
}

/* ============ 工作室成员 ============ */
.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.member-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 20px 24px;
    text-align: center;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.member-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold);
    opacity: 0;
    transition: opacity .35s;
}
.member-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--brand-300);
}
.member-card:hover::before { opacity: 1; }
.member-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--brand-100);
    display: grid; place-items: center;
    font-size: 40px;
    border: 3px solid var(--surface);
    box-shadow: 0 6px 20px rgba(2, 49, 197, .12);
    position: relative;
    overflow: hidden;
}
.member-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.member-card h4 {
    font-size: 1.1rem;
    color: var(--brand-800);
    margin-bottom: 4px;
    font-weight: 700;
    font-family: var(--font-serif);
}
.member-card .role {
    font-size: .82rem;
    color: var(--brand-600);
    font-weight: 600;
    margin-bottom: 10px;
}
.member-card .desc {
    font-size: .78rem;
    color: var(--text-soft);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ 裁判员库 ============ */
.referee-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.ref-filter-btn {
    padding: 9px 22px;
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    color: var(--text-soft);
    font-size: .9rem;
    font-weight: 500;
    border-radius: 999px;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
}
.ref-filter-btn:hover {
    border-color: var(--brand-500);
    color: var(--brand-700);
}
.ref-filter-btn.active {
    background: var(--brand-800);
    border-color: var(--brand-800);
    color: #fff;
    box-shadow: 0 6px 16px rgba(15, 45, 88, .3);
}

/* 裁判员区块公共件：空态 + “返回 / 查看全部”链接（首页与 /referees 共用） */
.ref-empty { padding: 60px 0; text-align: center; color: var(--text-soft); }
.ref-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--brand-600);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: gap .2s, color .2s;
}
.ref-back:hover { color: var(--brand-800); gap: 12px; }

.referee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: all .3s;
}
.referee-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .35s ease;
    opacity: 1;
    transform: translateY(0);
}
.referee-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--brand-400);
}

.referee-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 22px 16px;
    background: rgba(45, 114, 201, .04);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.referee-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--brand-800);
    color: #fff;
    display: grid; place-items: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 45, 88, .2);
}
.referee-info { flex: 1; min-width: 0; }
.referee-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--brand-900);
    font-weight: 700;
    margin: 0 0 3px 0;
    line-height: 1.2;
}
.referee-title {
    font-size: .82rem;
    color: var(--text-soft);
    line-height: 1.3;
}
.referee-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: .05em;
}
.referee-badge.level-national {
    background: rgba(244, 183, 64, .12);
    color: var(--gold-deep);
    border: 1px solid rgba(244, 183, 64, .3);
}
.referee-badge.level-provincial {
    background: rgba(45, 114, 201, .1);
    color: var(--brand-600);
    border: 1px solid rgba(45, 114, 201, .25);
}
.referee-badge.level-municipal {
    background: rgba(100, 116, 139, .1);
    color: var(--text-soft);
    border: 1px solid var(--line-strong);
}

.referee-body {
    padding: 16px 22px 20px;
}
.referee-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .85rem;
    border-bottom: 1px dashed var(--line);
}
.referee-row:last-child { border-bottom: none; }
.referee-row i {
    color: var(--brand-500);
    font-size: 16px;
    flex-shrink: 0;
}
.referee-row-label {
    color: var(--text-soft);
    flex-shrink: 0;
    width: 66px;
}
.referee-row-val {
    color: var(--text);
    font-weight: 500;
    flex: 1;
    min-width: 0;
    word-break: break-all;
}

/* ============ 成果荣誉 ============ */
.achievements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.achievement {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 2px solid rgba(244, 183, 64, .5);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all .3s;
    position: relative;
}
.achievement:hover {
    background: rgba(244, 183, 64, .08);
    border-color: rgba(244, 183, 64, .3);
    border-top-color: var(--gold-bright);
    transform: translateY(-3px);
}
.achievement .num {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 2.6rem;
    color: var(--gold-bright);
    line-height: 1;
    margin-bottom: 8px;
}
.achievement .label {
    font-size: .88rem;
    color: var(--text-on-dark-soft);
}
.achievement .unit {
    font-size: .75rem;
    color: var(--gold-bright);
    margin-top: 4px;
    letter-spacing: .08em;
}

/* 荣誉列表 */
.honor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.honor-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    border-left: 3px solid rgba(244, 183, 64, .4);
    border-radius: 12px;
    transition: all .25s;
}
.honor-row:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(244, 183, 64, .25);
    border-left-color: var(--gold-bright);
    transform: translateX(3px);
}
.honor-row .medal {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}
.honor-row .medal.gold {
    background: var(--gold);
    color: #5a3d00;
}
.honor-row .medal.silver {
    background: #b0b8c2;
    color: #3a4250;
}
.honor-row .medal.bronze {
    background: #c88448;
    color: #4a2e10;
}
.honor-row .medal.award {
    background: var(--brand-500);
    color: #fff;
}
.honor-row-info { flex: 1; }
.honor-row-info .t {
    font-size: .95rem;
    color: #e8eef7;
    font-weight: 500;
    margin-bottom: 2px;
}
.honor-row-info .s {
    font-size: .78rem;
    color: var(--text-on-dark-soft);
}
.honor-row .year {
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--gold-bright);
    flex-shrink: 0;
}

/* ============ 合作单位 ============ */
.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.partner-tag {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    font-size: .9rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.partner-tag i { display: none; }
.partner-tag .partner-emoji { display: none; }
a.partner-tag { text-decoration: none; }
.partner-tag:hover {
    color: var(--gold-bright);
    border-bottom-color: var(--gold);
}
.partner-tag:hover::before { display: none; }
.partner-tag:hover i,
.partner-tag:hover .partner-emoji { color: var(--gold-bright); }

/* ============ 联系我们 / CTA ============ */
.cta-section {
    background: var(--brand-850);
    color: #fff;
}
.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.cta-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.35;
    font-weight: 700;
}
.cta-text p {
    color: var(--text-on-dark-soft);
    font-size: .95rem;
    line-height: 1.9;
    margin-bottom: 28px;
}
.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--brand-900);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(244, 183, 64, .3);
    transition: all .25s;
}
.btn-primary-gold:hover {
    box-shadow: 0 12px 32px rgba(244, 183, 64, .4);
    filter: brightness(1.05);
}
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all .25s;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
}

.contact-info-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-xl);
    padding: 32px;
    backdrop-filter: blur(10px);
}
.contact-info-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-info-card h3 i { color: var(--gold); }

.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .04);
    border-radius: 12px;
    transition: background .2s;
}
.contact-item:hover { background: rgba(255, 255, 255, .08); }
.contact-item .ico {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(244, 183, 64, .14);
    color: var(--gold-bright);
    display: grid; place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-item .info .label {
    font-size: .75rem;
    color: var(--text-on-dark-soft);
    margin-bottom: 2px;
}
.contact-item .info .value {
    font-size: .95rem;
    color: #fff;
    font-weight: 500;
}

/* ============ 页脚 ============ */
.studio-footer {
    /* 终章最深蓝 */
    background: var(--brand-950);
    color: var(--text-on-dark-soft);
    padding: 48px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.studio-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.studio-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.studio-footer-brand .logo-ico {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--gold);
    display: grid; place-items: center;
    font-size: 20px;
}
.studio-footer-brand .txt {
    font-size: 1rem;
    color: #e2eaf5;
    font-weight: 700;
    font-family: var(--font-serif);
}
.studio-footer-sub {
    font-size: .82rem;
    color: var(--text-on-dark-soft);
    letter-spacing: .05em;
}
.studio-footer-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}
.footer-contact-item {
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    color: var(--text-on-dark-soft);
    justify-content: center;
    padding: 0 18px;
    position: relative;
    white-space: nowrap;
}
.footer-contact-item + .footer-contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 10px;
    width: 1px;
    background: rgba(255,255,255,.18);
}
.footer-contact-item a {
    color: var(--text-on-dark-soft);
    text-decoration: none;
    transition: color .2s;
}
.footer-contact-item a:hover { color: var(--gold-bright); }

.studio-footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
/* 备案信息（ICP / 公安）单独一行居中 */
.studio-footer-filing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    font-size: 11px;
    opacity: .7;
    letter-spacing: 0;
}
.studio-filing-item {
    white-space: nowrap;
}
/* 版权 + 后台链接一行 */
.studio-footer-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.studio-footer-copy {
    font-size: .75rem;
    opacity: .55;
}
.studio-footer-links {
    display: flex;
    gap: 16px;
}
.studio-footer-links a {
    font-size: .75rem;
    color: var(--text-on-dark-soft);
    transition: color .2s;
    opacity: .55;
}
.studio-footer-links a:hover { color: var(--gold-bright); opacity: 1; }

/* 页脚排版优化：联系方式行加图标、可换行；版权行居中 */
.studio-footer-contact { flex-wrap: wrap; row-gap: 10px; padding-bottom: 4px; }
.footer-contact-item { gap: 8px; line-height: 1.5; }
.footer-contact-item i { color: var(--gold-bright); font-size: 13px; }
.studio-footer-top { padding-bottom: 18px; }
.studio-footer-bottom { gap: 12px; }
.studio-footer-meta { justify-content: center; padding-top: 10px; }
.studio-footer-copy { font-size: .78rem; letter-spacing: .02em; opacity: .6; }
@media (max-width: 640px) {
    .studio-footer-meta {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .studio-footer-filing {
        font-size: .8rem;
        gap: 6px 18px;
    }
}

/* ============ 滚动渐入动画 ============ */
.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.in {
    opacity: 1;
    transform: none;
}
.js .reveal-delay-1 { transition-delay: .1s; }
.js .reveal-delay-2 { transition-delay: .2s; }
.js .reveal-delay-3 { transition-delay: .3s; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
    .intro-grid { grid-template-columns: 1fr; }
    .master-grid { grid-template-columns: 1fr; gap: 36px; }
    .master-portrait { max-width: 300px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .member-grid { grid-template-columns: repeat(2, 1fr); }
    .referee-grid { grid-template-columns: repeat(2, 1fr); }
    .achievements { grid-template-columns: repeat(2, 1fr); }
    .honor-list { grid-template-columns: 1fr; }
    .cta-grid { grid-template-columns: 1fr; }
    .studio-nav-links { display: none; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    .section { padding: 56px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .referee-grid { grid-template-columns: 1fr; }
    .intro-features { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; }
    .hero-stat .num { font-size: 1.8rem; }
    .studio-hero-content { padding: 70px 0 90px; }
    .drone-decoration { display: none; }
    .master-honors { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons a { justify-content: center; }
    .studio-footer-top { flex-direction: column; text-align: center; align-items: center; }
    .studio-footer-contact { text-align: center; }
    .footer-contact-item { justify-content: center; }
    .studio-footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}
