/* ==========================================================================
   Study in China
   Chinese look (2026-11-22): ink on xuan paper, cinnabar seal red for actions,
   deep lacquer for dark bands with a window-lattice pattern, gilt and jade
   accents, a key-fret (huiwen) band under the header and over the footer, and
   an open handscroll as the hero. Noto Sans SC (Source Han Sans, made with the
   Chinese foundry Changzhou SinoType) for everything; a few Chinese glyphs in a
   tiny subset. Own design, not the family or Korea look (BRAIN rule 16).
   ========================================================================== */

/* One variable file covers 400 to 700 (Google Fonts Latin slice). Its quotes, dashes and ellipsis are
   full-width CJK forms ("Master’ s"), so U+2010-2027 come from the next font. */
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/noto-sans-sc-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-200F, U+2028-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Only the Chinese glyphs the theme prints (中国留学, the seals incl. 助, city names, numerals), Google Fonts text= subset. */
@font-face { font-family: "Noto Sans SC CJK"; src: url("../fonts/noto-sans-sc-cjk.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	/* Colour */
	/* Xuan paper and ink */
	--c-paper: #f6f1e6;
	--c-surface: #fcf9f3;
	--c-line: #e2d7c3;
	/* Cinnabar (zhu, seal red), lacquer, blue-green (qing), gilt (jin), jade (yu), a pale peach */
	--c-zhu: #b23a24;
	--c-zhu-700: #8f2c1a;
	--c-lacquer: #5e1a12;
	--c-lacquer-900: #35100b;
	--c-qing: #2e4b4d;
	--c-jin: #c79a3e;
	--c-yu: #3d7563;
	--c-fen: #f0dccf;
	/* Older names, mapped onto the Chinese palette */
	--c-blue-50: #f1ebdf;
	--c-blue-100: #e9e0cf;
	--c-blue-200: #dccfb8;
	--c-blue-400: #8d8170;
	--c-blue: #5e1a12;
	--c-blue-700: #4b150e;
	--c-blue-900: #35100b;
	--c-ink: #1c1917;
	--c-muted: #5b544a;
	--c-celadon: #3d7563;
	--c-celadon-100: #e0ebe4;
	--c-accent: #c79a3e;
	--c-accent-600: #a97f2b;
	--c-accent-100: #f4e6c8;
	--c-error: #a8261d;
	--c-success: #2c6a4d;
	--c-focus: #1d5fd1;

	/* Type */
	--f-display: "Noto Sans SC", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
	--f-body: "Noto Sans SC", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1rem;
	--fs-md: 1.25rem;
	--fs-lead: 1.0625rem;
	--fs-lg: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
	--fs-xl: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
	--fs-hero: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
	--lh-tight: 1.05;
	--lh-snug: 1.25;
	--lh-body: 1.6;

	/* Space (4px base) */
	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.5rem;
	--s-6: 2rem;
	--s-7: 3rem;
	--s-8: 4rem;
	--s-9: 6rem;
	--section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
	--gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
	--wrap: 87.5rem; /* 1400px */

	/* Shape & motion */
	--r-sm: 4px;
	--r-md: 8px;
	--r-lg: 16px;
	--r-pill: 12px; /* buttons (layout standard: 12px, no pills) */
	--shadow-lift: 0 1px 2px rgb(12 22 40 / 0.06), 0 8px 24px -12px rgb(12 22 40 / 0.25);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--t-fast: 160ms;
	--t-med: 320ms;
	--header-h: 4.25rem;
	/* Key-fret (huiwen) band: gilt meander on lacquer; the footer uses the same in gold on darker lacquer. */
	--huiwen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Crect width='16' height='12' fill='%235e1a12'/%3E%3Cpath d='M0 10.5H16M2 10.5V1.5H14V8.5H5V4.5H10.5V6.5' fill='none' stroke='%23c79a3e' stroke-width='1.2'/%3E%3C/svg%3E");
	--huiwen-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Crect width='16' height='12' fill='%2335100b'/%3E%3Cpath d='M0 10.5H16M2 10.5V1.5H14V8.5H5V4.5H10.5V6.5' fill='none' stroke='%23c79a3e' stroke-width='1.2'/%3E%3C/svg%3E");
	/* Window lattice (chuangge) for dark lacquer blocks */
	--lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 14H7V7H21V21H7V14M21 14H28M14 0V7M14 21V28' fill='none' stroke='%23c79a3e' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
	/* Xuan paper: fine, even fibres */
	--xuan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7 .25' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .26 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23f)'/%3E%3C/svg%3E");
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	/* No page bounce/stretch: a Mac trackpad flick past the footer (and Android's stretch) dragged the
	   sticky header off screen. Same fix as SmartShoppers, TravelConcern and Destiny. Phones lose pull-to-refresh. */
	overscroll-behavior-y: none;
	/* The footer is deep lacquer: where a browser still bounces, it shows ink, not a pale strip. Body keeps the page colour. */
	background: var(--c-lacquer-900);
}

body {
	margin: 0;
	background: var(--xuan) var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: var(--lh-snug); text-wrap: balance; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: text-decoration-color var(--t-fast), color var(--t-fast); }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: var(--s-4); top: -100px; z-index: 100;
	padding: var(--s-3) var(--s-4);
	background: var(--c-ink); color: #fff; border-radius: var(--r-sm);
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

/* Content box = 1400px; the gutter sits outside it (border-box would eat it). */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
	min-height: 2.75rem; padding: 0.6rem 1.25rem;
	border: 1.5px solid transparent; border-radius: var(--r-pill);
	font: 600 var(--fs-sm)/1.2 var(--f-body); letter-spacing: 0.01em;
	text-decoration: none; text-align: center; cursor: pointer;
	transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-zhu); color: #fff; }
.btn--primary:hover { background: var(--c-zhu-700); }
.btn--ghost { border-color: currentColor; color: var(--c-ink); background: transparent; }
.btn--ghost:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn--whatsapp { background: #1f7a4d; color: #fff; }
.btn--whatsapp:hover { background: #17633e; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; }
.btn--lg { min-height: 2.75rem; padding: 0.6rem 1.4rem; }
.btn--block { width: 100%; }
.btn--icon { width: 2.75rem; padding: 0; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--xuan) var(--c-paper);
	padding-bottom: 12px;
}
/* Key-fret band under the header, like a carved lintel. */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--huiwen) repeat-x left center / 16px 12px; }
.site-header.is-scrolled { box-shadow: 0 6px 16px -10px rgb(29 27 25 / 0.35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; color: var(--c-ink); }
.brand__logo { display: block; height: 2.5rem; width: auto; }
.brand__word { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand__tld { color: var(--c-blue-400); font-weight: 500; }

.nav-toggle {
	display: inline-flex; align-items: center; gap: var(--s-2);
	min-height: 2.75rem; padding: 0 var(--s-4);
	border: 1.5px solid rgb(29 27 25 / 0.3); border-radius: var(--r-pill);
	background: transparent; color: var(--c-ink);
	font: 600 var(--fs-sm) var(--f-body); cursor: pointer;
}
.no-js .nav-toggle { display: none; }

.site-nav { display: none; }
.no-js .site-nav { display: block; width: 100%; padding-bottom: var(--s-3); }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .site-nav__list { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }

.site-nav__link { display: block; padding: var(--s-2) 0; color: #4a453e; text-decoration: none; font-weight: 600; }
.site-nav__link:hover { color: var(--c-zhu); }
.site-nav__link.is-active { color: var(--c-ink); box-shadow: inset 0 -2px 0 var(--c-zhu); }

/* Mobile menu panel */
@media (max-width: 63.99rem) {
	.js .site-nav {
		position: fixed; inset: calc(var(--header-h) + 12px) 0 auto 0; z-index: 49;
		display: block;
		padding: var(--s-4) var(--gutter) var(--s-6);
		background: var(--c-surface);
		border-bottom: 1px solid var(--c-line);
		box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.5);
		transform: translateY(-0.75rem); opacity: 0; visibility: hidden;
		transition: transform var(--t-med) var(--ease), opacity var(--t-med), visibility 0s linear var(--t-med);
	}
	.admin-bar.js .site-nav { top: calc(var(--header-h) + 56px); }
	.js .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
	.js .site-nav__list { display: grid; }
	.js .site-nav__link { padding: var(--s-3) 0; font-size: 1.0625rem; border-bottom: 1px solid var(--c-line); }
	.js .site-nav__link.is-active { box-shadow: none; color: var(--c-zhu); }
	.site-nav__cta { margin-top: var(--s-5); width: 100%; }
	.no-js .site-nav__cta { width: auto; }
}

@media (min-width: 64rem) {
	.nav-toggle { display: none; }
	.site-nav, .no-js .site-nav { display: flex; align-items: center; gap: var(--s-5); width: auto; padding: 0; }
	.site-nav__list { display: flex; gap: var(--s-5); }
	.site-nav__link { font-size: 0.9375rem; padding: var(--s-2) 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section__head { max-width: 44rem; margin-bottom: var(--s-7); }
.section__title {
	font-family: var(--f-display);
	font-size: var(--fs-xl);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.section__intro { margin-top: var(--s-4); font-size: var(--fs-lead); color: var(--c-muted); line-height: var(--lh-body); }
.section__intro a { color: var(--c-ink); font-weight: 600; }

/* Seal (yinzhang): cinnabar square, the character cut out in paper colour, a fine inner border */
.seal {
	display: inline-grid; place-items: center; flex: none;
	width: 2.25rem; height: 2.25rem; border-radius: 3px;
	background: var(--c-zhu); color: #fbf3e6;
	box-shadow: inset 0 0 0 2px var(--c-zhu), inset 0 0 0 3px rgb(251 243 230 / 0.6);
	font-family: "Noto Sans SC CJK", var(--f-display); font-size: 1.2rem; font-weight: 700; line-height: 1;
}
.seal--lg { width: 3.5rem; height: 3.5rem; font-size: 2rem; transform: rotate(-3deg); }

/* ---------- Reasons & fit ---------- */
.reasons { display: grid; gap: var(--s-5) var(--s-6); counter-reset: none; }
.reasons__item { padding-top: var(--s-4); border-top: 2px solid var(--c-blue); }
.reasons__title { margin-bottom: var(--s-2); font-size: var(--fs-md); }
.reasons__item p { color: var(--c-muted); }
@media (min-width: 40rem) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .reasons { grid-template-columns: repeat(5, 1fr); } }

.fit { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
.fit__col { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); }
.fit__col--yes { background: var(--c-blue-700); color: #fff; }
.fit__col--no { background: var(--c-surface); border: 1px solid var(--c-blue-200); }
.fit__title { margin-bottom: var(--s-5); font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 600; }
.fit__note { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--c-blue-100); font-size: var(--fs-sm); color: var(--c-muted); }
.fit__note a { color: var(--c-ink); font-weight: 600; }
@media (min-width: 56rem) { .fit { grid-template-columns: 1fr 1fr; } .fit__col { padding: var(--s-7); } }

.ticks li, .dashes li { position: relative; padding-left: 1.85rem; margin-bottom: var(--s-3); }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.3em;
	width: 1.15rem; height: 1.15rem; border-radius: 50%;
	background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%230c1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.dashes li::before { content: ""; position: absolute; left: 0.2rem; top: 0.8em; width: 0.8rem; height: 2px; background: var(--c-blue-400); }
.ticks--cols { columns: 1; column-gap: var(--s-7); }
.ticks--cols li { break-inside: avoid; }
@media (min-width: 48rem) { .ticks--cols { columns: 2; } }

/* ---------- Universities ---------- */
.cities { background: var(--c-surface); border-top: 1px solid var(--c-blue-200); }
.cities__grid { display: grid; gap: var(--s-5); }
.city {
	height: 100%; display: flex; flex-direction: column;
	padding: var(--s-5); border: 1px solid var(--c-blue-200); border-top: 3px solid var(--c-accent);
	border-radius: var(--r-md); background: var(--c-paper);
	transition: border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.city:hover { border-color: var(--c-blue-400); border-top-color: var(--c-accent); transform: translateY(-2px); }
.city__body { display: flex; flex-direction: column; flex: 1; }
.city__link { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-4); font-weight: 600; color: var(--c-ink); text-decoration: none; }
.city__link .icon { width: 1.1rem; height: 1.1rem; color: var(--c-accent-600); transition: transform var(--t-fast) var(--ease); }
.city__link:hover .icon { transform: translateX(4px); }
.city__name { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; }
.city__unis { margin: var(--s-1) 0 var(--s-2); color: var(--c-ink); }
.city__office { font-size: var(--fs-sm); color: var(--c-muted); }
.cities__foot { margin-top: var(--s-6); color: var(--c-muted); }
.cities__foot a { color: var(--c-ink); font-weight: 600; }
@media (min-width: 40rem) { .cities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cities__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }

/* ---------- Process stepper ---------- */
.process { background: var(--c-blue-50); }
.stepper__panels { display: grid; gap: var(--s-4); }
.step {
	padding: var(--s-6) var(--s-5);
	border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-blue-200);
}
.step__count { margin-bottom: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--c-blue); }
.step__title { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--s-3); }
.step__text { color: var(--c-muted); max-width: 40rem; }
.step__points { margin: var(--s-5) 0; }
.step[hidden] { display: none; }
.step.is-entering { animation: fade-in var(--t-med) var(--ease); }
.stepper__nav[hidden] { display: none; }
.stepper__nav { display: flex; gap: var(--s-2); margin-bottom: var(--s-4); overflow-x: auto; scrollbar-width: none; padding-bottom: var(--s-1); }
.stepper__tab {
	flex: none; display: flex; align-items: center; gap: var(--s-3);
	padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2);
	border: 1px solid var(--c-blue-200); border-radius: var(--r-pill); background: var(--c-surface);
	font: 600 var(--fs-sm) var(--f-body); color: var(--c-muted); text-align: left; cursor: pointer;
	transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.stepper__num {
	display: grid; place-items: center; flex: none; width: 2rem; height: 2rem;
	border-radius: 50%; background: var(--c-blue-100); color: var(--c-blue-700);
	font-family: var(--f-display); font-weight: 700;
	transition: background-color var(--t-fast), color var(--t-fast);
}
.stepper__tab:hover { color: var(--c-ink); border-color: var(--c-blue-400); }
.stepper__tab.is-done .stepper__num { background: var(--c-blue); color: #fff; }
.stepper__tab[aria-selected="true"] { background: var(--c-blue-900); border-color: var(--c-blue-900); color: #fff; }
.stepper__tab[aria-selected="true"] .stepper__num { background: var(--c-accent); color: var(--c-ink); }
/* Mobile: only the number pills scroll; the active one shows its label */
@media (max-width: 47.99rem) {
	.stepper__tab:not([aria-selected="true"]) .stepper__label { display: none; }
	.stepper__tab:not([aria-selected="true"]) { padding-right: var(--s-2); }
}
@media (min-width: 64rem) {
	.stepper.is-tabbed { display: grid; grid-template-columns: 20rem minmax(0, 1fr); gap: var(--s-7); align-items: start; }
	.stepper__nav { flex-direction: column; margin: 0; overflow: visible; }
	.stepper__tab { width: 100%; border-radius: var(--r-md); padding: var(--s-3) var(--s-4) var(--s-3) var(--s-3); }
	.step { padding: var(--s-8) var(--s-7); min-height: 100%; }
	.stepper.is-tabbed .step { min-height: 26rem; }
}

/* ---------- Consultation ---------- */
.consultation { background: var(--c-blue-100); }
.consultation__grid { display: grid; gap: var(--s-7); }
.consultation__info .section__intro { margin-bottom: var(--s-6); }
.consultation__sub { margin: var(--s-6) 0 var(--s-4); font-size: var(--fs-md); }
.contact-list { display: grid; gap: var(--s-2); }
.contact-list a {
	display: flex; align-items: center; gap: var(--s-3);
	min-height: 3rem; padding: var(--s-2) var(--s-4);
	border-radius: var(--r-md); background: rgb(255 255 255 / 0.6);
	font-weight: 600; text-decoration: none;
	transition: background-color var(--t-fast);
}
.contact-list a:hover { background: var(--c-surface); }
.contact-list .icon { color: var(--c-blue); }

.lead-form { padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--shadow-lift); }
.lead-form__title { margin-bottom: var(--s-5); font-family: var(--f-display); font-size: var(--fs-lg); }
.field { margin-bottom: var(--s-4); }
.field-row { display: grid; gap: 0 var(--s-4); }
.field__label { display: block; margin-bottom: var(--s-2); font-size: var(--fs-sm); font-weight: 600; }
.field__optional { font-weight: 400; color: var(--c-muted); }
.field__control {
	width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--c-blue-200); border-radius: var(--r-sm);
	background: var(--c-surface); color: var(--c-ink);
	font: inherit; font-size: 1rem;
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
select.field__control {
	appearance: none; padding-right: 2.5rem;
	background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233a5277' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 0.75rem center / 1.1rem no-repeat;
}
textarea.field__control { min-height: 7rem; resize: vertical; }
.field__control::placeholder { color: #848fa0; }
.field__control:hover { border-color: var(--c-blue-400); }
.field__control:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgb(29 95 209 / 0.35); }
.field__control[aria-invalid="true"] { border-color: var(--c-error); }
.field__control[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgb(168 38 29 / 0.25); }
.field__hint { margin: var(--s-1) 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.field__error { margin: var(--s-1) 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--c-error); }
.field__error::before { content: "! "; }
.form-status { margin-bottom: var(--s-5); padding: var(--s-4); border-radius: var(--r-sm); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--sent { background: #e3f1ea; color: var(--c-success); border: 1px solid #b9dccb; }
.form-status--invalid, .form-status--expired, .form-status--limited, .form-status--failed { background: #fbe9e7; color: var(--c-error); border: 1px solid #f0c4bf; }
.form-status:focus { outline: none; }
.lead-form__privacy { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }
.lead-form.is-sent .field, .lead-form.is-sent .field-row, .lead-form.is-sent [data-submit], .lead-form.is-sent .lead-form__privacy { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } .lead-form { padding: var(--s-7); } }
@media (min-width: 64rem) { .consultation__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-9); align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-block: calc(var(--s-8) + 10px) var(--s-6); background: var(--c-ink); color: #cfc7b8; font-size: 1rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--huiwen) repeat-x left center / 40px 10px; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.site-footer__about { grid-column: 1 / -1; }
.site-footer__logo { margin-bottom: var(--s-4); }
.site-footer__logo .brand__logo { height: 3rem; }
.site-footer .brand__tld { color: var(--c-blue-400); }
.site-footer__about { max-width: 30rem; }
.site-footer__title { margin-bottom: var(--s-3); font-size: 1rem; color: #fff; }
.site-footer__col li { margin-bottom: var(--s-2); }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__base { display: grid; gap: var(--s-2); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--fs-xs); color: #a39b8d; }
@media (min-width: 48rem) {
	.site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.site-footer__about { grid-column: 1 / -1; }
	.site-footer__base { grid-template-columns: auto 1fr; gap: var(--s-6); }
	.site-footer__base p:last-child { text-align: right; }
}
.sic-landing .site-footer { padding-bottom: calc(var(--s-6) + 4.5rem); }
@media (min-width: 64rem) {
	.sic-landing .site-footer { padding-bottom: var(--s-6); }
	/* Same footer as StudyInItaly and Destiny: columns spread over the full 1400px, the last one ends at the right edge. */
	.site-footer__grid { display: flex; justify-content: space-between; gap: clamp(1.5rem, -4rem + 6vw, 4rem); }
	.site-footer__about { flex: 0 1 30rem; min-width: 0; }
	.site-footer__col { flex: 0 0 auto; }
}

/* ---------- Floating WhatsApp group button (Destiny's wa-float) ---------- */
.wa-float {
	position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: 40;
	display: inline-flex; align-items: center; gap: var(--s-2);
	padding: 0.3rem 1rem 0.3rem 0.3rem;
	border-radius: var(--r-sm); background: var(--c-surface); border: 1px solid var(--c-blue-200);
	box-shadow: 0 10px 28px -12px rgb(12 22 40 / 0.45);
	font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); text-decoration: none;
	transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 4px; background: #1f7a4d; color: #fff; }
.wa-float__icon svg { width: 1.25rem; height: 1.25rem; }
@media (max-width: 63.99rem) {
	.wa-float { right: var(--s-3); bottom: var(--s-3); }
	body:has(.sticky-cta) .wa-float { display: none; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
	position: fixed; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); z-index: 40;
	display: flex; gap: var(--s-2); padding: var(--s-2);
	border-radius: var(--r-pill); background: rgb(29 27 25 / 0.92);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.45);
	transform: translateY(calc(100% + 1.5rem));
	transition: transform var(--t-med) var(--ease);
}
.sticky-cta .btn--primary { flex: 1; }
.sticky-cta__channel { padding-inline: 1rem; gap: 0.4rem; }

.sticky-cta.is-visible { transform: none; }
.sticky-cta[hidden] { display: none; }
@media (min-width: 64rem) { .sticky-cta { display: none !important; } }

/* ---------- Key facts strip ---------- */
.facts { padding-bottom: var(--s-6); }
.facts__list { display: grid; gap: var(--s-5); }
.facts__item { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-4); border-top: 4px solid var(--c-qing); }
.facts__item:nth-child(2) { border-top-color: var(--c-zhu); }
.facts__item:nth-child(3) { border-top-color: var(--c-jin); }
.facts__item:nth-child(4) { border-top-color: var(--c-yu); }
.facts__item p { color: var(--c-muted); font-size: var(--fs-sm); }
.facts__figure { display: block; margin-bottom: var(--s-1); font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 800; color: var(--c-ink); line-height: 1.15; }
.facts__source { font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink); text-decoration-color: var(--c-zhu); }
@media (min-width: 40rem) {
	.facts__list { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-6); }
}
@media (min-width: 64rem) {
	.facts__list { grid-template-columns: repeat(4, 1fr); }
	.facts__list { gap: var(--s-6); }
}

/* ---------- Shared bits: notes under home tables and sections ---------- */
.note { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); max-width: 46rem; }
.section__foot { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--c-muted); max-width: 46rem; }
.section__foot a, .note a { color: var(--c-ink); font-weight: 600; }

.help__fine { margin: var(--s-5) auto 0; max-width: 40rem; text-align: center; font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- Generic content pages ---------- */
.content-page { padding-block: var(--s-8); }
.entry { padding-block: var(--s-6); border-bottom: 1px solid var(--c-blue-200); }
.entry__title { font-family: var(--f-display); font-size: var(--fs-xl); line-height: 1.1; }
.entry__title a { text-decoration: none; }
.entry__meta { margin-top: var(--s-2); color: var(--c-muted); font-size: var(--fs-sm); }
.entry__content { margin-top: var(--s-5); }
.entry__content > * + * { margin-top: var(--s-4); }
.entry__content h2 { font-size: var(--fs-lg); margin-top: var(--s-7); }
.entry__content ul { list-style: disc; padding-left: 1.25rem; }
.entry__content ol { list-style: decimal; padding-left: 1.25rem; }
.entry__content img { border-radius: var(--r-md); }

/* ---------- Reveal (one subtle entrance for section heads) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

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

/* ---------- Print ---------- */
@media print {
	.site-header, .sticky-cta, .wa-float, .lead-form, .hero__actions { display: none !important; }
	body { background: #fff; }
}

/* ---------- Guide pages (page.php) ---------- */
.guide-hero { padding-block: var(--s-7); background: var(--xuan) var(--c-surface); border-bottom: 1px solid var(--c-line); color: var(--c-ink); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-sm); color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--c-blue-400); }
.crumbs a { color: var(--c-ink); text-decoration-color: var(--c-blue-400); }
.crumbs a:hover { text-decoration-color: var(--c-zhu); }
.guide-hero__title { margin-top: var(--s-4); max-width: 52rem; font-family: var(--f-display); font-size: var(--fs-xl); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; color: var(--c-ink); }
.guide-hero__lead { margin-top: var(--s-4); max-width: 46rem; font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--c-muted); }
.guide-hero__meta { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); }
.guide-hero__meta a { color: var(--c-ink); }
.guide { display: grid; gap: var(--s-8); padding-block: var(--s-8) var(--section-y); }
@media (min-width: 64rem) {
	.guide { grid-template-columns: minmax(0, 46rem) minmax(16rem, 20rem); justify-content: space-between; gap: var(--s-9); }
}
.guide__aside { order: -1; }
@media (min-width: 64rem) { .guide__aside { order: 0; } .guide__sticky { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.toc { padding: var(--s-5); border: 1px solid var(--c-line); border-top: 4px solid var(--c-zhu); border-radius: var(--r-sm); background: var(--c-surface); }
.toc__title { font-family: var(--f-display); font-size: 1rem; font-weight: 700; color: var(--c-ink); }
.toc__list { margin-top: var(--s-3); counter-reset: toc; }
.toc__list li { counter-increment: toc; display: flex; gap: var(--s-2); padding-block: 0.3rem; font-size: var(--fs-sm); line-height: 1.35; }
.toc__list li::before { content: counter(toc); flex: none; width: 1.25rem; color: var(--c-blue-400); font-variant-numeric: tabular-nums; }
.toc__list a { color: var(--c-ink); text-decoration: none; }
.toc__list a:hover { color: var(--c-blue); text-decoration: underline; }
@media (max-width: 63.99rem) { .toc__list { columns: 1; } }
.aside-card { margin-top: var(--s-5); padding: var(--s-5); border-radius: var(--r-md); background: var(--c-blue-50); border: 1px solid var(--c-blue-100); }
.aside-card__title { font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
.aside-card__text { margin: var(--s-2) 0 var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); }
@media (max-width: 63.99rem) { .aside-card { display: none; } }

/* Long-form text */
.prose { font-size: var(--fs-base); line-height: var(--lh-body); color: var(--c-ink); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-8); font-family: var(--f-display); font-size: var(--fs-lg); line-height: var(--lh-snug); scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
.prose h3 { margin-top: var(--s-6); font-family: var(--f-display); font-size: var(--fs-md); line-height: var(--lh-snug); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-3); }
.prose a { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose a:hover { color: var(--c-blue-700); }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--c-blue); }
.prose strong { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--c-surface); border: 1px solid var(--c-blue-200); }
.prose th, .prose td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-blue-100); }
.prose thead th { background: var(--c-blue-50); font-family: var(--f-display); color: var(--c-blue-700); }
.prose .wp-block-table { overflow-x: auto; }
.prose .callout { padding: var(--s-4) var(--s-5); border-left: 3px solid var(--c-accent); background: var(--c-accent-100); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose .faq-q { margin-top: var(--s-6); font-family: var(--f-display); font-size: var(--fs-base); font-weight: 700; }
.prose .sources { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--c-blue-200); font-size: var(--fs-sm); color: var(--c-muted); }
.prose .sources li { overflow-wrap: anywhere; }
@media (max-width: 47.99rem) { .crumbs li[aria-current] { display: none; } }
@media (max-width: 63.99rem) { .guide { grid-template-columns: minmax(0, 1fr); } }
.prose .email-template { padding: var(--s-5); border: 1px solid var(--c-blue-200); border-left: 3px solid var(--c-blue); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-surface); font-size: var(--fs-sm); }
.prose .email-template p + p { margin-top: var(--s-3); }
.guide-hero__author { color: #fff; font-weight: 600; }
.prose .callout > * + * { margin-top: var(--s-2); }
.faq__more { margin-top: var(--s-2); font-weight: 600; }
.section__guide { margin-top: var(--s-4); font-weight: 600; }
.section__guide a { color: inherit; text-underline-offset: 3px; }
.prose p, .prose li, .prose td { overflow-wrap: break-word; }

/* HTML sitemap (templates/sitemap.php) */
.site-index { display: grid; gap: var(--s-8); padding-block: var(--s-8) var(--section-y); }
@media (min-width: 48rem) { .site-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .site-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-index__section h2 { font-family: var(--f-display); font-size: var(--fs-lg); line-height: 1.2; }
.site-index__section h2 a { color: inherit; text-decoration: none; }
.site-index__section h2 a:hover { text-decoration: underline; }
.site-index__section ul { margin-top: var(--s-3); list-style: none; padding: 0; }
.site-index__section li { padding-block: var(--s-1); overflow-wrap: anywhere; }
.site-index__depth-2 { padding-left: var(--s-4); font-size: var(--fs-sm); }
.site-index__depth-3 { padding-left: var(--s-7); font-size: var(--fs-sm); }

/* Tables on phones (Ali 2026-11-18, BRAIN rule 11; ported 2026-11-20 from StudyInItaly main.css, which copies
   Destiny's "Tables on phones"). Desktop: dark heading row, a line round every cell, text left. Phones: a table
   with 3+ columns (class "sic-stack" from inc/tables.php) becomes one card per row: first cell = card title, then
   "column heading | value". No sideways scroll; the HTML stays a real table. Each cell is laid out as a two-cell
   CSS table (label, then everything else in the cell), so links and text in a cell stay on one line.
   Test: scripts/test-phone-tables.cjs. */
.prose th, .prose td { border: 1px solid var(--c-blue-100); }
.prose thead th { background: var(--c-ink); border-color: rgb(255 255 255 / 0.14); font-weight: 700; color: #fff; }
.prose thead th a { color: #fff; }
@media (max-width: 47.99rem) {
	/* Only a 3+ column table that cannot stack (merged cells, no heading row) keeps the sideways scroll. */
	.prose table:not(.sic-stack):has(tr > :nth-child(3)) { min-width: 34rem; }
	table.sic-stack,
	table.sic-stack tbody,
	table.sic-stack tr { display: block; width: 100%; }
	.prose table.sic-stack, table.sic-stack { min-width: 0; border: 0; border-radius: 0; background: none; }
	table.sic-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	table.sic-stack tbody > tr { margin-bottom: var(--s-3); border: 1px solid var(--c-blue-200); border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
	table.sic-stack tbody > tr:last-child { margin-bottom: 0; }
	table.sic-stack tbody > tr > * { position: static; display: table; table-layout: fixed; border-collapse: separate; border-spacing: 0; width: 100%; padding: 0.6rem 0.85rem; border: 0; border-top: 1px solid var(--c-blue-100); text-align: left; overflow-wrap: anywhere; }
	table.sic-stack tbody > tr > *::before { content: attr(data-label); display: table-cell; width: 40%; padding-right: var(--s-3); font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 700; color: var(--c-muted); }
	table.sic-stack tbody > tr > :not([data-label]) { display: block; }
	table.sic-stack tbody > tr > :not([data-label])::before { display: none; }
	table.sic-stack tbody > tr > :first-child { display: block; border-top: 0; background: var(--c-blue-50); font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
	table.sic-stack tbody > tr > :first-child::before { display: none; }
}

/* ---------- About + author box (from StudyInItaly, no photo: Ali 2026-11-20) ---------- */
.author-box { margin-top: var(--s-8); padding: var(--s-6); background: var(--c-blue-50); border: 1px solid var(--c-blue-100); border-left: 3px solid var(--c-accent); border-radius: var(--r-md); }
.author-box__body > * + *, .prose .author-box__body > * + * { margin-top: var(--s-2); }
.author-box__name, .prose .author-box__name { margin-top: var(--s-1); font-family: var(--f-display); font-size: var(--fs-md); line-height: 1.2; }
.author-box__name a, .prose .author-box__name a { color: var(--c-ink); text-decoration: none; }
.author-box__name a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); }
.author-box__bio { font-size: var(--fs-sm); color: var(--c-muted); }
.author-box__more { font-size: var(--fs-sm); font-weight: 600; }
.author-box__more a { color: var(--c-ink); }
@media (max-width: 47.99rem) { .author-box { padding: var(--s-5); } }
a.guide-hero__author { text-decoration: underline; text-decoration-color: var(--c-zhu); text-underline-offset: 3px; }

.about-hero__grid { display: grid; gap: var(--s-6); align-items: end; }
.about-facts { padding: var(--s-5); border-radius: var(--r-sm); background: var(--c-paper); border: 1px solid var(--c-line); border-top: 4px solid var(--c-qing); }
.about-facts ul { display: grid; gap: var(--s-3); }
.about-facts li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--c-ink); line-height: 1.45; }
.about-facts .icon { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 2px; color: var(--c-zhu); }
.about-body { padding-block: var(--s-8); }
.about-body__text { max-width: 46rem; }
.about-author { background: var(--c-blue-50); border-top: 1px solid var(--c-blue-100); }
.author-profile > * + * { margin-top: var(--s-3); }
.author-profile > p:not(.author-box__kicker) { max-width: 44rem; line-height: var(--lh-body); }
.author-profile__role { font-family: var(--f-display); font-size: var(--fs-md); font-weight: 600; color: var(--c-blue); }
@media (min-width: 64rem) {
	.about-hero__grid { grid-template-columns: minmax(0, 1fr) 24rem; gap: var(--s-8); }
}

/* === Tool page standard (Ali 2026-11-19, BRAIN rule 12): the SAME tool page on every WordPress site.
   Shared part = ~/brain/knowledge/tool-page-standard.css, copied word for word; only the variable rule below
   (the site's colours) and the site's own tool widgets after the shared part differ per site. */
.tool-std { --tool-line: var(--c-blue-200); --tool-soft: var(--c-surface); --tool-link: var(--c-blue-700); --tool-panel: var(--c-qing); --tool-panel-ink: #fff; --tool-panel-muted: rgb(255 255 255 / 0.8); --tool-panel-line: rgb(255 255 255 / 0.16); --tool-hi: var(--c-accent); --tool-hi-ink: var(--c-ink); --tool-btn: var(--c-zhu); --tool-btn-ink: #fff; }
/* -- shared part (tool-page-standard.css) -- */
.tool-std__head { padding-block: var(--s-6) var(--s-6); }
.tool-std__crumbs ol { margin-bottom: var(--s-4); }
.tool-std__title { margin: 0; max-width: 60rem; font-family: var(--f-display); font-size: var(--fs-xl); line-height: 1.1; color: var(--c-ink); }
.tool-std__lede { margin: var(--s-4) 0 0; max-width: 46rem; font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--c-muted); }
.tool-std__tool { padding-bottom: var(--s-8); }
.tool-std__body { display: grid; gap: var(--s-7); padding-bottom: var(--section-y); }
.tool-std__text { min-width: 0; max-width: 48rem; }
.tool-std__text > :first-child { margin-top: 0; }
.tool-std__more { padding: var(--s-5); border: 1px solid var(--tool-line); background: var(--tool-soft); }
.tool-std__more-title { margin: 0 0 var(--s-2); font-family: var(--f-display); font-size: var(--fs-md); font-weight: 700; color: var(--c-ink); }
.tool-std__more ul { margin: 0; padding: 0; list-style: none; }
.tool-std__more li + li { border-top: 1px solid var(--tool-line); }
.tool-std__more a { display: grid; gap: var(--s-1); padding-block: var(--s-3); color: inherit; text-decoration: none; }
.tool-std__more strong { color: var(--c-ink); }
.tool-std__more a:hover strong { text-decoration: underline; }
.tool-std__more span { font-size: var(--fs-sm); color: var(--c-muted); }
.tool-std__all { display: inline-block; margin-top: var(--s-3); font-weight: 700; color: var(--tool-link); }
@media (min-width: 64rem) {
	.tool-std__body { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; gap: var(--s-8); }
	.tool-std__body--solo { grid-template-columns: minmax(0, 1fr); }
}
/* -- end of shared part -- */
/* StudyInChina's own: breadcrumb on the light head, and the eligibility checker keeps its own card
   (multi-step tool, as Destiny's checker), not stretched to the full 1400px. */
.tool-std__crumbs ol { color: var(--c-muted); }
.tool-std__crumbs li + li::before { color: var(--c-blue-400); }
.tool-std__crumbs a { color: var(--c-ink); text-decoration-color: var(--c-blue-200); }
.tool-std__crumbs a:hover { text-decoration-color: var(--c-accent-600); }
.tool-std .sic-elig { max-width: 52rem; }

/* ---------- Brand: seal + wordmark (no logo file yet) ---------- */
.brand__mark { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__seal { width: 2.4rem; height: 2.4rem; font-size: 1.35rem; }
.brand__word { font-size: 1.3rem; color: var(--c-ink); }
.brand__tld { color: var(--c-zhu); font-weight: 600; }
.site-footer .brand__word { color: #fff; font-size: 1.45rem; }
.site-footer .brand__tld { color: #f0cf86; }

/* ---------- Chinese look across the site ---------- */
/* Section titles: a short cinnabar brush line above, never a label */
.section__title::before { content: ""; display: block; width: 2.5rem; height: 4px; margin-bottom: var(--s-4); border-radius: 2px; background: var(--c-zhu); }
.section__head--center .section__title::before { margin-inline: auto; }

/* Key facts: a lacquer band with a window-lattice pattern, gilt figures */
.facts { padding-block: var(--s-7); background: var(--lattice) repeat left top / 28px 28px, var(--c-lacquer); color: #eedfd3; }
.facts__item, .facts__item:nth-child(n) { padding-top: var(--s-4); border-top: 1px solid rgb(199 154 62 / 0.55); }
.facts__item p { color: rgb(238 223 211 / 0.85); }
.facts__figure { color: #f0cf86; font-weight: 700; }
.facts__source, .facts a { color: #fff; text-decoration-color: rgb(240 207 134 / 0.7); }
.facts :focus-visible { outline-color: #f0cf86; }

/* Universities: each city hangs like a scroll (dark rod on top), its name in Chinese written top to bottom */
.cities__grid { gap: var(--s-6) var(--s-4); }
.city { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border: 1px solid var(--c-line); border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--xuan) #fbf8f0; }
.city::before { content: ""; position: absolute; left: -6px; right: -6px; top: -5px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #7a4528, #2b140d); }
.city:hover { border-color: var(--c-blue-400); }
.city__body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-4); align-content: start; }
.city__zh { grid-row: 1 / span 4; writing-mode: vertical-rl; font-family: "Noto Sans SC CJK", var(--f-display); font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: 0.12em; color: var(--c-zhu); }
.city__body > :not(.city__zh) { grid-column: 2; }
@media (min-width: 64rem) {
	.cities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.city { padding-inline: var(--s-4); }
	.city__body { grid-template-columns: minmax(0, 1fr); }
	/* Room for three characters (哈尔滨), so every card's text starts on the same line */
	.city__zh { grid-row: auto; justify-self: center; height: 8.25rem; margin-bottom: var(--s-4); font-size: 2.25rem; }
	.city__body > :not(.city__zh) { grid-column: 1; }
}

/* ==========================================================================
   Home sections: Chinese compositions (2026-11-22, BRAIN rule 16)
   Each section below has its own skeleton taken from Chinese visual culture,
   not Korea's markup recoloured: moon gates (routes), a door couplet (CSC),
   seal-numbered stages (visa), bamboo slips (calendar), a thread-bound book's
   contents page (guides), a lacquer lattice band (work), one centred reading
   column (FAQ) and a cinnabar band (join). Colours and patterns from the
   tokens in :root only.
   ========================================================================== */

/* ---------- Shared: ledger tables (CSC benefits, costs), lacquer heading row ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: var(--fs-base); background: var(--c-surface); }
.ledger th, .ledger td { padding: var(--s-3) var(--s-4); text-align: left; vertical-align: top; border: 1px solid var(--c-line); }
.ledger thead th { background: var(--c-lacquer); border-color: var(--c-lacquer); color: #fff; font-weight: 700; }
.ledger tbody th { width: 45%; font-weight: 600; color: var(--c-ink); }
.ledger tbody tr:nth-child(even) { background: color-mix(in srgb, var(--c-paper) 70%, var(--c-surface)); }

/* Who can apply: one numbered row, each numeral in a practice grid (mi zi ge) */
.eligible { margin-top: var(--s-8); }
.eligible__title { margin-bottom: var(--s-5); font-size: var(--fs-lg); font-weight: 700; }
.eligible__row { display: grid; gap: var(--s-5); padding-top: var(--s-5); border-top: 2px solid var(--c-ink); }
.eligible__row li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: start; align-content: start; }
.eligible__row p { font-size: var(--fs-sm); line-height: 1.5; color: var(--c-ink); }
.eligible__num {
	--g: color-mix(in srgb, var(--c-zhu) 35%, transparent);
	display: grid; place-items: center; width: 3rem; height: 3rem;
	border: 1.5px solid var(--c-zhu);
	background:
		linear-gradient(var(--g), var(--g)) center / 1px 100% no-repeat,
		linear-gradient(var(--g), var(--g)) center / 100% 1px no-repeat,
		linear-gradient(45deg, transparent calc(50% - 0.5px), var(--g) 50%, transparent calc(50% + 0.5px)),
		linear-gradient(-45deg, transparent calc(50% - 0.5px), var(--g) 50%, transparent calc(50% + 0.5px)),
		var(--c-surface);
	font-family: "Noto Sans SC CJK", var(--f-display); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--c-ink);
}
@media (min-width: 40rem) { .eligible__row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); } }
@media (min-width: 64rem) { .eligible__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 80rem) {
	.eligible__row { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--s-5); }
	.eligible__row li { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
}

/* ---------- Costs: the ledger full width, then the X1 visa as five sealed stages ---------- */
.costs { background: var(--c-blue-50); }
.costs__sub { margin-bottom: var(--s-4); font-size: var(--fs-lg); font-weight: 700; }
@media (min-width: 64rem) {
	.ledger--costs th, .ledger--costs td { padding: var(--s-4) var(--s-5); }
	.ledger--costs tbody th { width: 38%; }
}
.stages { margin-top: var(--s-8); padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--c-qing); color: #fff; }
.stages__head { max-width: 46rem; margin-bottom: var(--s-6); }
.stages__title { margin-bottom: var(--s-2); font-size: var(--fs-lg); font-weight: 700; color: #fff; }
.stages__intro { color: rgb(255 255 255 / 0.85); }
.stages__row { display: grid; }
/* Phones: seals down the left, joined by a gilt thread */
.stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: var(--s-4); padding-bottom: var(--s-5); }
.stage::before { content: ""; position: absolute; left: calc(1.375rem - 1px); top: 2.75rem; bottom: 0; width: 2px; background: var(--c-jin); }
.stage:last-child { padding-bottom: 0; }
.stage:last-child::before { display: none; }
.stage__seal { position: relative; width: 2.75rem; height: 2.75rem; font-size: 1.45rem; transform: rotate(-2deg); }
.stage:nth-child(even) .stage__seal { transform: rotate(2deg); }
.stage__text { padding-top: 0.45rem; color: rgb(255 255 255 / 0.92); }
.stages__source { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid rgb(255 255 255 / 0.18); font-size: var(--fs-sm); }
.stages a { color: #fff; font-weight: 600; text-decoration-color: var(--c-jin); }
.stages :focus-visible { outline-color: var(--c-jin); }
@media (min-width: 64rem) { .stages { padding: var(--s-7); } .stage__text { max-width: 46rem; } }
/* Wide screens: the five stages in one row, the thread runs across, seal to seal */
@media (min-width: 72rem) {
	.stages__row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-6); }
	.stage { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding: 0; }
	.stage::before { left: 3.25rem; right: calc(-1 * var(--s-6) + 0.5rem); top: calc(1.375rem - 1px); bottom: auto; width: auto; height: 2px; }
	.stage__text { padding-top: 0; }
}

/* ---------- Calendar: twelve bamboo slips, phases as cards keyed to their months ---------- */
.calendar { background: var(--c-paper); border-block: 1px solid var(--c-line); }
.slips { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3px, 0.7vw, 10px); margin-bottom: var(--s-7); }
/* Two binding cords across every slip */
.slips::before, .slips::after { content: ""; position: absolute; left: -0.4rem; right: -0.4rem; z-index: 1; height: 2px; border-radius: 1px; background: color-mix(in srgb, var(--c-lacquer) 70%, transparent); pointer-events: none; }
.slips::before { top: 0.7rem; }
.slips::after { bottom: 0.7rem; }
.slip {
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: var(--s-3);
	min-height: clamp(8.5rem, 6rem + 6vw, 12rem); padding: 1.5rem 0 1.4rem; border-radius: 3px;
	background: linear-gradient(90deg, rgb(0 0 0 / 0.07), transparent 28%, transparent 72%, rgb(0 0 0 / 0.09)), color-mix(in srgb, var(--c-jin) 35%, var(--c-surface));
	box-shadow: inset 0 0 0 1px rgb(94 26 18 / 0.12);
	color: var(--c-ink);
}
.slip__zh { writing-mode: vertical-rl; font-family: "Noto Sans SC CJK", var(--f-display); font-size: clamp(0.8rem, 0.55rem + 0.9vw, 1.4rem); font-weight: 700; line-height: 1; letter-spacing: 0.08em; }
.slip__en { writing-mode: vertical-rl; font-size: var(--fs-xs); font-weight: 600; line-height: 1; color: var(--c-muted); }
.slip.is-now { background: linear-gradient(90deg, rgb(0 0 0 / 0.1), transparent 28%, transparent 72%, rgb(0 0 0 / 0.14)), var(--c-zhu); box-shadow: 0 8px 18px -10px rgb(94 26 18 / 0.8); color: #fff; }
.slip.is-now .slip__en { color: rgb(255 255 255 / 0.9); }

.phases { display: grid; gap: var(--s-4); }
.phase { display: flex; flex-direction: column; padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--xuan) var(--c-surface); }
.phase.is-current { border-color: var(--c-zhu); box-shadow: inset 0 4px 0 var(--c-zhu); }
/* The phase's own row of twelve small slips, its months filled in */
.phase__key { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin-bottom: var(--s-4); }
.phase__tick { height: 1.5rem; border-radius: 2px; background: color-mix(in srgb, var(--c-jin) 22%, var(--c-surface)); }
.phase__tick.is-on { background: var(--c-qing); }
.phase.is-current .phase__tick.is-on { background: var(--c-zhu); }
.phase__tick.is-now { box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 3.5px var(--c-zhu); }
.phase__title { font-size: var(--fs-md); font-weight: 700; }
.phase__when { margin: var(--s-1) 0 var(--s-3); font-size: var(--fs-sm); font-weight: 600; color: var(--c-qing); }
.phase.is-current .phase__when { color: var(--c-zhu-700); }
.phase.is-current .phase__when::after { content: " · now"; }
.phase__summary { color: var(--c-muted); }
.phase__example { margin-top: auto; padding-top: var(--s-3); border-top: 1px dashed var(--c-blue-200); font-size: var(--fs-sm); color: var(--c-ink); }
.phase__summary + .phase__example { margin-top: auto; }
.calendar__foot { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--c-muted); max-width: 46rem; }
.calendar__foot a { color: var(--c-ink); font-weight: 600; }
@media (min-width: 40rem) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); } }

/* ---------- Free guides: the contents page of a thread-bound book ---------- */
.contents { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.contents__by { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-muted); }
/* The page frame: a heavy outer line and a fine inner one (sizhou shuangbian) */
.contents__page { position: relative; padding: var(--s-5) var(--s-4); background: var(--xuan) var(--c-paper); border: 2px solid var(--c-ink); box-shadow: inset 0 0 0 4px var(--c-paper), inset 0 0 0 5px var(--c-ink); }
.contents__spine { display: none; }
.entry-line { position: relative; break-inside: avoid; padding-block: var(--s-3); }
.entry-line__title { font-size: var(--fs-md); font-weight: 700; line-height: 1.3; }
.entry-line__title a { display: flex; align-items: flex-end; gap: var(--s-3); color: var(--c-ink); text-decoration: none; }
.entry-line__title a::after { content: ""; position: absolute; inset: 0; }
.entry-line__num { flex: none; align-self: flex-start; padding-top: 0.3em; min-width: 1.6rem; font-size: var(--fs-sm); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-zhu); }
.entry-line__name { flex: 0 1 auto; }
.entry-line__dots { flex: 1 1 1.5rem; min-width: 1.5rem; border-bottom: 2px dotted var(--c-blue-400); transform: translateY(-0.4em); }
.entry-line__go { flex: none; padding-bottom: 0.15em; color: var(--c-zhu); }
.entry-line__go .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--t-fast) var(--ease); }
.entry-line:hover .entry-line__name { color: var(--c-zhu-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.entry-line:hover .entry-line__go .icon { transform: translateX(4px); }
.entry-line__text { margin: var(--s-1) 0 0 calc(1.6rem + var(--s-3)); font-size: var(--fs-sm); color: var(--c-muted); }
@media (min-width: 48rem) { .contents__page { padding: var(--s-6) var(--s-7); } }
@media (min-width: 56rem) {
	/* Two columns filled top to bottom, the first one never shorter (6 + 5 for 11 guides) */
	.contents__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; column-gap: 8rem; align-content: start; }
	/* The book's centre column (banxin): two rules, fish-tail marks and the title written down it */
	.contents__page::before {
		content: ""; position: absolute; top: 5px; bottom: 5px; left: 50%; width: 3rem; transform: translateX(-50%);
		border-inline: 1px solid var(--c-ink);
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20'%3E%3Cpath d='M0 0H40V20L20 9L0 20Z' fill='%231c1917'/%3E%3C/svg%3E") center 2.5rem / 1.5rem auto no-repeat,
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20'%3E%3Cpath d='M0 20H40V0L20 11L0 0Z' fill='%231c1917'/%3E%3C/svg%3E") center calc(100% - 2.5rem) / 1.5rem auto no-repeat;
		pointer-events: none;
	}
	.contents__spine { position: absolute; top: 50%; left: 50%; display: block; transform: translate(-50%, -50%); writing-mode: vertical-rl; font-family: "Noto Sans SC CJK", var(--f-display); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5em; line-height: 1; color: var(--c-ink); pointer-events: none; }
}

/* ---------- Work: one lacquer band with the lattice, the points as rows ---------- */
.work { background: var(--lattice) repeat left top / 28px 28px, var(--c-lacquer); color: #fff; }
.work .section__title { color: #fff; }
.work .section__title::before { background: var(--c-jin); }
.work .section__intro { color: rgb(255 255 255 / 0.82); }
.work .section__guide a { color: #fff; text-decoration-color: var(--c-jin); }
.work :focus-visible { outline-color: var(--c-jin); }
.work__rows { border-top: 1px solid color-mix(in srgb, var(--c-jin) 70%, transparent); }
.work-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2) var(--s-4); padding-block: var(--s-5); border-bottom: 1px solid color-mix(in srgb, var(--c-jin) 40%, transparent); }
.work-row > :not(.work-row__num) { grid-column: 2; }
.work-row__num { grid-row: 1 / span 3; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--c-jin); border-radius: 3px; font-family: "Noto Sans SC CJK", var(--f-display); font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--c-jin); }
.work-row__title { font-size: var(--fs-md); font-weight: 700; color: #fff; }
.work-row__text { margin-bottom: 0; color: rgb(255 255 255 / 0.85); }
.work-row__source { justify-self: start; font-size: var(--fs-sm); font-weight: 600; color: #fff; text-decoration-color: var(--c-jin); }
@media (min-width: 72rem) {
	.work-row { grid-template-columns: 2.75rem minmax(0, 19rem) minmax(0, 1fr) minmax(0, 15rem); align-items: start; column-gap: var(--s-6); padding-block: var(--s-6); }
	.work-row > :not(.work-row__num) { grid-column: auto; }
	.work-row__num { grid-row: auto; }
	.work-row__title { padding-top: 0.35rem; }
	.work-row__text { padding-top: 0.3rem; max-width: 52rem; }
	.work-row__source { justify-self: end; padding-top: 0.45rem; text-align: right; }
}

/* ---------- FAQ: one centred reading column ---------- */
.faq { background: var(--c-surface); border-top: 1px solid var(--c-line); }
.faq__col { max-width: 52rem; margin-inline: auto; }
.faq__head { margin-bottom: var(--s-6); }
.faq__list { border-top: 2px solid var(--c-ink); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__num { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border: 1.5px solid color-mix(in srgb, var(--c-zhu) 55%, transparent); border-radius: 3px; font-family: "Noto Sans SC CJK", var(--f-display); font-size: 1.1rem; font-weight: 700; line-height: 1; color: var(--c-zhu); transition: background-color var(--t-fast), color var(--t-fast); }
.faq__item[open] .faq__num { background: var(--c-zhu); border-color: var(--c-zhu); color: #fff; }
.faq__q-text { flex: 1; font-size: var(--fs-md); font-weight: 600; transition: color var(--t-fast); }
.faq__q:hover .faq__q-text { color: var(--c-zhu-700); }
.faq__icon { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--c-blue-200); transition: transform var(--t-med) var(--ease), background-color var(--t-fast), border-color var(--t-fast); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.faq__a { padding: 0 0 var(--s-5) calc(2.25rem + var(--s-4)); color: var(--c-muted); overflow: hidden; }
@media (min-width: 48rem) { .faq__a { padding-right: calc(2.25rem + var(--s-4)); } }

/* ---------- Join: a centred cinnabar band, the two WhatsApp cards under the heading ---------- */
.join { background: var(--xuan), var(--c-zhu); color: #fff; }
.join__band { text-align: center; }
.join__head { max-width: 46rem; margin: 0 auto var(--s-6); }
.join .section__title { color: #fff; }
.join .section__title::before { margin-inline: auto; background: var(--c-jin); }
.join .section__intro { color: rgb(255 255 255 / 0.9); }
.join :focus-visible { outline-color: #fff; }
.join__list { display: grid; gap: 0 var(--s-6); margin-bottom: var(--s-6); text-align: left; }
.join__list li { color: #fff; }
.join__cards { display: grid; gap: var(--s-4); text-align: left; }
.join-card {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4);
	padding: var(--s-5); border-radius: var(--r-lg);
	background: var(--xuan) var(--c-surface); color: var(--c-ink); text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--c-jin), 0 14px 30px -18px rgb(0 0 0 / 0.6);
	transition: transform var(--t-fast) var(--ease);
}
.join-card:hover { transform: translateY(-2px); }
.join-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #1f7a4d; color: #fff; }
.join-card__body { display: grid; gap: 0.15rem; }
.join-card__title { font-size: var(--fs-md); font-weight: 700; }
.join-card__text { font-size: var(--fs-sm); color: var(--c-muted); }
.join-card__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.25rem; border-radius: var(--r-pill); background: var(--c-zhu); color: #fff; font-size: var(--fs-sm); font-weight: 700; transition: background-color var(--t-fast); }
.join-card:hover .join-card__cta { background: var(--c-zhu-700); }
.join-card--group .join-card__cta { background: var(--c-yu); }
.join-card--group:hover .join-card__cta { background: var(--c-qing); }
.join__fine { margin-top: var(--s-5); font-size: var(--fs-sm); color: rgb(255 255 255 / 0.88); }
.join__admin { max-width: 46rem; margin: var(--s-4) auto 0; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: var(--c-accent-100); color: var(--c-ink); font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 29.99rem) {
	.join-card { grid-template-columns: auto minmax(0, 1fr); }
	.join-card__cta { grid-column: 2; justify-self: start; }
}
@media (min-width: 40rem) { .join__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 56rem) { .join__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .join__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Guide pages: light head on xuan paper, a cinnabar rule beside the title */
.guide-hero { background: var(--xuan) var(--c-surface); }
.guide-hero__title { padding-left: var(--s-4); border-left: 4px solid var(--c-zhu); font-weight: 700; }
.toc { border-top-color: var(--c-zhu); border-radius: var(--r-lg); }
.aside-card { border-radius: var(--r-lg); }

/* Footer: deep lacquer, a gilt key-fret band along the top */
.site-footer { background: var(--c-lacquer-900); color: #d9c8bb; }
.site-footer::before { height: 12px; background: var(--huiwen-gold) repeat-x left center / 16px 12px; }
.site-footer__base { color: #b9a596; border-top-color: rgb(240 207 134 / 0.18); }
/* Smallest phones (320): seal, wordmark and Menu button must fit on one line */
@media (max-width: 23.99rem) {
	.brand__mark { gap: 0.45rem; }
	.brand__seal { width: 2rem; height: 2rem; font-size: 1.1rem; }
	.brand__word { font-size: 1.05rem; }
	.nav-toggle { padding-inline: 0.75rem; }
}

/* ---------- 404: full 1400 wrap, text column + the published guides ---------- */
.e404 { display: grid; gap: var(--s-7); padding-block: var(--s-8) var(--section-y); }
.e404__text { max-width: 40rem; }
.e404__guides { display: grid; gap: var(--s-3); }
.e404__guides a { display: grid; gap: 0.15rem; height: 100%; padding: var(--s-4) var(--s-5); border: 1px solid var(--c-line); border-top: 3px solid var(--c-zhu); border-radius: var(--r-lg); background: var(--c-surface); color: var(--c-ink); text-decoration: none; }
.e404__guides a:hover { background: #fff; }
.e404__guides span { font-size: var(--fs-sm); color: var(--c-muted); }
@media (min-width: 40rem) { .e404__guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .e404__guides { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Blog list: cards across the full 1400 ---------- */
.post-list { padding-block: var(--s-8) var(--section-y); }
.post-list__grid { display: grid; gap: var(--s-4); }
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--s-5); border: 1px solid var(--c-line); border-top: 4px solid var(--c-zhu); border-radius: var(--r-lg); background: var(--c-surface); }
.post-list__grid li:nth-child(3n+2) .post-card { border-top-color: var(--c-jin); }
.post-list__grid li:nth-child(3n) .post-card { border-top-color: var(--c-yu); }
.post-card:hover { background: #fff; }
.post-card__date { margin-bottom: var(--s-2); font-size: var(--fs-sm); color: var(--c-muted); }
.post-card__title { font-size: var(--fs-md); line-height: 1.25; }
.post-card__title a { color: var(--c-ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card__text { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-muted); }
@media (min-width: 40rem) { .post-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .post-list__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); } }

/* Six hanging scrolls in one row only where each is wide enough for "Hangzhou" */
@media (min-width: 80rem) { .cities__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ==========================================================================
   China layout v2 (2026-11-22, Ali: "it still looks like Korea... so many boxes")
   Own skeleton, not Korea's (BRAIN rule 16), per section:
   - Header: Korea = logo left, nav right. China = central axis: the name board (bian'e) in
     the middle of the top row, the free channel left of it, the checker right; the sections
     on their own centred row under it. The top row scrolls away, the nav row stays.
   - Hero: Korea = a framed box, text left, tiles right. China = no frame: an ink-wash
     landscape across the full screen, the promise centred on the axis, two brush-script
     couplet lines at the two edges of the 1400 box, the key facts on the ink ground.
   - Sections: open columns, rules and empty space (liubai) instead of cards; section heads
     centred on the axis. At most one framed thing per screen (the application form).
   ========================================================================== */

/* Brush script (Ma Shan Zheng, OFL, Google Fonts text= subset: only the characters printed) */
@font-face { font-family: "Ma Shan Zheng Sub"; src: url("../fonts/ma-shan-zheng-sub.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { --f-brush: "Ma Shan Zheng Sub", "Noto Sans SC CJK", "PingFang SC", "Microsoft YaHei", sans-serif; --c-ink-900: #1c1917; --top-h: 4.5rem; --navrow-h: 3rem; }

/* ---------- Header: central axis ---------- */
.site-header__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: var(--header-h); }
.site-header__side { display: none; }
.site-header__end { display: flex; align-items: center; gap: var(--s-3); }
.site-header__cta { display: none; }
/* The name board: lacquer, gilt double line, gilt letters */
.site-header .brand__mark { gap: 0.55rem; padding: 0.4rem 0.9rem 0.4rem 0.45rem; border-radius: 3px; background: var(--c-lacquer); box-shadow: inset 0 0 0 1px var(--c-jin), inset 0 0 0 4px var(--c-lacquer), inset 0 0 0 5px rgb(199 154 62 / 0.55), 0 6px 14px -10px rgb(0 0 0 / 0.6); }
.site-header .brand__seal { width: 2rem; height: 2rem; font-size: 1.1rem; box-shadow: inset 0 0 0 2px var(--c-zhu), inset 0 0 0 3px rgb(240 207 134 / 0.75); }
.site-header .brand__word { color: #f3dc9c; font-size: 1.15rem; }
.site-header .brand__tld { color: #fff; }
.site-nav__inner { padding-inline: 0; }
@media (max-width: 63.99rem) {
	.js .site-nav .wrap { padding-inline: 0; max-width: none; }
	.site-nav__cta--wa { margin-top: var(--s-3); }
}
@media (max-width: 23.99rem) {
	.site-header .brand__mark { padding: 0.35rem 0.6rem 0.35rem 0.35rem; }
	.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.nav-toggle { width: 2.75rem; padding: 0; justify-content: center; }
}
@media (min-width: 64rem) {
	html { scroll-padding-top: calc(var(--navrow-h) + 12px + 1rem); }
	.site-header { top: calc(-1 * var(--top-h)); }
	.admin-bar .site-header { top: calc(32px - var(--top-h)); }
	.site-header__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); min-height: var(--top-h); }
	.site-header__side { display: inline-flex; align-items: center; gap: var(--s-2); justify-self: start; min-height: 2.75rem; color: var(--c-ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
	.site-header__side .icon { width: 1.15rem; height: 1.15rem; color: #1f7a4d; }
	.site-header__side:hover { color: var(--c-zhu); }
	.site-header__end { justify-self: end; }
	.site-header__cta { display: inline-flex; }
	.site-header .brand__mark { padding: 0.5rem 1.2rem 0.5rem 0.55rem; }
	.site-header .brand__seal { width: 2.25rem; height: 2.25rem; font-size: 1.2rem; }
	.site-header .brand__word { font-size: 1.3rem; }
	.site-nav, .no-js .site-nav { display: block; border-top: 1px solid var(--c-line); }
	.site-nav__inner { display: flex; justify-content: center; align-items: center; min-height: var(--navrow-h); }
	.site-nav__list { gap: 0; }
	.site-nav__list li { display: flex; align-items: center; }
	/* A small gilt lozenge between the links */
	.site-nav__list li + li::before { content: ""; width: 5px; height: 5px; margin-inline: clamp(0.9rem, 0.2rem + 1.2vw, 1.6rem); background: var(--c-jin); transform: rotate(45deg); }
	.site-nav__link.is-active { box-shadow: none; color: var(--c-zhu); }
	.site-nav__cta { display: none; }
}

/* ---------- Section heads on the axis ---------- */
.section__head--center { max-width: 48rem; margin-inline: auto; text-align: center; }
.section__head--center .section__intro { margin-inline: auto; }

/* ---------- Hero: ink-wash landscape, the promise on the axis ---------- */
.shan { position: relative; background: var(--xuan) var(--c-paper); }
.shan__sky { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(10rem, 6rem + 14vw, 18rem); }
.shan__land { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(11rem, 6rem + 16vw, 21rem); }
.shan__sun { fill: var(--c-zhu); opacity: 0.88; }
.shan__axis { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.shan__line { display: none; }
.shan__text { max-width: 54rem; margin-inline: auto; text-align: center; }
.shan__title { font-family: var(--f-display); font-size: var(--fs-hero); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.shan__lead { max-width: 42rem; margin: var(--s-4) auto 0; font-size: var(--fs-lead); color: var(--c-muted); text-wrap: pretty; }
.shan__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
.shan__note { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); }
@media (min-width: 48rem) {
	.shan__axis { grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--s-6); }
	.shan__line { display: block; writing-mode: vertical-rl; margin: 0; font-family: var(--f-brush); font-size: clamp(2.75rem, 1.5rem + 3vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: 0.04em; color: var(--c-ink); }
	.shan__line--l { padding-top: clamp(1rem, 0.5rem + 2vw, 3rem); }
	.shan__line .seal { writing-mode: horizontal-tb; margin-top: var(--s-4); width: 2.5rem; height: 2.5rem; font-size: 1.4rem; transform: rotate(-4deg); }
}
/* The ink ground the near range runs into: the key facts, in gilt */
.shan__ground { background: var(--c-ink-900); color: #e9e2d6; padding-block: var(--s-4) var(--s-7); }
.shan__facts { display: grid; gap: var(--s-5); }
.shan__facts li { display: flex; flex-direction: column; gap: 0.3rem; padding-top: var(--s-4); border-top: 1px solid rgb(199 154 62 / 0.4); }
.shan__figure { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 700; line-height: 1.15; color: #e7c675; }
.shan__fact { font-size: var(--fs-sm); color: rgb(233 226 214 / 0.82); }
.shan__source { margin-top: auto; padding-top: var(--s-2); font-size: var(--fs-xs); font-weight: 600; color: #fff; text-decoration-color: rgb(231 198 117 / 0.7); }
.shan__ground :focus-visible { outline-color: #e7c675; }
@media (min-width: 40rem) { .shan__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); } }
@media (min-width: 64rem) {
	.shan__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.shan__facts li { padding: var(--s-2) var(--s-6) 0; border-top: 0; border-left: 1px solid rgb(199 154 62 / 0.4); }
	.shan__facts li:first-child { padding-left: 0; border-left: 0; }
	.shan__facts li:last-child { padding-right: 0; }
}

/* ---------- Routes: four open columns, each opened by a moon gate ---------- */
.ways__row { display: grid; gap: var(--s-7); }
.way-col { display: flex; flex-direction: column; }
.way-col__gate { display: grid; place-items: center; width: 4.75rem; height: 4.75rem; margin-bottom: var(--s-5); border: 2px solid var(--c-ink); border-radius: 50%; box-shadow: inset 0 0 0 5px var(--c-paper), inset 0 0 0 6px var(--c-jin); font-family: var(--f-brush); font-size: 2.4rem; line-height: 1; color: var(--c-zhu); }
.way-col__name { font-size: var(--fs-md); font-weight: 700; line-height: 1.25; }
.way-col__title { margin-top: var(--s-2); font-weight: 600; line-height: 1.4; }
.way-col__who { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-muted); }
.way-col__facts { display: grid; gap: var(--s-3); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--c-line); font-size: var(--fs-sm); }
.way-col__facts li { position: relative; padding-left: 1.15rem; }
.way-col__facts li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.4rem; height: 0.4rem; background: var(--c-zhu); transform: rotate(45deg); }
.way-col__go { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); margin-top: auto; padding-top: var(--s-5); }
.way-col__link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 2.75rem; color: var(--c-zhu-700); font-weight: 700; text-decoration: none; }
.way-col__link .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--t-fast) var(--ease); }
.way-col__link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.way-col__link:hover .icon { transform: translateX(4px); }
.way-col__help { font-size: var(--fs-sm); color: var(--c-muted); }
@media (min-width: 40rem) { .ways__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); } }
@media (min-width: 64rem) {
	.ways__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.way-col { padding-inline: var(--s-6); border-left: 1px solid var(--c-line); }
	.way-col:first-child { padding-left: 0; border-left: 0; }
	.way-col:last-child { padding-right: 0; }
}

/* ---------- CSC: two tracks parted by one cinnabar line, then the ledger, then the lists ---------- */
.tracks__title { margin-bottom: var(--s-6); font-size: var(--fs-md); font-weight: 700; text-align: center; }
.tracks { display: grid; gap: var(--s-7); }
.track__num { display: block; margin-bottom: var(--s-2); font-family: var(--f-brush); font-size: 4rem; line-height: 1; color: var(--c-zhu); }
.track__name { font-size: var(--fs-lg); font-weight: 700; line-height: 1.2; }
.track__how { max-width: 36rem; margin-top: var(--s-3); color: var(--c-muted); }
.track__facts { margin-top: var(--s-5); }
.track__facts > div { display: grid; gap: 0.15rem; padding-block: var(--s-3); border-top: 1px solid var(--c-line); }
.track__facts dt { font-weight: 700; }
.track__facts dd { margin: 0; color: var(--c-ink); }
.tracks__note { margin: var(--s-6) auto 0; text-align: center; }
@media (min-width: 40rem) { .track__facts > div { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s-4); } }
@media (min-width: 64rem) {
	.tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.track { padding-right: var(--s-8); }
	.track + .track { padding: 0 0 0 var(--s-8); border-left: 2px solid var(--c-zhu); }
}
.pays { margin-top: var(--s-8); }
.pays__title { margin-bottom: var(--s-4); font-size: var(--fs-md); font-weight: 700; }
.csc .eligible { margin-top: var(--s-8); }
/* Documents: two columns ruled in cinnabar like letter paper (xinjian), no frame */
.docs { display: grid; gap: var(--s-6); margin-top: var(--s-8); }
.docs__title { font-size: var(--fs-md); font-weight: 700; }
.docs__head p { max-width: 46rem; margin-top: var(--s-2); color: var(--c-muted); }
.docs__col-title { padding-bottom: var(--s-2); border-bottom: 2px solid var(--c-zhu); font-weight: 700; }
.docs__list li { position: relative; padding: var(--s-3) 0 var(--s-3) 1.75rem; border-bottom: 1px solid rgb(178 58 36 / 0.22); font-size: var(--fs-sm); }
.docs__list li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.9rem; height: 0.9rem; border: 1.5px solid var(--c-zhu); border-radius: 2px; }
@media (min-width: 56rem) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); } .docs__head { grid-column: 1 / -1; } }

/* ---------- Costs: the visa stages on the open page, one gilt thread through the seals ---------- */
.costs { background: var(--c-paper); border-block: 1px solid var(--c-line); }
.costs__sub { font-size: var(--fs-md); }
.stages { padding: 0; border-radius: 0; background: none; color: var(--c-ink); }
.stages__title { color: var(--c-ink); font-size: var(--fs-md); }
.stages__intro { color: var(--c-muted); }
.stage__text { color: var(--c-ink); }
.stages__source { border-top-color: var(--c-line); }
.stages a { color: var(--c-ink); text-decoration-color: var(--c-zhu); }
.stages :focus-visible { outline-color: var(--c-focus); }
@media (min-width: 64rem) { .stages { padding: 0; } }

/* ---------- Universities: the scrolls hang free, a rod top and bottom, no card edge ---------- */
.city { border: 0; border-radius: 0; box-shadow: 0 14px 22px -18px rgb(28 25 23 / 0.55), inset 0 0 0 1px rgb(94 26 18 / 0.06); }
.city::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -4px; height: 6px; border-radius: 3px; background: linear-gradient(180deg, #7a4528, #2b140d); }
.city__zh { font-family: var(--f-brush); font-weight: 400; }

/* ---------- Calendar: under the slips, the phases as open entries, no cards ---------- */
.calendar { background: var(--c-surface); }
.phases { gap: var(--s-6); }
.phase { padding: var(--s-4) 0 0; border: 0; border-top: 2px solid var(--c-ink); border-radius: 0; background: none; }
.phase.is-current { border-top-color: var(--c-zhu); box-shadow: none; }
.phase__example { border-top-color: var(--c-line); }
@media (min-width: 64rem) { .phases { gap: var(--s-7) var(--s-7); } }

/* ---------- Guides: the contents page without its frame; the centre column stays ---------- */
.contents { background: var(--c-paper); }
.contents__page { padding: 0; border: 0; background: none; box-shadow: none; }
@media (min-width: 48rem) { .contents__page { padding: 0; } }

/* ---------- Join: on the red band, open rows instead of cards ---------- */
.join__cards { max-width: 60rem; margin-inline: auto; gap: 0 var(--s-7); }
.join-card { padding: var(--s-4) 0; border-radius: 0; background: none; color: #fff; box-shadow: none; border-top: 1px solid rgb(255 255 255 / 0.35); }
.join-card:hover { transform: none; }
.join-card__text { color: rgb(255 255 255 / 0.85); }
.join-card__cta { background: var(--c-lacquer-900); }
.join-card--group .join-card__cta { background: var(--c-lacquer-900); }
.join-card:hover .join-card__cta, .join-card--group:hover .join-card__cta { background: #000; }

/* ---------- Paid help: one ledger, free and paid side by side ---------- */
.help { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.help-ledger { width: 100%; max-width: 64rem; margin-inline: auto; border-collapse: collapse; font-size: var(--fs-sm); }
.help-ledger th, .help-ledger td { padding: var(--s-3) var(--s-2); border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.help-ledger thead th { padding-block: var(--s-4); border-bottom: 2px solid var(--c-ink); font-size: var(--fs-sm); font-weight: 700; vertical-align: bottom; }
.help-ledger tbody th { font-weight: 500; }
.help-ledger__col { width: 5.5rem; text-align: center !important; }
.help-ledger__col--paid { background: rgb(178 58 36 / 0.06); }
.help-ledger thead .help-ledger__col--paid { background: var(--c-zhu); color: #fff; border-bottom-color: var(--c-zhu); }
.help-ledger__zh { display: block; margin-bottom: 0.2rem; font-family: var(--f-brush); font-size: 1.75rem; font-weight: 400; line-height: 1.1; }
.help-ledger .icon { width: 1.25rem; height: 1.25rem; color: var(--c-yu); }
.help-ledger__col--paid .icon { color: var(--c-zhu); }
.help-ledger__dash { display: inline-block; width: 0.9rem; height: 2px; background: var(--c-blue-400); vertical-align: middle; }
.help-ledger tfoot th, .help-ledger tfoot td { border-bottom: 0; font-weight: 700; }
.help__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
@media (min-width: 48rem) {
	.help-ledger { font-size: var(--fs-base); }
	.help-ledger th, .help-ledger td { padding: var(--s-3) var(--s-5); }
	.help-ledger__col { width: 13rem; }
	.help-ledger__zh { font-size: 2.25rem; }
}

/* ---------- Consultation: the one framed thing on its screen, a letter under a seal ---------- */
.consultation { background: var(--c-paper); }
.lead-form { position: relative; border-radius: 2px; background: var(--xuan) #fdfaf3; border-top: 4px solid var(--c-zhu); box-shadow: 0 1px 2px rgb(28 25 23 / 0.08), 0 22px 40px -28px rgb(28 25 23 / 0.55); }
.lead-form__seal { position: absolute; top: var(--s-5); right: var(--s-5); }
.lead-form__title { padding-right: 4rem; }

/* ---------- Guides and posts: the paid-help block before the author box ---------- */
.help-block { display: flex; gap: var(--s-5); align-items: flex-start; margin-top: var(--s-7); padding-block: var(--s-6); border-block: 2px solid var(--c-ink); }
.help-block__seal { flex: none; margin-top: 0.2rem; }
.prose .help-block__title, .help-block__title { margin: 0 0 var(--s-2); font-size: var(--fs-md); line-height: 1.3; }
.prose .help-block p { margin: 0 0 var(--s-4); color: var(--c-muted); }
.help-block .btn { text-decoration: none; }

/* v2 widths: every block on the full 1400 content box (Ali: "does it look like 1400?") */
.track__num.way-col__gate { margin-bottom: var(--s-4); font-size: 2.4rem; }
.help-ledger { max-width: none; }
.join__cards { max-width: none; }
.faq__col { max-width: none; }
.faq__col .faq__head { max-width: 48rem; }
@media (min-width: 64rem) {
	.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); align-items: start; border-top: 0; }
	.faq__item:nth-child(-n + 2) { border-top: 2px solid var(--c-ink); }
	.help-ledger__col { width: 18rem; }
}

/* ---------- Page heads: the same landscape, softer, the title on the axis ---------- */
.guide-hero--shan { position: relative; overflow: hidden; padding-bottom: clamp(6rem, 3rem + 7vw, 10rem); border-bottom: 0; }
.guide-hero--shan > .wrap { position: relative; }
.guide-hero--shan .shan__land { height: clamp(6rem, 3rem + 8vw, 11rem); opacity: 0.75; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
.guide-hero--shan .shan__land path:last-of-type { display: none; }
.guide-hero--shan:not(.about-hero) { text-align: center; }
.guide-hero--shan:not(.about-hero) .crumbs ol { justify-content: center; }
.guide-hero--shan:not(.about-hero) .guide-hero__title { margin-inline: auto; padding-left: 0; border-left: 0; text-wrap: balance; }
.guide-hero--shan:not(.about-hero) .guide-hero__title::after { content: ""; display: block; width: 2.5rem; height: 4px; margin: var(--s-4) auto 0; border-radius: 2px; background: var(--c-zhu); }
.guide-hero--shan:not(.about-hero) .guide-hero__lead { margin-inline: auto; text-wrap: pretty; }

/* ---------- Guide body: contents on the left as an open list, the text on the right ---------- */
/* Three columns over the full 1400: contents left, the text, next steps right. 64-80rem: two. */
.guide--axis .guide__aside--rail { display: none; }
@media (min-width: 64rem) {
	.guide--axis { grid-template-columns: minmax(14rem, 17rem) minmax(0, 46rem); grid-template-areas: "toc art" "rail art"; grid-template-rows: auto 1fr; justify-content: space-between; gap: 0 var(--s-8); }
	.guide--axis .guide__article { grid-area: art; }
	.guide--axis .guide__aside--toc { grid-area: toc; order: 0; }
	.guide--axis .guide__aside--rail { display: block; grid-area: rail; }
	.guide--axis .guide__aside--toc .guide__sticky { position: static; }
}
@media (min-width: 80rem) {
	.guide--axis { grid-template-columns: minmax(14rem, 16rem) minmax(0, 46rem) minmax(15rem, 17rem); grid-template-areas: "toc art rail"; grid-template-rows: auto; gap: 0 var(--s-7); }
	.guide--axis .guide__aside--toc .guide__sticky { position: sticky; }
	.guide--axis .guide__aside--rail .aside-card:first-child { margin-top: 0; }
}
.guide--axis .guide__sticky { top: calc(var(--navrow-h) + 12px + var(--s-5)); }
.aside-card--help .seal { margin-bottom: var(--s-3); }
.guide--axis .toc { padding: 0 0 0 var(--s-4); border: 0; border-left: 2px solid var(--c-zhu); border-radius: 0; background: none; }
.guide--axis .aside-card { padding: var(--s-4) 0 0; border: 0; border-top: 2px solid var(--c-ink); border-radius: 0; background: none; margin-top: var(--s-6); }

/* ---------- Blog list and 404: open entries under an ink rule, no cards ---------- */
.post-card, .post-list__grid li:nth-child(n) .post-card { padding: var(--s-4) 0 0; border: 0; border-top: 2px solid var(--c-ink); border-radius: 0; background: none; box-shadow: none; }
.post-card:hover { background: none; }
.post-card:hover .post-card__title a { color: var(--c-zhu-700); text-decoration: underline; text-underline-offset: 0.2em; }
.post-list__grid { column-gap: var(--s-7); row-gap: var(--s-7); }
.e404__guides { gap: var(--s-5) var(--s-6); }
.e404__guides a, .e404__guides a:hover { padding: var(--s-3) 0 0; border: 0; border-top: 2px solid var(--c-ink); border-radius: 0; background: none; }
.e404__guides a:hover strong, .e404__guides a:hover { color: var(--c-zhu-700); }

/* Author page /author/ali-silat/ (templates/author.php), same as Korea 2026-11-22 */
.author-hero .author-profile__role { margin-top: var(--s-3); }
.author-hero__bio { margin-top: var(--s-3); max-width: 44rem; margin-inline: auto; }
.author-hero__bio > p + p { margin-top: var(--s-2); }
.author-index { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .author-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Logo image (2026-11-22): white logo on the lacquer name board in the header, on the lacquer band in the footer. */
.brand__mark .brand__logo { height: 2.75rem; width: auto; }
.site-header .brand__mark { padding: 0.3rem 0.8rem; }
@media (max-width: 39.99rem) { .site-header .brand__mark .brand__logo { height: 2.4rem; } .site-header .brand__mark { padding: 0.25rem 0.55rem; } }
@media (min-width: 64rem) { .site-header .brand__mark { padding: 0.3rem 1rem; } .site-header .brand__mark .brand__logo { height: 3.25rem; } }
.site-footer__logo .brand__mark .brand__logo { height: 3rem; }

/* Header without the WhatsApp link (2026-11-22): the board keeps the middle column. */
@media (min-width: 64rem) { .site-header__top > .brand { grid-column: 2; } .site-header__top > .site-header__end { grid-column: 3; } }
