@charset "utf-8";
/* =========================================================
   飞迪曼心理 · 前台新版样式（保留原有橙 + 米色配色）
   ========================================================= */
:root {
	--accent: #f79017;
	--accent-2: #ff9f30;
	--accent-deep: #dd7a08;
	--accent-soft: #fff4e4;
	--sand: #edbc83;
	--sand-soft: #f8efe1;
	--bg: #ffffff;
	--bg-warm: #f8f5f0;
	--bg-soft: #fbf9f6;
	--ink: #2f2b27;
	--text: #4a4a4a;
	--muted: #8a8a8a;
	--line: #e9e4de;
	--line-strong: #ddd5cb;
	--radius-xs: 8px;
	--radius-sm: 12px;
	--radius: 18px;
	--radius-lg: 26px;
	--shadow-sm: 0 10px 30px -18px rgba(64, 44, 20, .22);
	--shadow: 0 30px 70px -40px rgba(64, 44, 20, .38);
	--font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
	--font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--header-h: 84px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.35; color: var(--ink); }
p { margin: 0; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto;
}

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--warm { background: var(--bg-warm); }
.section--soft { background: var(--bg-soft); }

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	white-space: nowrap;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 12px 26px -14px rgba(247, 144, 23, .85);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; }

.btn-ghost {
	border: 1px solid rgba(255, 255, 255, .45);
	color: #fff;
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-outline {
	border: 1px solid var(--accent);
	color: var(--accent-deep);
	background: transparent;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-light {
	background: #fff;
	color: var(--accent-deep);
}
.btn-light:hover { background: var(--ink); color: #fff; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-deep);
	font-size: 15px;
	font-weight: 600;
	transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 14px; color: var(--accent); }

/* ---------- 通用标题 ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--accent-deep);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--accent);
	opacity: .6;
}
.eyebrow--light { color: rgba(255, 255, 255, .86); }
.eyebrow--light::before { background: #fff; }

.section-title {
	font-family: var(--font-serif);
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .01em;
}
.section-title em { font-style: normal; color: var(--accent-deep); }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head p {
	max-width: 460px;
	margin-top: 12px;
	color: var(--muted);
	font-size: 15px;
}
.section-head__tool { display: flex; align-items: center; gap: 18px; flex: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	color: #fff;
	transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	height: var(--header-h);
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	color: var(--ink);
	box-shadow: 0 1px 0 var(--line), 0 16px 34px -30px rgba(64, 44, 20, .5);
}
.site-header.is-scrolled .brand img { filter: none; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
	height: 40px;
	width: auto;
	transition: filter .35s var(--ease), opacity .35s var(--ease);
	filter: brightness(0) invert(1);
}
.site-header.is-scrolled .brand img { filter: none; }

.main-nav {
	display: flex;
	align-items: center;
	gap: 34px;
	margin-left: auto;
}
.nav-head { display: none; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-link .caret { width: 10px; height: 10px; opacity: .55; transition: transform .3s var(--ease); }
.nav-link:hover,
.nav-link.is-active { color: var(--accent); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active { color: var(--accent-deep); }
.nav-item:hover .caret { transform: rotate(180deg); }

.nav-drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	min-width: 190px;
	padding: 8px 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-drop:empty { display: none; }
.nav-drop a {
	display: block;
	padding: 6px 20px;
	border-radius: 8px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	white-space: nowrap;
	transition: background .2s, color .2s;
}
.nav-drop a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-contact { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-cta {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 10px 22px -14px rgba(247, 144, 23, .9);
	transition: background .25s, transform .25s;
}
.header-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

.menu-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .32);
	transition: border-color .3s, background .3s;
}
.menu-toggle span {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.site-header.is-scrolled .menu-toggle { border-color: var(--line-strong); }
body.nav-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-mask {
	position: fixed;
	inset: 0;
	z-index: 900;
	background: rgba(28, 22, 16, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s var(--ease), visibility .35s;
}
body.nav-open .nav-mask { opacity: 1; visibility: visible; }

/* ---------- 首页主视觉 ---------- */
.hero {
	position: relative;
	min-height: clamp(580px, 86vh, 820px);
	overflow: hidden;
	background: #1d1710;
	color: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--ease), visibility 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	transform: scale(1.08);
	transition: transform 8s linear;
}
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(24, 18, 12, .9) 0%, rgba(24, 18, 12, .62) 46%, rgba(24, 18, 12, .2) 100%),
		linear-gradient(0deg, rgba(24, 18, 12, .55), rgba(24, 18, 12, 0) 45%);
}
.hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: clamp(580px, 86vh, 820px);
	padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero-content { max-width: 640px; }
.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
	color: rgba(255, 255, 255, .8);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero h1 {
	margin-bottom: 22px;
	color: #fff;
	font-family: var(--font-serif);
	font-size: clamp(34px, 4.6vw, 62px);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: .01em;
}
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero-desc {
	max-width: 520px;
	margin-bottom: 36px;
	color: rgba(255, 255, 255, .78);
	font-size: 17px;
	line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-foot {
	position: absolute;
	left: 0; right: 0;
	bottom: 34px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}
.hero-dots { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.hero-dot {
	position: relative;
	width: 42px;
	height: 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .28);
	overflow: hidden;
	transition: background .3s;
}
.hero-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
}
.hero-dot.is-active::after { animation: heroProgress 6.5s linear forwards; }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-count {
	display: none;
	color: rgba(255, 255, 255, .62);
	font-size: 12px;
	letter-spacing: .2em;
}
.hero-count b { color: #fff; font-weight: 600; }
.hero-scroll {
	position: absolute;
	right: 40px;
	bottom: 120px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, .6);
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}
.hero-scroll::after {
	content: "";
	width: 1px;
	height: 60px;
	background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
}

/* ---------- 数据条 ---------- */
.stats { position: relative; z-index: 4; margin-top: -62px; }
.stats-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.stat { padding: 30px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
	display: block;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: clamp(30px, 3.2vw, 42px);
	font-weight: 600;
	line-height: 1.1;
}
.stat strong em { font-style: normal; color: var(--accent); font-size: .5em; vertical-align: super; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- 关于 ---------- */
.about-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(30px, 6vw, 80px);
	align-items: center;
}
.about-text { margin: 24px 0 30px; color: var(--text); font-size: 17px; line-height: 2; }
.about-text p { margin-bottom: 14px; }
.about-media {
	position: relative;
	min-height: 360px;
	padding: 38px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .55), transparent 42%),
		linear-gradient(145deg, var(--sand) 0%, #f3d5ac 55%, var(--sand-soft) 100%);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.about-media::before {
	content: "";
	position: absolute;
	right: -70px;
	top: -70px;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 50%;
}
.about-media::after {
	content: "";
	position: absolute;
	right: -30px;
	top: -30px;
	width: 150px;
	height: 150px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
}
.about-quote {
	position: relative;
	z-index: 2;
	color: #4a3521;
	font-family: var(--font-serif);
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.5;
	white-space: nowrap;
}
.about-quote::before {
	content: "“";
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, .85);
	font-size: 54px;
	line-height: 1;
}
.about-tags {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: auto 0;
}
.about-tags span {
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .55);
	color: #5a4126;
	font-size: 14px;
	white-space: nowrap;
}
.about-since {
	position: relative;
	z-index: 2;
	align-self: flex-end;
	color: rgba(74, 53, 33, .72);
	font-size: 12px;
	letter-spacing: .16em;
}

/* ---------- 理念 ---------- */
.value-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.value-card {
	position: relative;
	padding: 34px 28px 30px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: #f3d7b0; }
.value-num {
	position: absolute;
	right: 18px;
	top: 10px;
	color: #f4ece2;
	font-family: var(--font-serif);
	font-size: 54px;
	font-weight: 600;
	line-height: 1;
}
.value-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent-deep);
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { position: relative; margin-bottom: 10px; font-size: 19px; }
.value-card p { position: relative; color: var(--muted); font-size: 15px; line-height: 1.8; min-height: 54px; }

/* ---------- 师资（小图紧凑卡片） ---------- */
.teacher-scroller {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 60px) / 4);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 8px;
}
.teacher-scroller::-webkit-scrollbar { display: none; }
.teacher-card {
	scroll-snap-align: start;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #f3d7b0; }
.teacher-photo {
	position: relative;
	width: 72px;
	height: 88px;
	flex: none;
	border-radius: 10px;
	overflow: hidden;
	background: var(--sand-soft);
}
.teacher-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.teacher-card:hover .teacher-photo img { transform: scale(1.03); }
.teacher-info { min-width: 0; }
.teacher-info h3 {
	font-size: 16px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.teacher-info span {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.5;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.teacher-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.scroll-btns { display: flex; gap: 8px; }
.scroll-btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	transition: background .25s, color .25s, border-color .25s;
}
.scroll-btn svg { width: 16px; height: 16px; }
.scroll-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 课程 ---------- */
.course-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.course-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: #f3d7b0; }
.course-card--feature { grid-column: span 2; }
.course-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-soft); }
.course-card--feature .course-media { aspect-ratio: 16 / 8.4; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.05); }
.media-empty {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .8), transparent 40%),
		linear-gradient(135deg, #f8efe1, #fff4e4);
}
.media-empty::after {
	content: "FATEMAN";
	color: var(--sand);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .32em;
	padding-left: .32em;
}
.course-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.course-body h3 { font-size: 19px; line-height: 1.5; }
.course-card--feature .course-body h3 { font-size: 23px; }
.course-body p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.course-card--feature .course-body p { -webkit-line-clamp: 3; }
.course-more {
	margin-top: auto;
	padding-top: 18px;
	color: var(--accent-deep);
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.course-more svg { width: 16px; height: 16px; }
.course-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
}
.course-foot .course-more { margin-top: 0; padding-top: 0; }
.course-tag {
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- 文字课程卡片 ---------- */
.course-grid--text { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: clamp(24px, 2.6vw, 34px);
	border: 1px solid #f1e2ce;
	border-radius: var(--radius);
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .7), transparent 42%),
		linear-gradient(135deg, #fdf6ec 0%, #f8e9d4 100%);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.course-tile::after {
	content: "";
	position: absolute;
	right: -54px;
	bottom: -70px;
	width: 200px;
	height: 200px;
	border: 1px solid rgba(237, 188, 131, .6);
	border-radius: 50%;
	pointer-events: none;
}
.course-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.course-tile__tag {
	align-self: flex-start;
	padding: 5px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .85);
	color: var(--accent-deep);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
}
.course-tile h3 {
	margin-top: 18px;
	font-family: var(--font-serif);
	font-size: clamp(19px, 2vw, 24px);
	font-weight: 600;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.course-tile p {
	margin-top: 12px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.course-tile__foot {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 24px;
}
.course-tile__date { color: var(--accent-deep); font-size: 13px; letter-spacing: .04em; }
.course-tile .course-more { margin-top: 0; padding-top: 0; }

/* ---------- 曼课堂文字列表 ---------- */
.mkt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mkt-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.mkt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #f3d7b0; }
.mkt-card h3 { font-size: 18px; line-height: 1.55; }
.mkt-card p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- 资讯 ---------- */
.news-rows { border-top: 1px solid var(--line); }
.news-row a {
	display: grid;
	grid-template-columns: 96px 1fr 40px;
	align-items: center;
	gap: clamp(18px, 2.6vw, 34px);
	padding: clamp(20px, 2.4vw, 28px) 4px;
	border-bottom: 1px solid var(--line);
	transition: padding .3s var(--ease);
}
.news-row__date {
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-family: var(--font-serif);
	line-height: 1;
	text-align: center;
}
.news-row__date b {
	font-size: clamp(30px, 3vw, 40px);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: .01em;
}
.news-row__date i { font-style: normal; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.news-row__body { min-width: 0; }
.news-row__body h3 {
	font-size: clamp(16px, 1.4vw, 18px);
	font-weight: 600;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .25s;
}
.news-row__body p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-row__arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--accent);
	transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.news-row__arrow svg { width: 16px; height: 16px; }
.news-row a:hover { padding-left: 12px; }
.news-row a:hover h3 { color: var(--accent-deep); }
.news-row a:hover .news-row__arrow {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	transform: translateX(3px);
}

/* ---------- CTA ---------- */
.cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, var(--accent) 0%, #fba63f 100%);
	color: #fff;
}
.cta::before,
.cta::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	pointer-events: none;
}
.cta::before { width: 420px; height: 420px; right: -140px; top: -160px; }
.cta::after { width: 260px; height: 260px; right: -40px; top: -90px; }
.cta-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: clamp(52px, 6vw, 84px) 0;
}
.cta h2 {
	color: #fff;
	font-family: var(--font-serif);
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.35;
	font-weight: 600;
}
.cta p { max-width: 520px; margin-top: 14px; color: rgba(255, 255, 255, .86); font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-warm); border-top: 1px solid var(--line); }
.footer-main {
	display: grid;
	grid-template-columns: 1.4fr .8fr 1.1fr;
	gap: clamp(30px, 5vw, 70px);
	padding: clamp(48px, 6vw, 76px) 0 44px;
}
.footer-wordmark {
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: .04em;
}
.footer-wordmark span { color: var(--accent); }
.footer-en { margin-top: 8px; color: var(--muted); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.footer-desc { max-width: 340px; margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.footer-logo { height: 34px; width: auto; }
.footer-col h4 { margin-bottom: 18px; font-size: 15px; color: var(--ink); }
.footer-col a,
.footer-col p { display: block; margin-bottom: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; transition: color .2s; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a { margin-bottom: 0; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.social-item {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: transform .3s var(--ease);
}
.social-item:hover,
.social-item:focus-within { transform: translateY(-3px); }
.social-item > img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; }
.social-qr {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 12px);
	z-index: 20;
	width: 148px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	pointer-events: none;
}
.social-item:hover .social-qr,
.social-item:focus-within .social-qr,
.social-item.is-open .social-qr { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.social-qr img { display: block; width: 100%; border-radius: 6px; }
.social-qr span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; text-align: center; }
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-deep); }
.footer-disclaimer,
.site-footer .footer-nav a[data-disclaimer] { display: none; }
body.is-home .site-footer .footer-nav a[data-disclaimer] { display: block; }
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding: 0 0 26px;
	color: var(--muted);
	font-size: 13px;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent-deep); }

/* ---------- 内页头图 ---------- */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + 66px) 0 64px;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 18%, rgba(237, 188, 131, .55), transparent 44%),
		linear-gradient(135deg, #fdf9f3 0%, #f8efe1 58%, #f6e7d2 100%);
}
.page-hero::before,
.page-hero::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(237, 188, 131, .55);
	border-radius: 50%;
}
.page-hero::before { width: 360px; height: 360px; right: -110px; top: 30px; }
.page-hero::after { width: 220px; height: 220px; right: 20px; top: 120px; border-color: rgba(237, 188, 131, .35); }
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb { margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--muted); margin: 0 7px; }
.breadcrumb a:first-child { margin-left: 0; }
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb span { margin: 0 8px; color: var(--line-strong); }
.page-hero h1 {
	font-family: var(--font-serif);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 600;
	line-height: 1.25;
}
.page-hero-sub { margin-top: 14px; color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.page-hero-sub:empty { display: none; }

/* ---------- 栏目子导航（通屏白底） ---------- */
.subnav-wrap {
	position: relative;
	z-index: 5;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 16px 34px -36px rgba(64, 44, 20, .45);
}
.subnav {
	display: flex;
	align-items: center;
	gap: 34px;
	height: 58px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav-link {
	position: relative;
	flex: none;
	display: inline-flex;
	align-items: center;
	height: 58px;
	padding: 0;
	border-radius: 0;
	color: var(--text);
	font-size: 14px;
	white-space: nowrap;
	transition: color .25s;
}
.subnav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transition: transform .3s var(--ease);
}
.subnav-link:hover { background: none; color: var(--accent-deep); }
.subnav-link.is-active { background: none; color: var(--accent-deep); font-weight: 600; }
.subnav-link.is-active::after { transform: scaleX(1); }
.main-nav .nav-drop a[href$="/about/mzsm/"],
.main-nav .nav-drop a[href$="/about/mzsm"],
.subnav a[href$="/about/mzsm/"],
.subnav a[href$="/about/mzsm"] { display: none !important; }
.disclaimer-modal { width: min(680px, calc(100% - 40px)); }

/* ---------- 列表通用 ---------- */
.page-body { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 100px); }
.list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.list-grid--team { grid-template-columns: repeat(4, 1fr); }

.article-list { border-top: 1px solid var(--line); }
.article-row a {
	display: grid;
	grid-template-columns: 96px 1fr 32px;
	align-items: center;
	gap: 30px;
	padding: 28px 4px;
	border-bottom: 1px solid var(--line);
	transition: padding .3s var(--ease), background .3s;
}
.article-row a:hover { padding-left: 14px; }
.entry-date { display: flex; flex-direction: column; color: var(--muted); text-align: center; }
.entry-date .d {
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
}
.entry-date .ym { margin-top: 8px; font-size: 12px; letter-spacing: .1em; }
.article-row h3 { font-size: 19px; font-weight: 500; line-height: 1.5; transition: color .25s; }
.article-row a:hover h3 { color: var(--accent-deep); }
.article-row p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.article-row__arrow {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
	transition: background .25s, color .25s, border-color .25s;
}
.article-row a:hover .article-row__arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
.article-row__arrow svg { width: 14px; height: 14px; }

/* ---------- 分页 ---------- */
.pagination:empty { display: none; }
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 44px;
}
.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	font-size: 14px;
	background: #fff;
	transition: background .25s, color .25s, border-color .25s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent-deep); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 详情 ---------- */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article-wrap .prose { padding-top: clamp(28px, 3.2vw, 42px); padding-bottom: clamp(10px, 1.4vw, 18px); }
.article-head { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.article-head h1 {
	font-family: var(--font-serif);
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.45;
	font-weight: 600;
}
.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 13px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; color: var(--accent); }
.article-sub { margin-top: 12px; color: var(--muted); font-size: 15px; letter-spacing: .04em; }

.prose {
	color: var(--text);
	font-size: 17px;
	line-height: 2;
	overflow-wrap: break-word;
}
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2,
.prose h3,
.prose h4 { margin: 1.8em 0 .7em; color: var(--ink); line-height: 1.5; }
.prose h2 { font-size: 24px; }
.prose h3 { font-size: 20px; }
.prose h4 { font-size: 18px; }
.prose img { max-width: 100%; height: auto !important; margin: 1.2em auto; border-radius: var(--radius-sm); }
.prose a { color: var(--accent-deep); border-bottom: 1px solid rgba(247, 144, 23, .35); }
.prose a:hover { border-color: var(--accent); }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
	margin: 1.4em 0;
	padding: 18px 22px;
	border-left: 3px solid var(--sand);
	background: var(--sand-soft);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: #6b5842;
}
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose td,
.prose th { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; word-break: break-word; }
.table-wrap { width: 100%; max-width: 100%; margin: 1.4em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap > table { min-width: 100%; margin: 0; }
.table-wrap > table td,
.table-wrap > table th { white-space: normal; }
.rich-content { overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
.rich-content img { max-width: 100%; height: auto !important; }
.rich-content section { max-width: 100%; }
.contact-layout > *,
.profile-layout > *,
.about-grid > *,
.course-grid > *,
.list-grid > * { min-width: 0; }
.prose center { display: block; text-align: center; }
.prose strong { color: var(--ink); }

.article-foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 48px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}
.article-foot__item {
	display: block;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
	font-size: 14px;
	line-height: 1.7;
	transition: border-color .25s, background .25s;
}
.article-foot__item:hover { border-color: #f3d7b0; background: var(--accent-soft); }
.article-foot__item > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.article-foot__item a { color: var(--text); }
.article-foot__item a:hover { color: var(--accent-deep); }

/* 师资详情 */
.profile-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: clamp(30px, 5vw, 64px);
	align-items: start;
}
.profile-layout .prose > div:first-child img { width: auto; max-width: 260px; margin-left: auto; margin-right: auto; }
.profile-layout .article-head { padding-top: 8px; padding-bottom: 32px; margin-bottom: 32px; }
.profile-head { display: flex; align-items: center; gap: 24px; }
.profile-avatar {
	width: 132px;
	height: 158px;
	flex: none;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--sand-soft);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 600px) {
	.profile-head { gap: 16px; }
	.profile-avatar { width: 88px; height: 108px; }
}
.profile-side { position: sticky; top: 110px; }
.booking-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-warm);
}
.booking-card h3 { font-size: 19px; }
.booking-card p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.booking-card .btn { width: 100%; margin-top: 18px; }
.booking-phone {
	display: block;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	text-align: center;
}
.booking-phone span { display: block; color: var(--muted); font-size: 12px; }
.booking-phone strong { color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: .02em; }

/* ---------- 招聘 ---------- */
.job-list { display: grid; gap: 16px; }
.job-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.job-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 24px 28px;
	text-align: left;
	transition: background .25s;
}
.job-head:hover { background: var(--bg-soft); }
.job-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.job-title h3 { font-size: 19px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags span {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--bg-warm);
	color: var(--muted);
	font-size: 12px;
}
.job-plus {
	position: relative;
	width: 34px;
	height: 34px;
	flex: none;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: background .25s, border-color .25s, transform .3s;
}
.job-plus::before,
.job-plus::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	background: var(--accent-deep);
	transform: translate(-50%, -50%);
	transition: background .25s;
}
.job-plus::before { width: 12px; height: 2px; }
.job-plus::after { width: 2px; height: 12px; }
.job-card.is-open .job-plus { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.job-card.is-open .job-plus::before,
.job-card.is-open .job-plus::after { background: #fff; }
.job-body { display: none; padding: 0 28px 30px; border-top: 1px solid var(--line); }
.job-card.is-open .job-body { display: block; }
.job-body .text { margin-top: 24px; }
.job-body h4 { margin-bottom: 10px; color: var(--accent-deep); font-size: 15px; }
.job-body p { color: var(--text); font-size: 15px; line-height: 1.9; }

/* ---------- 联系 ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
}
.contact-side { position: sticky; top: 110px; }
.contact-card {
	padding: 30px;
	border-radius: var(--radius);
	background: var(--bg-warm);
	border: 1px solid var(--line);
}
.contact-card h3 { font-size: 20px; }
.contact-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-card .btn { width: 100%; margin-top: 20px; }
.contact-list { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.contact-list div { margin-bottom: 14px; }
.contact-list span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.contact-list strong { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.7; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--accent-deep); }

.consult-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 44px;
	padding: 34px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-warm);
}
.consult-cta h2 { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 30px); }
.consult-cta p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- 目录页 ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dir-intro { margin-bottom: 28px; color: var(--muted); font-size: 15px; }
.dir-links:empty { display: none; }
.dir-card {
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.dir-card h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 20px;
}
.dir-card h2 a:hover { color: var(--accent-deep); }
.dir-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dir-links a {
	padding: 7px 15px;
	border-radius: 999px;
	background: var(--bg-warm);
	color: var(--text);
	font-size: 14px;
	transition: background .25s, color .25s;
}
.dir-links a:hover { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------- 友情链接 ---------- */
.friendLink { background: var(--bg-warm); border-top: 1px solid var(--line); }
.friendLink .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	padding: 18px 0;
	color: var(--muted);
	font-size: 13px;
}
.friendLink a { color: var(--muted); transition: color .2s; }
.friendLink a:hover { color: var(--accent-deep); }

/* ---------- 悬浮操作 ---------- */
.float-actions {
	position: fixed;
	right: 26px;
	bottom: 40px;
	z-index: 800;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.float-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--accent-deep);
	box-shadow: var(--shadow-sm);
	transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.float-btn svg { width: 20px; height: 20px; }
.float-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.float-btn__tip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--ink);
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, transform .25s;
}
.float-btn:hover .float-btn__tip { opacity: 1; visibility: visible; transform: translateY(-50%); }
.float-qr__pop {
	position: absolute;
	right: calc(100% + 12px);
	bottom: 0;
	width: 168px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .25s, transform .25s, visibility .25s;
	pointer-events: none;
}
.float-qr:hover .float-qr__pop { opacity: 1; visibility: visible; transform: none; }
.float-qr__pop img { width: 100%; border-radius: 8px; }
.float-qr__pop span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; text-align: center; }

.mobile-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 850;
	display: none;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 58px;
	color: var(--text);
	font-size: 12px;
}
.mobile-bar svg { width: 21px; height: 21px; color: var(--accent-deep); }
.mobile-bar a:hover,
.mobile-bar a.is-active { color: var(--accent-deep); }

/* ---------- 表单 / 弹窗 ---------- */
.field { margin-bottom: 16px; }
.field input,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
	font-size: 15px;
	transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 110px; padding: 12px 16px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #b3aca2; }
.field input:focus,
.field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(247, 144, 23, .14); outline: none; }

.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 1100;
	background: rgba(28, 22, 16, .62);
	display: none;
	backdrop-filter: blur(2px);
}
.custom-modal {
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 1101;
	display: none;
	flex-direction: column;
	width: min(520px, calc(100% - 40px));
	max-height: 88vh;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 40px 90px -40px rgba(28, 22, 16, .6);
	overflow: hidden;
}
.custom-modal.is-open { display: flex; }
.modal-header {
	position: relative;
	padding: 24px 26px;
	border-bottom: 1px solid var(--line);
	background: var(--bg-warm);
}
.modal-title { font-size: 19px; }
.close-button {
	position: absolute;
	right: 16px;
	top: 16px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.close-button:hover { background: #fff; color: var(--ink); }
.modal-body { flex: 1; padding: 26px; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.custom-modal-btn { min-height: 46px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.cancel-btn { background: var(--bg-warm); color: var(--muted); }
.cancel-btn:hover { background: var(--line); }
.submit-btn { background: var(--accent); color: #fff; }
.submit-btn:hover { background: var(--accent-deep); }
.form-group { margin-bottom: 14px; }
.form-group input {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	font-size: 15px;
}
.form-group input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(247, 144, 23, .14); }
.form-group img { height: 40px !important; border-radius: 6px; vertical-align: middle; }

/* syalert 预约弹窗统一风格 */
.sy-alert {
	background: #fff !important;
	border-radius: var(--radius) !important;
	overflow: hidden;
	box-shadow: 0 40px 90px -40px rgba(28, 22, 16, .6);
}
.sy-alert .sy-title {
	height: auto !important;
	padding: 22px 24px !important;
	background: var(--bg-warm);
	color: var(--ink) !important;
	font-size: 18px !important;
	font-weight: 600;
	line-height: 1.4 !important;
	border-bottom: 1px solid var(--line) !important;
}
.sy-alert .sy-content { padding: 24px !important; color: var(--text) !important; }
.sy-alert.sy-alert-model .sy-content .form .input-item { margin-bottom: 14px !important; }
.sy-alert.sy-alert-model .sy-content .form .input-item input {
	min-height: 46px;
	border: 1px solid var(--line-strong) !important;
	border-radius: var(--radius-sm);
	font-size: 15px;
}
.sy-alert .sy-btn { border-top: 1px solid var(--line) !important; }
.sy-alert .sy-btn button {
	height: 50px;
	color: var(--muted) !important;
	font-size: 15px !important;
	font-weight: 600;
}
.sy-alert .sy-btn button[type="submit"] { background: var(--accent-soft); color: var(--accent-deep) !important; }
.sy-alert .sy-btn button:nth-child(1) { border-right: 1px solid var(--line) !important; }

/* ---------- 动画 ---------- */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes heroIn {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: none; }
}
@keyframes floatRing {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(-10px, 12px, 0) scale(1.04); }
}
.hero-slide.is-active .hero-kicker,
.hero-slide.is-active h1,
.hero-slide.is-active .hero-desc,
.hero-slide.is-active .hero-actions { animation: heroIn .9s var(--ease) both; }
.hero-slide.is-active h1 { animation-delay: .12s; }
.hero-slide.is-active .hero-desc { animation-delay: .22s; }
.hero-slide.is-active .hero-actions { animation-delay: .32s; }
.about-media::before { animation: floatRing 10s ease-in-out infinite; }
.about-media::after { animation: floatRing 8s ease-in-out infinite reverse; }
.page-hero::before { animation: floatRing 14s ease-in-out infinite; }
.page-hero::after { animation: floatRing 11s ease-in-out infinite reverse; }
.cta::before { animation: floatRing 12s ease-in-out infinite; }
.cta::after { animation: floatRing 9s ease-in-out infinite reverse; }
.value-icon { transition: transform .35s var(--ease); }
.value-card:hover .value-icon { transform: rotate(-6deg) scale(1.06); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- 响应式 ---------- */
@media (min-width: 901px) and (max-width: 1200px) {
	.about-tags { gap: 8px; }
	.about-tags span { padding: 6px 11px; font-size: 12px; }
}

@media (max-width: 1100px) {
	:root { --header-h: 76px; }
	.nav-links { gap: 0; }
	.nav-link { padding: 10px 11px; font-size: 14px; }
	.header-cta { display: none; }
	.teacher-scroller { grid-auto-columns: calc((100% - 40px) / 3); }
	.teacher-grid { grid-template-columns: repeat(3, 1fr); }
	.profile-layout { grid-template-columns: 1fr 280px; }
}

@media (max-width: 900px) {
	.menu-toggle { display: block; }
	.main-nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 950;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: min(340px, 82vw);
		height: 100%;
		margin: 0;
		padding: 0 24px 40px;
		background: #fff;
		box-shadow: -30px 0 60px -40px rgba(28, 22, 16, .5);
		overflow-y: auto;
		transform: translateX(102%);
		transition: transform .4s var(--ease);
	}
	body.nav-open .main-nav { transform: none; }
	.nav-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: none;
		height: 64px;
		margin-bottom: 6px;
		border-bottom: 1px solid var(--line);
	}
	.nav-head img { height: 32px; width: auto; }
	.nav-close {
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		border: 1px solid var(--line);
		border-radius: 50%;
		color: var(--muted);
		font-size: 20px;
		line-height: 1;
		transition: background .2s, color .2s;
	}
	.nav-close:hover { background: var(--bg-warm); color: var(--ink); }
	.nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav-link {
		position: relative;
		display: flex;
		width: 100%;
		justify-content: center;
		padding: 15px 4px;
		border-radius: 0;
		border-bottom: 1px solid var(--line);
		color: var(--ink);
		font-size: 16px;
	}
	.nav-link.is-active { background: none; color: var(--accent-deep); }
	.main-nav .nav-link .caret { position: absolute; top: calc(50% - 5px); right: 6px; }
	.main-nav .nav-drop {
		position: static;
		min-width: 0;
		padding: 0 0 6px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}
	.main-nav .nav-item.is-open > .nav-drop {
		display: block;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
	.main-nav .nav-item.is-open .caret { transform: rotate(180deg); }
	.main-nav .nav-drop a {
		display: block;
		padding: 8px 6px;
		font-size: 14px;
		line-height: 1.5;
		color: var(--text);
		border-radius: 0;
		text-align: center;
	}
	.nav-contact {
		display: grid;
		gap: 12px;
		margin-top: 26px;
	}
	.nav-contact .nav-phone { color: var(--ink); font-size: 17px; font-weight: 600; text-align: center; }
	.nav-contact .btn { width: 100%; }
	.header-actions { margin-left: auto; }
	.site-header,
	.site-header.is-scrolled { background: transparent; box-shadow: none; backdrop-filter: none; }
	.site-header.is-scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
	body.nav-open .site-header { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transition: none !important; }
	body.nav-open .site-header .brand,
	body.nav-open .site-header .header-actions { opacity: 0; visibility: hidden; pointer-events: none; }
	body.nav-open .site-header .brand img { filter: none; }
	body.nav-open .menu-toggle { border-color: var(--line-strong); }

	.hero,
	.hero-inner { min-height: 74vh; }
	.hero-inner { padding-bottom: 100px; }
	.hero-desc { font-size: 16px; }
	.hero-foot { bottom: 26px; }
	.hero-scroll { display: none; }

	.stats { margin-top: 0; margin-bottom: 14px; }
	.stats-inner { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); }
	.stat { padding: 22px 16px; }
	.stat + .stat { border-left: 0; }
	.stat:nth-child(even) { border-left: 1px solid var(--line); }
	.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.stat strong { font-size: 30px; }
	.stat > span { font-size: 13px; }

	.about-grid { grid-template-columns: 1fr; }
	.about-media { min-height: 300px; }

	.value-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.value-card { padding: 24px 20px; }
	.value-num { font-size: 42px; }
	.value-card p { min-height: 0; font-size: 14px; }

	.section-head { flex-direction: column; align-items: stretch; gap: 16px; }
	.section-head > div { width: 100%; }
	.section-head > .link-arrow { align-self: flex-end; }
	.section-head__tool { width: 100%; justify-content: flex-end; }
	.scroll-btns { display: none; }
	.team { padding-top: 64px; padding-bottom: 64px; }
	.mkt-grid { grid-template-columns: 1fr; gap: 12px; }
	.mkt-card { padding: 20px; }
	.teacher-scroller { grid-auto-columns: calc((100% - 20px) / 2); }
	.teacher-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

	.list-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.course-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.course-grid--text { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.course-tile { min-height: 230px; padding: 22px; }
	.course-card--feature { grid-column: span 2; }
	.course-card--feature .course-media { aspect-ratio: 16 / 9; }
	.course-body { padding: 18px; }
	.course-body h3 { font-size: 16px; }

	.news-row a { grid-template-columns: 84px 1fr 34px; gap: 16px; }
	.news-row__arrow { width: 34px; height: 34px; }
	.news-row__body p { -webkit-line-clamp: 2; }

	.cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }

	.footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
	.footer-main > :first-child { grid-column: span 2; }
	.footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

	.float-actions { display: none; }
	.mobile-bar { display: flex; }
	body { padding-bottom: 58px; }

	.profile-layout { grid-template-columns: 1fr; }
	.profile-side { position: static; }
	.contact-layout { grid-template-columns: 1fr; }
	.contact-side { position: static; }
	.dir-grid { grid-template-columns: 1fr; }
	.article-foot { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.container { width: calc(100% - 32px); }
	.section { padding: 52px 0; }
	.brand img { height: 34px; }
	.site-header .header-inner { height: 64px; }
	:root { --header-h: 64px; }

	.hero,
	.hero-inner { min-height: 60vh; }
	.hero-inner { align-items: flex-end; padding-bottom: 86px; }
	.hero h1 { font-size: 30px; }
	.hero-desc { font-size: 15px; line-height: 1.85; }
	.hero-actions { width: 100%; gap: 10px; }
	.hero-actions .btn { flex: 1; padding: 0 14px; font-size: 14px; }
	.hero-foot { bottom: 22px; }
	.hero-dot { width: 30px; }

	.stats { margin-top: 18px; margin-bottom: 10px; }
	.stat { padding: 18px 12px; }
	.stat strong { font-size: 26px; }
	.stat > span { font-size: 12px; }

	.section-title { font-size: 27px; }
	.team { padding-top: 64px; padding-bottom: 64px; }
	.about-media { min-height: 260px; padding: 26px; }
	.about-quote { font-size: 20px; white-space: nowrap; }
	.about-tags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
	.about-tags span { text-align: center; padding: 6px 10px; font-size: 12px; }

	.value-card { padding: 20px 16px; }
	.value-icon { width: 46px; height: 46px; margin-bottom: 14px; }
	.value-card h3 { font-size: 16px; }

	.teacher-scroller { grid-auto-columns: 76%; }
	.teacher-photo { width: 60px; height: 74px; }
	.teacher-info h3 { font-size: 15px; }
	.teacher-grid { grid-template-columns: 1fr; }

	.course-grid--text { grid-template-columns: 1fr; gap: 14px; }
	.course-tile { min-height: 0; padding: 22px; }
	.course-tile h3 { font-size: 19px; }
	.course-body { padding: 14px; }
	.course-body h3 { font-size: 15px; }
	.course-body p { font-size: 13px; }
	.course-card--feature .course-body h3 { font-size: 18px; }

	.news-row a { grid-template-columns: 60px 1fr 30px; gap: 12px; padding: 18px 2px; }
	.news-row__date b { font-size: 27px; }
	.news-row__date i { font-size: 11px; }
	.news-row__body h3 { font-size: 15px; }
	.news-row__body p { font-size: 13px; }
	.news-row__arrow { width: 30px; height: 30px; }
	.news-row__arrow svg { width: 14px; height: 14px; }

	.page-hero { padding: calc(var(--header-h) + 44px) 0 52px; }
	.page-hero h1 { font-size: 30px; }
	.subnav { height: 52px; gap: 26px; }
	.subnav-link { height: 52px; font-size: 14px; }

	.article-row a { grid-template-columns: 60px 1fr; gap: 16px; padding: 22px 2px; }
	.article-row__arrow { display: none; }
	.entry-date .d { font-size: 26px; }
	.article-row h3 { font-size: 16px; }
	.article-row p { font-size: 13px; -webkit-line-clamp: 2; }

	.prose { font-size: 16px; line-height: 1.95; }
	.prose h2 { font-size: 21px; }
	.prose h3 { font-size: 18px; }

	.job-head { padding: 20px; }
	.job-title h3 { font-size: 17px; }
	.job-body { padding: 0 20px 24px; }

	.contact-card { padding: 24px; }

	.footer-main { padding: 44px 0 32px; gap: 28px; }
	.footer-wordmark { font-size: 26px; }
	.footer-social { gap: 10px; justify-content: center; }
	.social-item { width: 40px; height: 40px; }
	.social-item > img { width: 36px; height: 36px; }
	.social-qr { width: 132px; }
	.footer-links { display: none; }
	.footer-col--nav { display: none; }
	.footer-col--contact { grid-column: span 2; }
	body.is-home .footer-disclaimer { display: inline; }

	.pagination a,
	.pagination span { min-width: 38px; height: 38px; padding: 0 12px; font-size: 13px; }
}

@media (max-width: 600px) and (max-height: 700px) {
	.hero-foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}
