@charset "UTF-8";
/*!
 * Mooto · base.css
 * 设计变量 / 重置 / 排版 / 通用工具类 / 媒体容器 / 入场动画
 * 全站只加载一次（原站把它内联进了每一个页面，且首页重复 2 遍）
 */

/* ============================================================
   1. 设计变量
   ============================================================ */
:root {
	--bg: #ffffff;
	--fg: #0a0a0a;
	--brand: #0a0a0a;
	--paper: #faf9f7;          /* 交替区块的米白底 */
	--photo: #f2f0ec;          /* 图片占位底色 */

	--muted: rgba(10, 10, 10, .42);
	--soft: rgba(10, 10, 10, .6);
	--line: rgba(10, 10, 10, .08);
	--line-strong: rgba(10, 10, 10, .22);

	--nav-h: 118px;
	--tabbar-h: 62px;

	--pad: clamp(22px, 4.5vw, 72px);
	--radius-scale: 1;
	--radius-sm: calc(clamp(10px, 1.2vw, 16px) * var(--radius-scale));
	--radius-md: calc(clamp(16px, 2vw, 28px) * var(--radius-scale));
	--radius-lg: calc(clamp(22px, 2.8vw, 42px) * var(--radius-scale));

	--sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	--serif: "Songti SC", "STSong", "Noto Serif SC", "Playfair Display", Georgia, serif;

	--ease-soft: cubic-bezier(.22, .7, .2, 1);
	--section-y: clamp(80px, 12vh, 180px);
}

/* ============================================================
   2. 重置
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
	overflow-x: hidden;
	position: relative;
	font-family: var(--sans);
	background: var(--bg);
	color: var(--fg);
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a {
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

a:focus,
a:focus-visible,
a:active { outline: none; }

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	touch-action: manipulation;
}

input,
select,
textarea { font: inherit; color: inherit; background: none; border: 0; outline: none; }

ul,
ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

:where(.mooto-body :focus-visible) { outline: 2px solid rgba(10, 10, 10, .5); outline-offset: 3px; }

/* 屏幕阅读器专用文本（原站缺失，这里补上无障碍基础） */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px; left: 12px;
	z-index: 100000;
	padding: 12px 22px;
	background: #0a0a0a;
	color: #fff;
	font-size: 12px;
	letter-spacing: .12em;
	border-radius: 0 0 8px 8px;
	transition: top .25s ease;
}
.skip-link:focus { top: 0; }

/* 图片默认行为：容器负责裁切，img 铺满 */
.mooto-body img { object-fit: cover; }

/* ============================================================
   3. 排版工具类
   ============================================================ */
.kicker {
	font-size: 11px;
	letter-spacing: .5em;
	margin-right: -.5em;
	text-transform: uppercase;
	color: var(--muted);
}

.section { padding: var(--section-y) var(--pad); }

.section--paper { background: var(--paper); }

.section__head { text-align: center; margin-bottom: clamp(70px, 11vh, 140px); }

.section__title {
	font-family: var(--serif);
	font-size: clamp(24px, 3vw, 42px);
	font-weight: 400;
	letter-spacing: .22em;
	margin-right: -.22em;
	margin-top: 32px;
}

.section__lead {
	font-size: 13.5px;
	line-height: 2.2;
	letter-spacing: .08em;
	color: var(--soft);
	max-width: 620px;
	margin: clamp(28px, 4vh, 44px) auto 0;
	text-align: left;
}

/* ============================================================
   4. 媒体容器（.media）
   原站的视差、圆角、裁切都靠它，统一保留
   ============================================================ */
.media,
.mooto-media {
	position: relative;
	overflow: hidden;
	background: var(--photo);
	border-radius: var(--radius-md);
	isolation: isolate;
	transform: translateZ(0);
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.media > img,
.mooto-media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	will-change: transform;
}

/* ============================================================
   5. 入场动画（原站 .reveal）
   支持 animation-timeline: view() 的浏览器走原生滚动时间轴，
   不支持的用 CSS 动画兜底；尊重 prefers-reduced-motion
   ============================================================ */
.reveal { animation: reveal-up .9s var(--ease-soft) both; }
.reveal.d1 { animation-delay: .1s; }
.reveal.d2 { animation-delay: .2s; }
.reveal.d3 { animation-delay: .3s; }

@keyframes reveal-up {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
	.reveal {
		animation-name: reveal-up;
		animation-duration: 1ms;
		animation-timing-function: linear;
		animation-fill-mode: both;
		animation-timeline: view();
		animation-range: entry 5% entry 35%;
	}
	.reveal.d1,
	.reveal.d2,
	.reveal.d3 { animation-delay: 0s; }
}

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

/* ============================================================
   6. 色卡 / 调色盘（案例圆形色块）
   ============================================================ */
.palette {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.palette i {
	display: block;
	width: clamp(20px, 1.8vw, 26px);
	height: clamp(20px, 1.8vw, 26px);
	border-radius: 50%;
	border: 1px solid rgba(10, 10, 10, .08);
	transition: transform .4s var(--ease-soft);
}

.palette em {
	font-style: normal;
	font-size: 10px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--muted);
	margin-left: 8px;
}

/* 深色背景上的色卡（精选案例覆盖层） */
.works-feature__palette i,
.palette--on-dark i { border-color: rgba(255, 255, 255, .28); }

.works-feature__palette em,
.palette--on-dark em { color: rgba(255, 255, 255, .6); }

a:hover .palette i { transform: scale(1.08); }

/* ============================================================
   7. 按钮
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 56px;
	padding: 0 clamp(36px, 5vw, 64px);
	border-radius: 100px;
	border: 1px solid var(--fg);
	background: var(--fg);
	color: #fff;
	font-size: 11px;
	letter-spacing: .32em;
	text-transform: uppercase;
	transition: background .35s ease, color .35s ease, transform .3s ease, border-color .35s ease;
}

.btn:hover { background: #1a1a1a; transform: translateY(-2px); }

.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--fg); color: #fff; }

/* ============================================================
   8. 表单基础（联系页预约以外的通用样式）
   ============================================================ */
.field { display: flex; flex-direction: column; }

.field__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	letter-spacing: .12em;
	line-height: 1.6;
	margin-bottom: 14px;
}

.field__req { color: var(--fg); }

.field__hint { font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }

.input,
.select,
.textarea {
	width: 100%;
	padding: 14px 0;
	border-bottom: 1px solid rgba(10, 10, 10, .14);
	font-size: 14px;
	letter-spacing: .06em;
	transition: border-color .35s ease;
}

.input::placeholder,
.textarea::placeholder { color: rgba(10, 10, 10, .25); letter-spacing: .04em; }

.input:focus,
.select:focus,
.textarea:focus { border-bottom-color: rgba(10, 10, 10, .4); }

.textarea { min-height: 120px; resize: vertical; background: none; }

.input.is-invalid { border-bottom-color: rgba(10, 10, 10, .5); }

/* ============================================================
   9. WordPress 核心兼容：对齐、图注、文章内容
   （原站完全没有处理这些，导致后台插入的图片/表格会跑版）
   ============================================================ */
.alignleft { float: left; margin: 0 32px 24px 0; }
.alignright { float: right; margin: 0 0 24px 32px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { width: min(1400px, calc(100% + 8vw)); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

.entry-content { font-size: 14.5px; line-height: 2.2; letter-spacing: .04em; color: var(--soft); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { font-family: var(--serif); font-weight: 400; letter-spacing: .1em; color: var(--fg); margin-top: 2.2em; }
.entry-content h2 { font-size: clamp(22px, 2.4vw, 32px); }
.entry-content h3 { font-size: clamp(18px, 1.9vw, 24px); }
.entry-content a { border-bottom: 1px solid var(--line-strong); }
.entry-content a:hover { border-bottom-color: var(--fg); }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .5em; }
.entry-content blockquote {
	padding: 8px 0 8px 26px;
	border-left: 1px solid var(--line-strong);
	font-family: var(--serif);
	font-size: 1.05em;
	letter-spacing: .08em;
	color: var(--fg);
}
.entry-content img { border-radius: var(--radius-md); }
.entry-content table { font-size: 13.5px; }
.entry-content th,
.entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-weight: 500; color: var(--fg); }
.entry-content pre { overflow-x: auto; padding: 20px 22px; background: #f6f5f2; border-radius: 12px; font-size: 13px; }
.entry-content code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }

.wp-caption { max-width: 100%; }
.wp-caption-text,
figcaption { margin-top: 12px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }

.wp-block-image figcaption { text-transform: none; letter-spacing: .06em; }

/* 分页 */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(48px, 7vh, 80px); }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 100px;
	font-size: 11.5px; letter-spacing: .22em; color: var(--soft);
	transition: color .35s ease, border-color .35s ease, background .35s ease;
}
.pagination a.page-numbers:hover { color: var(--fg); border-color: var(--line-strong); }
.pagination .page-numbers.current { background: var(--fg); color: #fff; border-color: var(--fg); }
.pagination .prev,
.pagination .next { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }

/* ============================================================
   10. 页脚
   ============================================================ */
.footer {
	padding: 54px var(--pad) 48px;
	text-align: center;
	border-top: 1px solid var(--line);
	background: var(--bg);
}

.footer__top {
	font-size: 10px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 22px;
}

.footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 22px; }
.footer__nav a { font-size: 11px; letter-spacing: .22em; color: var(--muted); transition: color .3s ease; }
.footer__nav a:hover { color: var(--fg); }

.footer__filing {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10.5px;
	letter-spacing: .14em;
	color: var(--muted);
	text-decoration: none;
}

.footer__filing svg { width: 14px; height: 14px; flex: 0 0 auto; }
.footer__filing:hover { color: var(--fg); }
