/*
Theme Name: Lin Omega Desk
Theme URI: https://lin.local/lin-omega-desk
Author: Lin
Author URI: https://lin.local
Description: 紙張質感、桌面拼貼、終端機搜尋與 Windows 3.1 媒體視窗風格的手工感 WordPress 主題。
Version: 1.1.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lin-omega
Tags: blog, custom-logo, featured-images, custom-menu, threaded-comments
*/

:root {
	--paper: #edebe6;
	--paper-deep: #ddd8cc;
	--paper-soft: #f8f3e9;
	--ink: #2c2822;
	--ink-soft: #5f574d;
	--warm: #8a8478;
	--rust: #d9444a;
	--moss: #6b8f5e;
	--ochre: #d4a843;
	--terminal: #11100e;
	--terminal-line: #3b3932;
	--white: #fffaf0;
	--shadow-ink: rgba(44, 40, 34, 0.18);
	--font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	--font-display: "Trebuchet MS", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
	--font-hand: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
	--font-mono: "Fira Code", "DM Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--max-page: 1180px;
	--focus: 2px solid var(--rust);
	color-scheme: light;
}




@media (min-width: 1200px) {
	:root {
		--max-page: 1340px;
	}
}

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

html {
	min-height: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--ink);
	font-family: var(--font-body);
	line-height: 1.78;
	background:
		radial-gradient(circle at 18% 12%, rgba(212, 168, 67, 0.15), transparent 24rem),
		radial-gradient(circle at 82% 6%, rgba(107, 143, 94, 0.14), transparent 22rem),
		linear-gradient(180deg, #f3efe6 0%, var(--paper) 48%, #dfd8ca 100%);
	overflow-x: hidden;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	content: "";
	background-image:
		linear-gradient(90deg, rgba(44, 40, 34, 0.035) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px),
		radial-gradient(circle, rgba(44, 40, 34, 0.07) 0 1px, transparent 1px);
	background-size: 34px 34px, 34px 34px, 9px 9px;
	mix-blend-mode: normal;
	opacity: 0.12;
}

body.search-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-color: rgba(217, 68, 74, 0.42);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--rust);
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	color: inherit;
}

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

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

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	color: var(--terminal);
	background: var(--ochre);
	border: 2px solid var(--ink);
}

.site-header {
	width: min(var(--max-page), calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 8px;
}

.site-header__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.site-brand {
	position: relative;
	display: grid;
	gap: 4px;
}

.site-brand__logo {
	max-width: 180px;
	margin-bottom: 8px;
}

.site-brand__logo img {
	width: auto;
	max-height: 72px;
}

.site-brand__mark {
	display: inline-flex;
	width: min(17.5rem, 62vw);
	min-height: 44px;
	align-items: center;
	color: var(--ink);
	text-decoration: none;
	transform: rotate(-0.65deg);
	transform-origin: left center;
}

.site-brand__mark:hover,
.site-brand__mark:focus-visible {
	color: inherit;
	transform: rotate(-0.65deg) translateY(-1px);
}

.site-brand__logo-image {
	width: 100%;
	height: auto;
	display: block;
}

.site-brand__name {
	display: inline-flex;
	width: fit-content;
	align-items: baseline;
	gap: 3px;
	color: var(--ink);
	font-family: var(--font-hand);
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transform: rotate(-1.5deg);
}

.site-brand__name span {
	color: var(--rust);
}

.site-brand__description {
	max-width: 28rem;
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.site-header__tools {
	display: flex;
	align-items: center;
	gap: 12px;
}

.visitor-counter {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--warm);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.visitor-counter__digits {
	display: inline-flex;
	padding: 3px 5px;
	background: rgba(44, 40, 34, 0.06);
	border: 1px inset rgba(44, 40, 34, 0.2);
}

.visitor-counter__digits span {
	display: grid;
	width: 13px;
	height: 18px;
	place-items: center;
	margin-left: -1px;
	color: var(--ink);
	background: var(--paper-soft);
	border: 1px solid rgba(44, 40, 34, 0.18);
	line-height: 1;
}

.search-trigger,
.desktop-chip,
.site-search-fallback button,
.terminal-search__submit,
.terminal-search__close {
	min-height: 44px;
	border: 2px solid var(--ink);
	border-color: #fffaf0 var(--ink) var(--ink) #fffaf0;
	background: var(--paper-deep);
	box-shadow: 2px 2px 0 rgba(44, 40, 34, 0.28);
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.search-trigger:hover,
.desktop-chip:hover,
.site-search-fallback button:hover,
.terminal-search__submit:hover,
.terminal-search__close:hover {
	color: var(--terminal);
	background: var(--ochre);
	transform: translate(-1px, -1px);
}

.search-trigger:active,
.desktop-chip:active,
.site-search-fallback button:active,
.terminal-search__submit:active,
.terminal-search__close:active {
	border-color: var(--ink) #fffaf0 #fffaf0 var(--ink);
	box-shadow: none;
	transform: translate(1px, 1px);
}

.search-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	font-family: var(--font-mono);
	font-size: 0.82rem;
}

.search-trigger__key {
	color: var(--rust);
	font-weight: 700;
}

.site-nav {
	margin-top: 14px;
	padding: 10px 0 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
	display: none;
}

.site-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
	white-space: nowrap;
}

.site-menu a {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	padding: 4px 8px;
	color: var(--ink-soft);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.site-menu a:hover,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
	color: var(--rust);
	transform: rotate(-1deg);
}

.site-search-fallback {
	display: grid;
	max-width: 520px;
	gap: 6px;
	margin: 12px auto 0;
	color: var(--ink-soft);
	font-family: var(--font-mono);
	font-size: 0.78rem;
}

.js .site-search-fallback {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.site-search-fallback__row {
	display: flex;
	gap: 8px;
}

.site-search-fallback input {
	min-width: 0;
	flex: 1;
	border: 2px inset var(--paper-deep);
	padding: 8px 10px;
	color: var(--ink);
	background: var(--white);
}

.site-search-fallback button {
	padding: 6px 12px;
	font-family: var(--font-mono);
}

.site-main {
	width: min(var(--max-page), calc(100% - 32px));
	margin: 0 auto;
	padding: 36px 0 72px;
}

.paper-sheet {
	position: relative;
	border: 1px solid rgba(44, 40, 34, 0.18);
	background:
		linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(235, 229, 216, 0.9)),
		repeating-linear-gradient(0deg, transparent 0 28px, rgba(44, 40, 34, 0.035) 29px 30px);
	box-shadow: 6px 7px 0 rgba(44, 40, 34, 0.1);
}

.paper-sheet::before {
	position: absolute;
	top: -12px;
	left: 28px;
	width: 82px;
	height: 24px;
	content: "";
	background: rgba(212, 168, 67, 0.26);
	border: 1px solid rgba(44, 40, 34, 0.08);
	transform: rotate(-5deg);
}

.section-kicker {
	margin: 0 0 10px;
	color: var(--warm);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.desk-masthead {
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.88fr) minmax(170px, 0.42fr);
	gap: 24px;
	align-items: start;
}

.desk-masthead__copy {
	z-index: 2;
	padding: clamp(28px, 5vw, 54px);
	transform: rotate(-0.8deg);
}

.desk-masthead__copy h1,
.archive-header h1,
.singular-header h1,
.empty-state h1,
.empty-state h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 7vw, 5.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 0.98;
}

.desk-masthead__intro {
	max-width: 34rem;
	margin: 22px 0 0;
	color: var(--ink-soft);
	font-size: clamp(1rem, 1.8vw, 1.18rem);
	line-height: 1.9;
}

.desk-masthead__actions,
.empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.desktop-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 14px;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	text-decoration: none;
}

.desktop-chip--link {
	background: var(--moss);
	color: var(--white);
}

.desk-masthead__media {
	margin-top: 38px;
	transform: rotate(1.2deg);
}

.desk-masthead__folders {
	margin-top: 82px;
	padding: 18px 16px;
	border: 1px dashed rgba(44, 40, 34, 0.32);
	background: rgba(255, 250, 240, 0.44);
	transform: rotate(-2deg);
}

.folder-list {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.folder-list a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 7px 8px;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	text-decoration: none;
	background: rgba(237, 235, 230, 0.8);
	border: 1px solid rgba(44, 40, 34, 0.14);
}

.folder-list a:hover {
	color: var(--ink);
	background: rgba(212, 168, 67, 0.22);
}

.folder-list__empty {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
}

.featured-note {
	position: relative;
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin: -12px 0 64px 6%;
	padding: 28px 32px;
	color: var(--white);
	background: var(--terminal);
	border: 3px double var(--paper-deep);
	transform: rotate(0.7deg);
}

.featured-note__index {
	color: var(--ochre);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.16em;
}

.featured-note h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.55rem, 4vw, 2.8rem);
	line-height: 1.2;
}

.featured-note h2 a {
	text-decoration: none;
}

.featured-note p:not(.section-kicker) {
	max-width: 46rem;
	margin: 14px 0 0;
	color: rgba(255, 250, 240, 0.76);
}

.article-board-section {
	margin-top: 56px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.section-heading h2 {
	max-width: 580px;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.65rem, 4vw, 3.2rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.article-board {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	align-items: start;
	padding: 10px 0 34px;
}

.paper-article-card {
	position: relative;
	z-index: 1;
	margin: 0 -10px 28px;
	list-style: none;
	transform: rotate(var(--card-rotate, 0deg)) translateY(var(--card-shift, 0));
	transition: transform 220ms ease, z-index 0ms linear 0ms;
}

.paper-article-card:nth-child(6n + 1) {
	--card-rotate: -1.5deg;
	--card-shift: 10px;
}

.paper-article-card:nth-child(6n + 2) {
	--card-rotate: 1.1deg;
	--card-shift: 34px;
}

.paper-article-card:nth-child(6n + 3) {
	--card-rotate: -2deg;
	--card-shift: 4px;
}

.paper-article-card:nth-child(6n + 4) {
	--card-rotate: 1.8deg;
	--card-shift: -12px;
}

.paper-article-card:nth-child(6n + 5) {
	--card-rotate: -0.7deg;
	--card-shift: 22px;
}

.paper-article-card:nth-child(6n) {
	--card-rotate: 1.4deg;
	--card-shift: 8px;
}

.paper-article-card:hover,
.paper-article-card:focus-within {
	z-index: 10;
	transform: rotate(0deg) translateY(-8px) scale(1.035);
}

.paper-article-card__link {
	position: relative;
	display: block;
	min-height: 100%;
	color: var(--ink);
	text-decoration: none;
	background:
		linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(235, 229, 216, 0.96)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(44, 40, 34, 0.04) 32px 33px);
	border: 1px solid rgba(44, 40, 34, 0.22);
	box-shadow: 5px 6px 0 rgba(44, 40, 34, 0.12);
	transition: border-color 220ms ease, box-shadow 220ms ease;
}

.paper-article-card__link::before {
	position: absolute;
	top: -10px;
	left: 22px;
	width: 72px;
	height: 22px;
	content: "";
	background: rgba(107, 143, 94, 0.24);
	border: 1px solid rgba(44, 40, 34, 0.08);
	transform: rotate(-8deg);
}

.paper-article-card:nth-child(2n) .paper-article-card__link::before {
	right: 24px;
	left: auto;
	background: rgba(217, 68, 74, 0.18);
	transform: rotate(7deg);
}

.paper-article-card:hover .paper-article-card__link,
.paper-article-card:focus-within .paper-article-card__link {
	border-color: rgba(217, 68, 74, 0.58);
	box-shadow: 9px 10px 0 rgba(44, 40, 34, 0.16);
}

.paper-article-card__media {
	aspect-ratio: 4 / 3;
	margin: 10px 10px 0;
	overflow: hidden;
	border: 1px solid rgba(44, 40, 34, 0.18);
	background: var(--paper-deep);
}

.paper-article-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.88) contrast(1.02);
}

.paper-article-card__media--placeholder {
	display: grid;
	align-items: end;
	min-height: 0;
	padding: 16px;
	background:
		linear-gradient(180deg, rgba(41, 50, 55, 0.84), rgba(82, 100, 109, 0.96)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px);
}

.paper-article-card__media--placeholder > div {
	display: grid;
	align-content: space-between;
	gap: 12px;
	width: 100%;
	height: 100%;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.paper-article-card__media--placeholder span,
.paper-article-card__media--placeholder strong {
	display: block;
	color: rgba(249, 246, 239, 0.96);
}

.paper-article-card__media--placeholder span {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.paper-article-card__media--placeholder strong {
	max-width: 11ch;
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.2vw, 1.72rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
	word-break: break-word;
}

.paper-article-card--case .paper-article-card__media {
	background: #f6f1e8;
}

.paper-article-card__link--disabled {
	cursor: default;
}

.paper-article-card__link--disabled .paper-article-card__cta {
	color: var(--warm);
	border-color: rgba(44, 40, 34, 0.12);
}

.paper-article-card__shell {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.paper-article-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 20px 18px;
}

.paper-article-card__body {
	padding: 22px 22px 24px;
}

.paper-article-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	color: var(--warm);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.paper-article-card__meta--dual-flow span {
	position: relative;
	padding-inline: 0.78rem;
}

.paper-article-card__meta--dual-flow span:first-child::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -0.24rem;
	width: 0.42rem;
	height: 1px;
	background: currentColor;
	opacity: 0.45;
	transform: translateY(-50%);
}

.paper-article-card__title {
	margin: 12px 0 10px;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.paper-article-card__excerpt {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
	line-height: 1.72;
}

.paper-article-card__tags,
.singular-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 16px;
}

.paper-article-card__tags span,
.singular-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 3px 8px;
	color: var(--ink-soft);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	text-decoration: none;
	background: rgba(212, 168, 67, 0.15);
	border: 1px solid rgba(44, 40, 34, 0.1);
}

.archive-header {
	max-width: 820px;
	margin: 0 0 44px;
	padding: 34px clamp(24px, 5vw, 48px);
	transform: rotate(-0.6deg);
}

.archive-header h1 {
	font-size: clamp(2rem, 6vw, 4.4rem);
}

.archive-header p:not(.section-kicker) {
	max-width: 40rem;
	margin: 16px 0 0;
	color: var(--ink-soft);
}

.home-hero__featured-visual {
	height: 100%;
	padding: 14px;
	background: linear-gradient(180deg, rgba(231, 224, 208, 0.92), rgba(215, 210, 197, 0.96));
}

.home-hero__featured-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}

.home-hero__featured-caption {
	display: inline-block;
}

.singular-layout {
	display: grid;
	grid-template-columns: minmax(216px, 0.88fr) minmax(0, 1.12fr);
	gap: clamp(22px, 2.6vw, 34px);
	align-items: start;
}

.note-detail-layout {
	grid-template-columns: minmax(196px, 248px) minmax(0, 1fr);
}

.singular-sidebar {
	position: sticky;
	top: 22px;
	min-width: 0;
	padding: 24px 20px;
	transform: rotate(-1.2deg);
}

.singular-sidebar--note {
	top: 18px;
	max-width: 248px;
	padding: 24px 20px 22px;
}

.metadata-list {
	display: grid;
	gap: 14px;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.8rem;
}

.metadata-list div {
	display: grid;
	gap: 3px;
}

.metadata-list dt {
	color: var(--warm);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.metadata-list dd {
	margin: 0;
}

.singular-sidebar-outline {
	display: grid;
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px dashed rgba(20, 25, 29, 0.18);
}

.singular-sidebar-outline a {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 36px;
	color: #27444d;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	font-weight: 780;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;
}

.singular-sidebar-outline a:hover {
	color: var(--rust);
}

.singular-content,
.page-surface {
	min-width: 0;
	padding: clamp(28px, 6vw, 64px);
}

.singular-content--note {
	padding: clamp(30px, 4.4vw, 56px);
}

.page-surface {
	max-width: 900px;
	margin: 0 auto;
}

.note-detail-layout {
	align-items: start;
}

.singular-header {
	margin-bottom: 28px;
}

.singular-header--detail {
	display: grid;
	gap: 8px;
}

.singular-header h1 {
	max-width: min(100%, 24ch);
	font-size: clamp(1.86rem, 3.5vw, 3.08rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.note-detail-back,
.note-detail-sidebar-link {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	min-height: 40px;
	padding: 0 0 0.1rem;
	color: #27444d;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.6;
	text-decoration: none;
	text-transform: uppercase;
}

.note-detail-back:hover,
.note-detail-sidebar-link:hover {
	color: var(--rust);
}

.note-detail-lead {
	max-width: 42rem;
	margin: 0;
	color: #26343b;
	font-size: clamp(1rem, 1.2vw, 1.08rem);
	font-weight: 560;
	line-height: 1.84;
}

.note-detail-sidebar-link {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid rgba(20, 25, 29, 0.12);
}

.note-briefing {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	gap: 18px;
	margin: 0 0 38px;
	padding: clamp(22px, 3vw, 30px);
	background:
		linear-gradient(135deg, rgba(255, 251, 244, 0.98), rgba(242, 246, 243, 0.92)),
		repeating-linear-gradient(0deg, transparent 0 34px, rgba(20, 25, 29, 0.017) 34px 35px);
	border: 1px solid rgba(20, 25, 29, 0.12);
	box-shadow: 0 10px 28px rgba(20, 25, 29, 0.08);
}

.note-briefing__intro {
	display: grid;
	align-content: start;
	gap: 10px;
	padding-right: 10px;
}

.note-briefing__intro h2 {
	margin: 0;
	max-width: 15ch;
	font-size: clamp(1.52rem, 2vw, 1.95rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.note-briefing__panel {
	display: grid;
	gap: 10px;
	padding: 18px 18px 16px;
	background: rgba(255, 255, 255, 0.56);
	border: 1px solid rgba(20, 25, 29, 0.1);
}

details.note-briefing__panel {
	display: block;
}

.note-briefing__title {
	margin: 0;
	color: #27444d;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	font-weight: 860;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

summary.note-briefing__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	list-style: none;
}

summary.note-briefing__title::-webkit-details-marker {
	display: none;
}

summary.note-briefing__title::after {
	display: inline-grid;
	width: 26px;
	height: 26px;
	place-items: center;
	color: #27444d;
	font-family: var(--font-mono);
	font-size: 0.9rem;
	content: "+";
	background: rgba(54, 95, 107, 0.08);
	border: 1px solid rgba(54, 95, 107, 0.18);
	border-radius: 999px;
	transition: transform 160ms ease, background-color 160ms ease;
}

details[open] > summary.note-briefing__title::after {
	content: "−";
	background: rgba(184, 109, 66, 0.12);
}

.note-briefing__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 1.15rem;
	color: #203037;
	font-size: 0.97rem;
	font-weight: 560;
	line-height: 1.86;
}

details.note-briefing__panel > .note-briefing__list {
	margin-top: 12px;
}

.note-briefing__list--ordered {
	padding-left: 1.25rem;
}

.entry-content {
	min-width: 0;
	color: var(--ink);
	font-size: 1.05rem;
	line-height: 1.94;
	overflow-wrap: break-word;
}

.entry-content > * {
	max-width: 74ch;
}

.entry-content > .alignwide {
	max-width: 100%;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
	margin-top: 0;
	margin-bottom: 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.7em 0 0.75em;
	font-family: var(--font-display);
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.entry-content h2 {
	font-size: clamp(1.48rem, 2.2vw, 2.05rem);
	letter-spacing: -0.03em;
}

.entry-content h3 {
	font-size: clamp(1.14rem, 1.6vw, 1.42rem);
	letter-spacing: -0.02em;
}

.entry-content pre,
.entry-content code,
.entry-content kbd {
	font-family: var(--font-mono);
}

.entry-content pre {
	max-width: 100%;
	padding: 18px;
	overflow-x: auto;
	color: #e8e0cf;
	background: var(--terminal);
	border: 2px inset var(--terminal-line);
}

.entry-content code {
	padding: 0.12em 0.32em;
	color: var(--rust);
	background: rgba(44, 40, 34, 0.07);
}

.entry-content pre code {
	padding: 0;
	color: inherit;
	background: transparent;
}

.entry-content blockquote {
	padding: 16px 20px;
	margin-left: 0;
	color: var(--ink-soft);
	border-left: 4px solid var(--ochre);
	background: linear-gradient(135deg, rgba(212, 168, 67, 0.13), rgba(255, 250, 240, 0.58));
}

.entry-content img {
	border: 1px solid rgba(44, 40, 34, 0.16);
}

.entry-content a {
	color: #27444d;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.14em;
}

.entry-content a:hover {
	color: var(--rust);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3rem;
}

.entry-content li + li {
	margin-top: 0.62em;
}

.entry-content strong {
	color: #162329;
}

.entry-content table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: rgba(255, 253, 248, 0.76);
	border: 1px solid rgba(20, 25, 29, 0.12);
}

.entry-content thead {
	background: rgba(54, 95, 107, 0.11);
}

.entry-content th,
.entry-content td {
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(20, 25, 29, 0.09);
}

.entry-content th {
	font-family: var(--font-display);
	font-size: 0.96rem;
	letter-spacing: -0.01em;
}

.entry-content tr:last-child td {
	border-bottom: 0;
}

.entry-content .article-callout,
.entry-content .article-checklist,
.entry-content .article-note-box,
.entry-content .article-faq {
	max-width: 72ch;
	margin: 1.7em 0;
	padding: 20px 22px;
	border: 1px solid rgba(20, 25, 29, 0.12);
}

.entry-content .article-callout {
	background: linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(245, 248, 246, 0.92));
	box-shadow: 0 10px 24px rgba(20, 25, 29, 0.06);
}

.entry-content .article-note-box {
	background: rgba(255, 255, 255, 0.58);
	border-left: 4px solid rgba(54, 95, 107, 0.52);
}

.entry-content .article-checklist {
	background: rgba(248, 250, 247, 0.9);
}

.entry-content .article-faq {
	background: linear-gradient(135deg, rgba(255, 252, 247, 0.92), rgba(249, 252, 250, 0.94));
}

.entry-content .article-callout > :first-child,
.entry-content .article-checklist > :first-child,
.entry-content .article-note-box > :first-child,
.entry-content .article-faq > :first-child {
	margin-top: 0;
}

.entry-content .article-callout > :last-child,
.entry-content .article-checklist > :last-child,
.entry-content .article-note-box > :last-child,
.entry-content .article-faq > :last-child {
	margin-bottom: 0;
}

.entry-content .article-callout__title,
.entry-content .article-checklist__title,
.entry-content .article-note-box__title,
.entry-content .article-faq__title {
	margin: 0 0 10px;
	color: #27444d;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 880;
	letter-spacing: 0.11em;
	line-height: 1.5;
	text-transform: uppercase;
}

.entry-content .article-checklist ul,
.entry-content .article-faq ol {
	margin-bottom: 0;
}

.page-links,
.post-nav,
.pagination-nav {
	font-family: var(--font-mono);
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 32px 0 0 276px;
}

.post-nav--note {
	max-width: min(100%, 980px);
	margin: 32px auto 0;
	padding-left: clamp(0px, 18vw - 210px, 252px);
}

.post-nav > div,
.pagination-nav .nav-links,
.comments-area {
	padding: 14px;
	background: rgba(255, 250, 240, 0.46);
	border: 1px dashed rgba(44, 40, 34, 0.25);
}

.post-nav div:last-child {
	text-align: right;
}

.pagination-nav {
	margin-top: 34px;
}

.pagination-nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
}

.pagination-nav a,
.pagination-nav span {
	display: inline-flex;
	min-width: 36px;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	padding: 5px 9px;
	border: 1px solid rgba(44, 40, 34, 0.18);
	background: rgba(255, 250, 240, 0.66);
	text-decoration: none;
}

.pagination-nav .current {
	color: var(--white);
	background: var(--ink);
}

.empty-state {
	max-width: 720px;
	margin: 44px auto;
	padding: clamp(28px, 6vw, 56px);
	text-align: left;
}

.empty-state p:not(.section-kicker) {
	max-width: 34rem;
	color: var(--ink-soft);
}

.not-found-main {
	min-height: 48vh;
	display: grid;
	place-items: center;
}

.site-footer {
	display: block;
	width: 100%;
	margin: clamp(56px, 8vw, 92px) 0 0;
	padding: 0 0 clamp(18px, 3vw, 26px);
	color: var(--warm);
	font-family: var(--font-mono);
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.08), rgba(221, 216, 204, 0.2)),
		rgba(237, 235, 230, 0.42);
	border-top: 1px solid rgba(44, 40, 34, 0.12);
}

.site-footer__status {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) auto minmax(0, 1fr);
	width: min(var(--max-page), calc(100% - 32px));
	min-height: clamp(84px, 8vw, 112px);
	align-items: center;
	gap: clamp(14px, 3vw, 42px);
	margin: 0 auto;
	padding: clamp(18px, 3vw, 30px) 0 clamp(14px, 2vw, 18px);
}

.site-footer__update,
.site-footer__roles,
.site-footer__note,
.site-footer__mark {
	margin: 0;
}

.site-footer__update {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.58rem;
	width: fit-content;
	padding: 0.44rem 0.7rem 0.4rem;
	color: rgba(95, 87, 77, 0.78);
	font-size: clamp(0.72rem, 1.1vw, 0.82rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	background: rgba(255, 251, 244, 0.68);
	border: 1px solid rgba(44, 40, 34, 0.08);
	box-shadow: 4px 4px 0 rgba(44, 40, 34, 0.04);
}

.site-footer__dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: rgba(107, 143, 94, 0.82);
	border: 1px solid rgba(255, 254, 253, 0.78);
	border-radius: 999px;
	box-shadow: 0 0 0 3px rgba(107, 143, 94, 0.12);
}

.site-footer__signal {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	color: rgba(44, 40, 34, 0.4);
}

.site-footer__signal svg {
	width: 24px;
	height: 24px;
	overflow: visible;
}

.site-footer__signal path,
.site-footer__signal circle {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.site-footer__roles {
	justify-self: end;
	color: rgba(95, 87, 77, 0.72);
	font-size: clamp(0.7rem, 1.05vw, 0.8rem);
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.7;
	text-align: right;
	text-transform: uppercase;
}

.site-footer__baseline {
	display: flex;
	width: 100%;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 0.64rem max(20px, calc((100vw - var(--max-page)) / 2)) 0.72rem;
	border-top: 1px solid rgba(44, 40, 34, 0.12);
}

.site-footer__note {
	color: rgba(95, 87, 77, 0.7);
	font-family: var(--font-hand);
	font-size: clamp(0.76rem, 1.1vw, 0.92rem);
	letter-spacing: 0.015em;
	line-height: 1.68;
}

.site-footer__mark {
	color: rgba(95, 87, 77, 0.7);
	font-family: var(--font-hand);
	font-size: clamp(0.76rem, 1.1vw, 0.92rem);
	letter-spacing: 0.015em;
	line-height: 1.7;
	text-align: right;
}

@media (max-width: 980px) {
	.site-footer__status {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 0;
	}

	.site-footer__signal {
		justify-self: end;
	}

	.site-footer__roles {
		justify-self: start;
		text-align: left;
	}
}

@media (max-width: 640px) {
	.site-footer {
		margin-top: 48px;
		padding-bottom: 52px;
	}

	.site-footer__status {
		grid-template-columns: 1fr;
		width: calc(100% - 28px);
		gap: 14px;
		padding: 18px 0 12px;
	}

	.site-footer__update {
		gap: 0.5rem;
		padding: 0.42rem 0.62rem 0.38rem;
	}

	.site-footer__signal,
	.site-footer__roles {
		justify-self: start;
	}

	.site-footer__baseline {
		display: grid;
		padding: 0.62rem 14px 0.7rem;
	}

	.site-footer__mark {
		text-align: left;
	}
}

.back-to-top {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 90;
	display: grid;
	width: 54px;
	height: 62px;
	place-items: center;
	padding: 8px 6px;
	color: var(--ink);
	font-family: var(--font-mono);
	text-decoration: none;
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.94), rgba(248, 243, 233, 0.88)),
		var(--paper-soft);
	border: 1px solid rgba(44, 40, 34, 0.18);
	box-shadow: 5px 5px 0 rgba(44, 40, 34, 0.12);
	transition:
		color 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
	color: var(--moss);
	border-color: rgba(73, 111, 122, 0.38);
	box-shadow: 3px 3px 0 rgba(73, 111, 122, 0.18);
	transform: translate(2px, 2px);
}

.back-to-top:focus-visible {
	outline: var(--focus);
	outline-offset: 4px;
}

.back-to-top span {
	font-size: 1.22rem;
	line-height: 1;
}

.back-to-top em {
	font-size: 0.58rem;
	font-style: normal;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1;
}

@media (max-width: 980px) {
	.site-footer__status {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 0;
	}

	.site-footer__signal {
		justify-self: end;
	}

	.site-footer__roles,
	.site-footer__mark {
		justify-self: start;
		text-align: left;
	}
}

@media (max-width: 640px) {
	.site-footer {
		margin-top: 48px;
		padding-bottom: 52px;
	}

	.site-footer__status {
		grid-template-columns: 1fr;
		width: calc(100% - 28px);
		gap: 18px;
		padding: 20px 0 14px;
	}

	.site-footer__update {
		gap: 0.5rem;
	}

	.site-footer__signal,
	.site-footer__roles {
		justify-self: start;
	}

	.site-footer__baseline {
		display: grid;
		padding: 0.62rem 14px 0.7rem;
	}

	.site-footer__mark {
		text-align: left;
	}

	.back-to-top {
		right: max(12px, env(safe-area-inset-right));
		bottom: max(12px, env(safe-area-inset-bottom));
		width: 48px;
		height: 54px;
		box-shadow: 4px 4px 0 rgba(44, 40, 34, 0.1);
	}
}

.site-header {
	width: min(100% - 64px, 1500px);
	margin: 0 auto;
	padding: clamp(22px, 3.2vw, 44px) 0 10px;
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(180px, 0.85fr) minmax(420px, 1.4fr) minmax(180px, 0.85fr);
	align-items: center;
	gap: clamp(18px, 3vw, 48px);
}

.site-brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.site-brand__mark {
	display: inline-flex;
	width: clamp(190px, 18vw, 276px);
	max-height: 58px;
	align-items: center;
	color: var(--ink);
	text-decoration: none;
	transform: rotate(-0.45deg);
	transform-origin: left center;
}

.site-brand__mark:hover,
.site-brand__mark:focus-visible {
	color: inherit;
	transform: rotate(-0.45deg) translateY(-1px);
}

.site-brand__logo-image {
	display: block;
	width: 100%;
	max-height: 58px;
	height: auto;
}

.site-brand__description {
	display: none;
}

.site-nav {
	display: flex;
	justify-content: center;
	margin: 0;
}

.site-menu {
	justify-content: center;
	gap: clamp(10px, 2vw, 28px);
}

.site-header__meta {
	justify-self: end;
	margin: 0;
	color: rgba(95, 87, 77, 0.76);
	font-family: var(--font-mono);
	font-size: clamp(0.68rem, 1vw, 0.8rem);
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-align: right;
	white-space: nowrap;
}

@media (max-width: 980px) {
	.site-header {
		width: min(100% - 36px, var(--max-page));
	}

	.site-header__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 16px;
	}

	.site-brand {
		justify-content: center;
	}

	.site-brand__mark {
		width: clamp(180px, 48vw, 250px);
		max-height: 54px;
		transform-origin: center;
	}

	.site-nav {
		width: 100%;
	}

	.site-menu {
		justify-content: center;
	}

	.site-header__meta {
		justify-self: center;
		text-align: center;
	}
}

@media (max-width: 560px) {
	.site-header {
		padding-top: 18px;
	}

	.site-header__inner {
		gap: 13px;
	}

	.site-brand__mark {
		width: min(66vw, 220px);
		max-height: 52px;
	}

	.site-menu {
		gap: 8px;
	}

	.site-menu a {
		font-size: 0.72rem;
		letter-spacing: 0.08em;
	}

	.site-header__meta {
		font-size: 0.66rem;
	}
}

.home-hero .desk-masthead__copy h1 {
	display: grid;
	gap: 0.12em;
}

.home-hero .desk-masthead__copy h1 .hero-line-pair {
	display: grid;
	grid-template-columns: max-content max-content;
	align-items: baseline;
	justify-content: start;
	gap: clamp(0.32em, 1.2vw, 0.62em);
}

.home-hero .desk-masthead__copy h1 .hero-line-pair > span,
.home-hero .desk-masthead__copy h1 .hero-line-ai {
	display: block;
}

.home-hero .desk-masthead__copy h1 .hero-line-ai {
	width: max-content;
	max-width: 100%;
	white-space: nowrap;
}

@media (max-width: 1120px) {
	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: 1fr;
		gap: 0.05em;
	}
}

@media (max-width: 520px) {
	.home-hero .desk-masthead__copy h1 .hero-line-ai {
		width: auto;
		white-space: normal;
	}
}

/* 第六輪：文字清晰度校準。只調整可讀性，不改版型、文案與拼貼節奏。 */
:root {
	--ink: #14191d;
	--ink-soft: #334148;
	--warm: #59666c;
	--rust: #ad423f;
	--moss: #365f6b;
	--paper-card-border: rgba(20, 25, 29, 0.14);
	--paper-card-shadow: 0 1px 3px rgba(20, 25, 29, 0.08), 0 14px 30px rgba(45, 64, 68, 0.08);
	--paper-card-shadow-hover: 0 6px 14px rgba(20, 25, 29, 0.12), 0 22px 44px rgba(45, 64, 68, 0.16);
}

body {
	color: var(--ink);
	font-weight: 440;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body::before {
	opacity: 0.028;
}

.page-loading-overlay.is-ready:not(.is-visible) {
	visibility: hidden;
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

a:hover {
	color: var(--rust);
}

.site-menu a,
.site-header__meta,
.section-kicker,
.paper-article-card__meta,
.paper-article-card__kicker,
.paper-article-card__cta,
.desk-masthead__caption,
.featured-note__meta,
.site-footer,
.back-to-top {
	-webkit-font-smoothing: antialiased;
}

.site-menu a {
	color: #4f5d64;
	font-weight: 800;
	letter-spacing: 0.075em;
}

.site-header__meta {
	color: #536268;
	font-weight: 900;
	letter-spacing: 0.13em;
}

.desk-masthead__copy h1,
.archive-header h1,
.singular-header h1,
.empty-state h1,
.empty-state h2,
.section-heading h2,
.featured-note h2,
.paper-article-card__title {
	color: var(--ink);
	font-weight: 760;
	letter-spacing: -0.018em;
}

.desk-masthead__copy h1 {
	font-weight: 820;
	line-height: 1.33;
}

.home-hero .desk-masthead__copy h1 {
	gap: 0.08em;
}

.desk-masthead__intro,
.archive-header p:not(.section-kicker),
.featured-note p:not(.section-kicker),
.paper-article-card__excerpt,
.folder-list__empty,
.empty-state p:not(.section-kicker) {
	color: var(--ink-soft);
	font-weight: 520;
	line-height: 1.86;
}

.desk-masthead__intro {
	font-size: clamp(0.98rem, 1.45vw, 1.08rem);
	text-align: left;
}

.section-kicker,
.paper-article-card__meta,
.paper-article-card__kicker,
.featured-note__meta,
.desk-masthead__caption {
	color: var(--warm);
	font-weight: 850;
	letter-spacing: 0.105em;
}

.paper-card,
.paper-sheet,
.paper-article-card__link {
	background: #fffefd;
	border-color: var(--paper-card-border);
}

.paper-sheet {
	background:
		linear-gradient(135deg, rgba(255, 254, 253, 0.97), rgba(242, 246, 243, 0.94)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(20, 25, 29, 0.018) 32px 33px);
}

.paper-article-card__link,
.paper-article-card--project .paper-article-card__link {
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.99), rgba(250, 250, 246, 0.985)),
		repeating-linear-gradient(90deg, transparent 0 26px, rgba(54, 95, 107, 0.018) 27px 28px);
}

.paper-article-card__title {
	color: #14191d;
	font-weight: 820;
	line-height: 1.3;
}

.paper-article-card__excerpt {
	color: #26343b;
	font-size: 0.98rem;
	font-weight: 610;
	line-height: 1.82;
}

.paper-article-card__meta {
	color: #4b5a61;
	font-weight: 900;
	letter-spacing: 0.075em;
}

.paper-article-card__kicker {
	font-weight: 900;
	letter-spacing: 0.11em;
}

.paper-article-card__cta {
	color: #14191d;
	font-weight: 900;
	letter-spacing: 0.07em;
}

.paper-article-card__tags span,
.singular-tags a,
.skill-list li,
.folder-list a {
	color: #26343b;
	font-weight: 760;
	background: rgba(242, 246, 243, 0.94);
	border-color: rgba(20, 25, 29, 0.12);
}

.paper-article-card--project .paper-article-card__tags span {
	background: rgba(54, 95, 107, 0.12);
}

.hand-badge {
	color: var(--ink);
	font-weight: 700;
}

.hand-badge::before,
.hand-badge::after {
	border-color: rgba(20, 25, 29, 0.82);
}

.front-page-display-word p {
	color: rgba(20, 25, 29, 0.035);
}

.site-footer {
	color: #4f5d64;
	background:
		linear-gradient(180deg, rgba(54, 95, 107, 0.045), rgba(20, 25, 29, 0.035)),
		rgba(238, 242, 239, 0.78);
	border-top-color: rgba(20, 25, 29, 0.13);
}

.site-footer__update,
.site-footer__note {
	color: #4c5a60;
	background: rgba(255, 254, 253, 0.68);
	border-color: rgba(20, 25, 29, 0.12);
}

.site-footer__cell {
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.92), rgba(248, 250, 247, 0.8)),
		var(--paper);
	border-color: rgba(20, 25, 29, 0.14);
}

.site-footer__cell span {
	color: var(--moss);
	font-weight: 950;
}

.site-footer__cell strong {
	color: var(--ink);
	font-weight: 850;
}

.back-to-top {
	color: var(--ink);
	font-weight: 900;
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.98), rgba(248, 250, 247, 0.94)),
		var(--paper-soft);
	border-color: rgba(20, 25, 29, 0.2);
}

@media (max-width: 768px) {
	.desk-masthead__copy h1 {
		line-height: 1.28;
	}

	.desk-masthead__intro,
	.paper-article-card__excerpt {
		line-height: 1.8;
	}
}

@media (max-width: 480px) {
	.site-menu a {
		font-weight: 850;
		letter-spacing: 0.065em;
	}

	.desk-masthead__intro {
		font-size: 0.96rem;
		line-height: 1.78;
	}
}

/* 第七輪：RWD 與排版密度優化。保留拼貼風格，收斂平板與手機高度。 */
@media (min-width: 700px) and (max-width: 1024px) {
	.site-main {
		width: min(100% - 32px, 980px);
		padding-top: clamp(2rem, 4vw, 2.6rem);
	}

	.home-hero.desk-masthead {
		display: grid;
		grid-template-columns: minmax(230px, 0.42fr) minmax(0, 0.58fr);
		grid-template-areas:
			"kicker kicker"
			"portrait copy"
			"portrait side";
		align-items: start;
		gap: clamp(0.85rem, 2vw, 1.25rem) clamp(1rem, 3vw, 1.6rem);
		min-height: auto;
	}

	.home-hero .front-page-kicker {
		grid-area: kicker;
		margin: 0;
	}

	.home-hero .desk-masthead__portrait {
		grid-area: portrait;
		width: 100%;
		max-width: 21rem;
		align-self: start;
		justify-self: start;
	}

	.home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 4 / 5;
	}

	.home-hero .desk-masthead__copy {
		grid-area: copy;
		padding: 0.35rem 0 0;
	}

	.home-hero .desk-masthead__copy::before {
		position: static;
		display: block;
		width: fit-content;
		height: auto;
		margin: 0 0 0.55rem;
		padding-top: 0.25rem;
	}

	.home-hero .hand-badge {
		margin-bottom: 0.8rem;
	}

	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(2rem, 3.9vw, 2.45rem);
		line-height: 1.24;
	}

	.home-hero .desk-masthead__intro {
		max-width: 31rem;
		margin-top: 0.85rem;
		line-height: 1.78;
	}

	.home-hero .desk-masthead__actions {
		margin-top: 0.95rem;
	}

	.home-hero .desk-masthead__side-stack {
		grid-area: side;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.home-hero .side-stack-shadow {
		display: none;
	}

	.home-hero .side-stack-card {
		padding: 0.78rem;
		transform: rotate(-0.4deg);
	}

	.home-hero .skill-list--nodes {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.42rem;
	}

	.home-hero .skill-list--nodes::before {
		display: none;
	}

	.home-hero .skill-list--nodes li {
		display: grid;
		justify-items: center;
		min-height: 4.4rem;
		padding: 0.48rem 0.38rem;
		text-align: center;
	}

	.home-hero .skill-list--nodes li > span {
		width: 1.75rem;
		height: 1.75rem;
	}

	.service-grid {
		gap: 0.85rem;
	}

	.service-card {
		min-height: 11.5rem;
		padding: 1rem;
	}

	.page-hero {
		max-width: min(100%, 52rem);
		margin-bottom: clamp(1.4rem, 4vw, 2.4rem);
	}

	.works-page .page-hero,
	.notes-page .page-hero {
		margin-left: 0;
	}
}

@media (min-width: 700px) and (max-width: 820px) {
	.home-hero.desk-masthead {
		grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
	}

	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(1.85rem, 3.8vw, 2.2rem);
	}

	.home-hero .skill-list--nodes li {
		min-height: 4rem;
		font-size: 0.66rem;
	}
}

@media (max-width: 699px) {
	.site-main {
		width: min(100% - 28px, 40rem);
		padding-top: 1.7rem;
	}

	.home-hero.desk-masthead {
		gap: 0.82rem;
	}

	.home-hero .desk-masthead__copy {
		padding: 0;
	}

	.home-hero .desk-masthead__copy::before {
		margin-bottom: 0.5rem;
	}

	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(2.08rem, 10vw, 3.12rem);
		line-height: 1.22;
	}

	.home-hero .desk-masthead__intro {
		margin-top: 0.62rem;
	}

	.home-hero .desk-masthead__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.65rem;
		margin-top: 0.75rem;
	}

	.home-hero .desk-masthead__portrait {
		margin-top: 0.15rem;
	}

	.home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 16 / 10;
	}

	.home-hero .desk-masthead__side-stack {
		margin-top: 0;
	}

	.home-hero .side-stack-card {
		padding: 0.8rem;
	}

	.home-hero .skill-list--nodes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-hero .skill-list--nodes::before {
		display: none;
	}

	.home-hero .skill-list--nodes li {
		min-height: 2.75rem;
	}

	.service-board-section,
	.home-teaser,
	.about-experience {
		margin-top: clamp(2rem, 7vw, 2.8rem);
	}

	.page-hero {
		margin-bottom: 1rem;
		padding: 20px 18px;
	}
}

/* 關於與筆記頁最後版型修正：收斂首屏空白，完整顯示筆記封面。 */
@media (min-width: 700px) {
	.static-page--about .about-stage__rail {
		grid-row: 1;
	}

	.static-page--about .about-stage__copy {
		grid-row: 2;
	}

	.notes-page .paper-article-card__media {
		aspect-ratio: 720 / 520;
		background: #eee9df;
	}

	.notes-page .paper-article-card__media img {
		object-fit: contain;
		object-position: center;
		background: #eee9df;
	}
}


@media (max-width: 699px) {
	.static-page--about .about-stage__rail {
		grid-row: auto;
	}

	.notes-page .paper-article-card__media {
		aspect-ratio: 720 / 520;
		background: #eee9df;
	}

	.notes-page .paper-article-card__media img {
		object-fit: contain;
		object-position: center;
		background: #eee9df;
	}
}

@media (max-width: 560px) {
	.site-header {
		width: min(100% - 28px, var(--max-page));
		padding-top: 16px;
	}

	.site-header__inner {
		gap: 10px;
	}

	.site-menu {
		gap: clamp(4px, 2.1vw, 8px);
	}

	.site-menu a {
		min-height: 42px;
		font-size: clamp(0.66rem, 2.45vw, 0.72rem);
		letter-spacing: 0.045em;
	}

	.site-header__meta {
		font-size: 0.62rem;
		letter-spacing: 0.12em;
	}

	.lin-data-flow-divider {
		height: 12px;
	}

	.page-hero,
	.route-notice,
	.service-card,
	.case-filter-panel {
		padding: 0.9rem;
	}

	.page-hero h1 {
		font-size: clamp(1.7rem, 9vw, 2.28rem);
	}

	.case-filter-panel {
		gap: 0.75rem;
		margin-bottom: 1rem;
	}

	.case-filter-panel__header h2 {
		max-width: none;
		font-size: clamp(1.18rem, 5.8vw, 1.45rem);
	}

	.case-filter-panel__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.case-filter-chip {
		width: 100%;
		min-height: 42px;
		gap: 0.35rem;
		padding: 0.42rem 0.5rem;
		font-size: 0.68rem;
		letter-spacing: 0.025em;
	}

	.case-filter-chip strong {
		min-width: 1.42rem;
		min-height: 1.42rem;
		padding: 0 0.25rem;
		font-size: 0.66rem;
	}

	.case-filter-panel__status {
		margin-top: -0.2rem;
		font-size: 0.66rem;
	}

	.works-page .works-board.article-board,
	.notes-page .archive-board.article-board,
	.front-page .works-board.article-board,
	.front-page .article-board {
		gap: 0.9rem;
		padding: 0.3rem 0 1.6rem;
	}

	.works-page .paper-article-card,
	.works-page .paper-article-card:nth-child(n),
	.notes-page .paper-article-card,
	.notes-page .paper-article-card:nth-child(n),
	.front-page .paper-article-card,
	.front-page .paper-article-card:nth-child(n) {
		margin: 0;
		transform: none;
	}

	.works-page .paper-article-card__media,
	.front-page .works-board .paper-article-card__media {
		aspect-ratio: 16 / 8.5;
		margin: 0.5rem 0.5rem 0;
	}

	.works-page .paper-article-card__body,
	.front-page .works-board .paper-article-card__body,
	.notes-page .paper-article-card__body {
		padding: 0.82rem 0.9rem 0.92rem;
	}

	.works-page .paper-article-card__kicker,
	.notes-page .paper-article-card__kicker {
		margin-bottom: 0.45rem;
		font-size: 0.62rem;
		letter-spacing: 0.09em;
	}

	.works-page .paper-article-card__meta,
	.notes-page .paper-article-card__meta {
		gap: 0.35rem 0.55rem;
		font-size: 0.66rem;
	}

	.works-page .paper-article-card__title,
	.notes-page .paper-article-card__title {
		margin: 0.62rem 0 0.45rem;
		font-size: clamp(1.02rem, 4.8vw, 1.2rem);
		line-height: 1.28;
	}

	.works-page .paper-article-card__excerpt,
	.front-page .works-board .paper-article-card__excerpt,
	.notes-page .paper-article-card__excerpt {
		-webkit-line-clamp: 2;
		font-size: 0.88rem;
		line-height: 1.64;
	}

	.works-page .paper-article-card__tags,
	.notes-page .paper-article-card__tags {
		gap: 0.35rem;
		margin-top: 0.65rem;
	}

	.works-page .paper-article-card__tags span,
	.notes-page .paper-article-card__tags span {
		min-height: 24px;
		padding: 2px 6px;
		font-size: 0.62rem;
	}

	.works-page .paper-article-card__cta,
	.notes-page .paper-article-card__cta {
		min-height: 28px;
		margin-top: 0.52rem;
		font-size: 0.68rem;
	}

	.site-footer {
		margin-top: 2.4rem;
		padding-bottom: 56px;
	}

	.site-footer__update,
	.site-footer__roles,
	.site-footer__note {
		font-size: 0.58rem;
		line-height: 1.52;
	}

	.site-footer__roles,
	.site-footer__mark {
		letter-spacing: 0.1em;
	}

	.back-to-top {
		right: max(10px, env(safe-area-inset-right));
		bottom: max(10px, env(safe-area-inset-bottom));
		width: 44px;
		height: 50px;
		padding: 6px 5px;
	}

	.back-to-top span {
		font-size: 1.05rem;
	}

	.back-to-top em {
		font-size: 0.52rem;
	}
}

@media (max-width: 560px) {
	.works-page .page-hero {
		margin-bottom: 0.9rem;
	}

	.works-page .case-filter-panel {
		margin-bottom: 0.85rem;
	}

	.works-page .works-board.article-board {
		gap: 0.72rem;
	}

	.works-page .paper-article-card__link {
		display: block;
		min-height: 0;
	}

	.works-page .paper-article-card__tape {
		width: 46px;
		height: 14px;
	}

	.works-page .paper-article-card__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
		margin: 0.5rem 0.5rem 0;
		border-width: 1px;
	}

	.works-page .paper-article-card__media img,
	.works-page .paper-article-card__media--placeholder {
		height: 100%;
	}

	.works-page .paper-article-card__body {
		min-width: 0;
		padding: 0.82rem 0.9rem 0.92rem;
	}

	.works-page .paper-article-card__kicker {
		margin-bottom: 0.34rem;
		font-size: 0.56rem;
		line-height: 1.2;
	}

	.works-page .paper-article-card__meta {
		font-size: 0.6rem;
		line-height: 1.35;
	}

	.works-page .paper-article-card__title {
		margin: 0.52rem 0 0.36rem;
		font-size: clamp(1.04rem, 4.7vw, 1.22rem);
		line-height: 1.3;
	}

	.works-page .paper-article-card__excerpt {
		-webkit-line-clamp: 2;
		font-size: 0.88rem;
		line-height: 1.62;
	}

	.works-page .paper-article-card__tags {
		display: flex;
		flex-wrap: wrap;
		overflow: hidden;
		max-height: 56px;
	}

	.works-page .paper-article-card__tags span:nth-child(n+3) {
		display: none;
	}

	.works-page .paper-article-card__cta {
		min-height: 28px;
		margin-top: 0.52rem;
		font-size: 0.68rem;
		line-height: 1.25;
	}
}

@media (max-width: 380px) {
	.site-main {
		width: min(100% - 24px, 40rem);
	}

	.site-menu {
		gap: 3px;
	}

	.site-menu a {
		font-size: 0.64rem;
		letter-spacing: 0.02em;
	}

	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(1.34rem, 7vw, 1.52rem);
	}

	.case-filter-panel__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.case-filter-chip {
		font-size: 0.62rem;
	}

	.works-page .paper-article-card__media {
		aspect-ratio: 16 / 10;
	}
}

/* 第八輪：共用樣式回復層。針對首頁、作品集、關於我、筆記頁共用骨架補回缺失規則。 */
.lin-omega-theme {
	--desk-line: rgba(88, 122, 133, 0.48);
	--desk-ui: #c9736f;
	--desk-api: #d99a93;
	--desk-data: #b8b3a4;
	--desk-ai: #e0bb62;
	--desk-deploy: #9bb78f;
}

.js-ready .animate-in {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.is-visible,
.no-js .animate-in,
html:not(.js) .animate-in {
	opacity: 1;
	transform: translateY(0);
}

.page-loading-overlay {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	background: rgba(245, 242, 233, 0.44);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	pointer-events: none;
	transition: opacity 220ms ease, visibility 220ms ease;
}

.page-loading-overlay.is-ready.is-visible {
	opacity: 1;
	visibility: visible;
}

.page-loading-card {
	position: relative;
	display: grid;
	gap: 14px;
	min-width: min(280px, calc(100vw - 48px));
	padding: 24px 28px 22px;
	background:
		linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(248, 243, 233, 0.94)),
		var(--paper-soft);
	border: 1px solid rgba(20, 25, 29, 0.12);
	box-shadow: 0 18px 36px rgba(20, 25, 29, 0.14);
}

.page-loading-card::before {
	position: absolute;
	top: -12px;
	left: 22px;
	width: 82px;
	height: 18px;
	content: "";
	background: rgba(220, 205, 169, 0.54);
	border: 1px solid rgba(20, 25, 29, 0.08);
	transform: rotate(-5deg);
}

.page-loading-label {
	margin: 0;
	color: #c85f59;
	font-family: var(--font-hand);
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.page-loading-dots {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.page-loading-dots span {
	width: 10px;
	height: 10px;
	background: rgba(200, 95, 89, 0.9);
	border-radius: 999px;
	animation: page-loading-bounce 900ms ease-in-out infinite;
}

.page-loading-dots span:nth-child(2) {
	animation-delay: 120ms;
}

.page-loading-dots span:nth-child(3) {
	animation-delay: 240ms;
}

@keyframes page-loading-bounce {
	0%,
	80%,
	100% {
		transform: translateY(0);
		opacity: 0.52;
	}

	40% {
		transform: translateY(-4px);
		opacity: 1;
	}
}

.board-item {
	position: relative;
}

.paper-card {
	position: relative;
	border: 1px solid var(--paper-card-border);
	box-shadow: var(--paper-card-shadow);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.paper-card:hover,
.paper-card:focus-within {
	box-shadow: var(--paper-card-shadow-hover);
}

.tape,
.paper-article-card__tape {
	position: absolute;
	top: -12px;
	left: 26px;
	z-index: 2;
	width: 70px;
	height: 18px;
	background: rgba(220, 205, 169, 0.54);
	border: 1px solid rgba(20, 25, 29, 0.08);
	transform: rotate(-7deg);
	pointer-events: none;
}

.tape--wide {
	width: 88px;
	height: 22px;
}

.pushpin {
	position: absolute;
	top: -8px;
	left: 50%;
	z-index: 3;
	width: 13px;
	height: 13px;
	background: #ce6f6a;
	border: 2px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	box-shadow: 0 1px 4px rgba(20, 25, 29, 0.2);
	transform: translateX(-50%);
}

.lin-data-flow-divider {
	position: relative;
	width: 100%;
	height: 46px;
	margin: 8px 0 38px;
	overflow: hidden;
}

.lin-data-flow-divider__svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lin-data-flow-divider__path {
	fill: none;
	stroke: var(--desk-line);
	stroke-width: 1.6;
}

.lin-data-flow-divider__node {
	stroke: rgba(255, 255, 255, 0.88);
	stroke-width: 1;
}

.lin-data-flow-divider__node--ui {
	fill: var(--desk-ui);
}

.lin-data-flow-divider__node--api {
	fill: var(--desk-api);
}

.lin-data-flow-divider__node--data {
	fill: var(--desk-data);
}

.lin-data-flow-divider__node--ai {
	fill: var(--desk-ai);
}

.lin-data-flow-divider__node--deploy {
	fill: var(--desk-deploy);
}

.lin-data-flow-divider__runner {
	fill: var(--desk-ui);
}

.lin-data-flow-divider__labels {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.lin-data-flow-divider__labels span {
	position: absolute;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 22px;
	padding: 2px 8px;
	color: rgba(91, 103, 108, 0.92);
	font-family: var(--font-mono);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(20, 25, 29, 0.06);
	border-radius: 999px;
	transform: translate(-50%, -42%);
}

.lin-data-flow-divider__labels span:nth-child(1) {
	left: 24%;
}

.lin-data-flow-divider__labels span:nth-child(2) {
	left: 43%;
}

.lin-data-flow-divider__labels span:nth-child(3) {
	left: 56%;
}

.lin-data-flow-divider__labels span:nth-child(4) {
	left: 69%;
}

.lin-data-flow-divider__labels span:nth-child(5) {
	left: 80%;
}

.home-hero {
	grid-template-columns: minmax(228px, 270px) minmax(0, 450px) minmax(176px, 204px);
	grid-template-areas:
		"portrait kicker kicker"
		"portrait copy side";
	align-items: start;
	justify-content: center;
	gap: clamp(0.8rem, 2.3vw, 1.5rem) clamp(1.3rem, 2.7vw, 2.25rem);
	min-height: auto;
}

.home-hero .front-page-kicker {
	grid-area: kicker;
	justify-self: start;
	align-self: end;
	margin: 0;
}

.home-hero .desk-masthead__portrait {
	grid-area: portrait;
	width: 100%;
	max-width: 300px;
	padding: 12px;
	transform: rotate(-2deg);
}

.home-hero .desk-masthead__portrait-frame {
	padding: 12px;
	border: 1px solid rgba(20, 25, 29, 0.12);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 243, 240, 0.92)),
		rgba(255, 255, 255, 0.88);
	aspect-ratio: 4 / 5.2;
}

.photo-placeholder {
	display: grid;
	height: 100%;
	align-content: end;
	gap: 14px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.photo-placeholder span,
.photo-placeholder strong {
	display: block;
}

.photo-placeholder span {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.photo-placeholder strong {
	font-family: var(--font-mono);
	font-size: clamp(1.1rem, 3vw, 1.55rem);
	line-height: 1.28;
}

.photo-placeholder--profile {
	color: rgba(252, 249, 242, 0.96);
	background:
		linear-gradient(180deg, rgba(33, 40, 45, 0.84), rgba(57, 78, 85, 0.92)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px);
}

.photo-placeholder--profile strong {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	line-height: 1.2;
}

.workflow-map {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: auto;
}

.workflow-map span {
	display: grid;
	place-items: center;
	min-height: 72px;
	color: rgba(252, 249, 242, 0.82);
	font-family: var(--font-mono);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 30px;
	text-transform: uppercase;
}

.desk-masthead__caption {
	margin: 12px 2px 0;
}

.home-hero .desk-masthead__copy {
	grid-area: copy;
	max-width: 450px;
	padding: 0;
	transform: none;
}

.hand-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.44em;
	margin: 0 0 22px 8px;
	padding: 0.72rem 1.55rem 0.72rem 1.7rem;
	font-family: var(--font-hand);
	font-size: clamp(1.18rem, 1.84vw, 1.7rem);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1;
}

.hand-badge::before,
.hand-badge::after {
	position: absolute;
	inset: 0;
	content: "";
	border-radius: 999px;
}

.hand-badge::before {
	border: 1.85px solid rgba(20, 25, 29, 0.82);
	transform: rotate(-2.2deg);
}

.hand-badge::after {
	border: 1.35px solid rgba(20, 25, 29, 0.24);
	opacity: 1;
	transform: translate(7px, 5px) rotate(1.2deg);
}

.hand-badge__word {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
}

.hand-badge__word--wide {
	letter-spacing: -0.02em;
}

.hand-badge__dot {
	position: relative;
	z-index: 1;
	color: rgba(20, 25, 29, 0.54);
	font-family: var(--font-sans);
	font-size: 0.7em;
	font-weight: 800;
	line-height: 1;
	transform: translateY(-0.04em);
}

.home-hero .hand-badge {
	width: fit-content;
	max-width: min(100%, 31rem);
}

@media (min-width: 1180px) {
	.front-page--home .home-hero .hand-badge {
		max-width: 28rem;
	}
}

@media (min-width: 700px) and (max-width: 1179px) {
	.front-page--home .home-hero .hand-badge {
		max-width: 25rem;
	}
}

@media (max-width: 699px) {
	.front-page--home .home-hero .hand-badge {
		gap: 0.34em;
		margin: 0 0 18px 4px;
		padding: 0.64rem 1.18rem 0.64rem 1.28rem;
		font-size: clamp(1.02rem, 4.5vw, 1.24rem);
	}
}

@media (max-width: 420px) {
	.front-page--home .home-hero .hand-badge {
		flex-wrap: wrap;
		row-gap: 0.18em;
		max-width: 17.5rem;
	}

	.front-page--home .home-hero .hand-badge__dot:last-of-type {
		display: none;
	}
}

.home-hero .desk-masthead__copy h1 {
	max-width: 8.9ch;
	margin: 0;
	font-size: clamp(1.72rem, 2.56vw, 2.48rem);
	line-height: 1.16;
	letter-spacing: -0.025em;
}

.hero-line--nowrap {
	display: inline-block;
	max-width: 100%;
	white-space: normal;
}

.home-hero .desk-masthead__intro {
	max-width: 29rem;
	margin: 14px 0 0;
	font-size: clamp(0.98rem, 1.28vw, 1.08rem);
	line-height: 1.82;
}

.desktop-chip--light {
	background: rgba(255, 255, 255, 0.88);
	color: var(--ink);
}

.desktop-chip--small {
	min-height: 44px;
	padding: 8px 16px;
	font-size: 0.76rem;
}

.home-hero .desk-masthead__side-stack {
	grid-area: side;
	position: relative;
	width: 100%;
	max-width: 204px;
	margin: 34px -28px 0 0;
	justify-self: end;
}

.home-hero .side-stack-shadow {
	position: absolute;
	inset: 12px -12px -18px 18px;
	opacity: 0.5;
	transform: rotate(2deg);
}

.home-hero .side-stack-card {
	padding: 14px 10px 12px;
	transform: rotate(-0.9deg);
}

.skill-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.skill-list--nodes {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.skill-list--nodes li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 9px;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	background: rgba(255, 255, 255, 0.66);
	border: 1px solid rgba(20, 25, 29, 0.1);
}

.skill-list--nodes li > span {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 900;
	background: #4c7381;
	border-radius: 999px;
}

.front-page .service-board-section,
.front-page .home-teaser,
.about-experience {
	margin-top: 64px;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.service-card {
	display: flex;
	flex-direction: column;
	min-height: 210px;
	padding: 24px;
}

.service-card h3 {
	margin: 8px 0 10px;
	font-family: var(--font-display);
	font-size: clamp(1.32rem, 2vw, 1.6rem);
	line-height: 1.26;
}

.service-card p {
	margin: 0;
	color: var(--ink-soft);
}

.service-card__tag {
	display: inline-flex;
	width: fit-content;
	min-height: 30px;
	align-items: center;
	margin-top: auto;
	padding: 4px 10px;
	color: #27444d;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	background: rgba(54, 95, 107, 0.11);
	border: 1px solid rgba(54, 95, 107, 0.16);
	border-radius: 999px;
}

.archive-main,
.singular-main {
	padding-top: 8px;
}

.page-hero {
	max-width: 980px;
	margin: 0 auto 30px;
	padding: clamp(30px, 4vw, 46px) clamp(22px, 4vw, 36px);
	transform: rotate(-0.45deg);
	box-shadow: 8px 8px 0 rgba(20, 25, 29, 0.08);
}

.page-hero h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4.8rem);
	line-height: 1.04;
}

.page-hero > p:not(.section-kicker) {
	max-width: 42rem;
	margin: 14px 0 0;
	color: var(--ink-soft);
	font-size: clamp(1rem, 1.5vw, 1.14rem);
	line-height: 1.8;
}

.works-page .page-hero,
.notes-page .page-hero {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.about-page {
	display: grid;
	gap: clamp(18px, 2vw, 26px);
	max-width: 1280px;
	margin: 0 auto;
}

.about-stage,
.about-brief {
	display: grid;
	gap: clamp(18px, 2vw, 24px);
}

.about-stage {
	grid-template-columns: 1fr;
	gap: 0;
}

.about-stage__intro,
.about-brief {
	padding: 0;
}

.about-stage__intro {
	display: grid;
	grid-template-columns: minmax(0, 0.96fr) minmax(260px, 310px);
	column-gap: clamp(18px, 2.2vw, 30px);
	row-gap: clamp(18px, 2vw, 28px);
	align-items: start;
	position: relative;
	overflow: visible;
	padding: clamp(16px, 1.6vw, 22px) 0 clamp(24px, 2.3vw, 32px);
	transform: none;
	background:
		radial-gradient(circle at 12% 10%, rgba(223, 184, 88, 0.15), transparent 22%),
		radial-gradient(circle at 82% 16%, rgba(54, 95, 107, 0.07), transparent 18%);
	border: none;
	border-bottom: 1px solid rgba(20, 25, 29, 0.12);
	box-shadow: none;
	border-radius: 0;
}

.about-stage__intro::before {
	display: none;
}

.about-stage__masthead,
.about-stage__copy,
.about-stage__rail,
.about-brief__header,
.about-brief__topic {
	display: grid;
}

.about-stage__masthead {
	grid-column: 1 / 2;
	grid-row: 1;
	gap: 10px;
	max-width: min(100%, 44rem);
	padding-right: 0;
}

.about-stage__intro h1 {
	display: block;
	margin: 0;
	max-width: none;
	line-height: 1.05;
}

.about-stage__title-intro {
	display: block;
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(1.02rem, 1.12vw, 1.2rem);
	font-weight: 700;
	letter-spacing: -0.018em;
	line-height: 1.3;
	color: #39474f;
}

.about-stage__summary {
	margin: 0;
	max-width: 30rem;
	color: #4a5860;
	font-size: clamp(0.98rem, 1.1vw, 1.06rem);
	font-weight: 500;
	line-height: 1.82;
}

.about-stage__title-main {
	display: block;
	max-width: 13.2ch;
	font-family: var(--font-display);
	font-size: clamp(2.58rem, 3.8vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.05;
	text-wrap: balance;
}

.about-stage__title-main > span {
	display: block;
}

.about-stage__title-main > span:first-child {
	color: #50636b;
	font-size: 0.82em;
}

.about-stage__title-main > span:last-child {
	color: #14191d;
}

.about-stage__storyline {
	display: contents;
}

.about-stage__copy {
	grid-column: 1 / 2;
	grid-row: 2;
	gap: 14px;
	max-width: 34rem;
}

.about-stage__lead,
.about-stage__body {
	margin: 0;
	font-size: clamp(1rem, 1.06vw, 1.05rem);
	line-height: 1.84;
}

.about-stage__lead {
	color: var(--ink);
	max-width: 31rem;
	font-size: clamp(1.02rem, 1.14vw, 1.12rem);
	line-height: 1.78;
}

@media (min-width: 1200px) {
	.page-hero {
		max-width: 1060px;
	}

	.works-page .page-hero,
	.notes-page .page-hero {
		max-width: 960px;
	}

	.about-page {
		max-width: 1340px;
	}

	.about-stage__masthead {
		max-width: 45rem;
	}

	.about-stage__title-main {
		font-size: clamp(2.7rem, 3.55vw, 4.18rem);
	}

	.home-hero .desk-masthead__portrait {
		max-width: 330px;
	}
}

.about-stage__body {
	color: #45555e;
	max-width: 33rem;
	line-height: 1.82;
}

.about-stage__rail {
	grid-column: 2 / 3;
	grid-row: 1 / span 2;
	gap: 12px;
	align-content: start;
	justify-items: start;
	align-self: start;
	width: 100%;
	max-width: 320px;
	margin-top: 10px;
	justify-self: stretch;
	padding: 14px;
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.76), rgba(246, 240, 228, 0.56)),
		repeating-linear-gradient(0deg, transparent 0 34px, rgba(20, 25, 29, 0.016) 34px 35px);
	border: 1px solid rgba(20, 25, 29, 0.09);
	border-radius: 0;
	box-shadow: 8px 9px 0 rgba(20, 25, 29, 0.045);
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.about-stage__rail:hover,
.about-stage__rail:focus-within {
	transform: none;
	border-color: rgba(54, 95, 107, 0.22);
	box-shadow: 10px 11px 0 rgba(20, 25, 29, 0.055);
}

.about-stage__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	margin: 0;
}

.about-stage__visual {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 7px;
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.94), rgba(241, 236, 226, 0.9)),
		rgba(255, 254, 253, 0.82);
	border: 1px solid rgba(20, 25, 29, 0.1);
	box-shadow: 0 10px 22px rgba(20, 25, 29, 0.07);
	overflow: hidden;
	transform: none;
}

.about-stage__visual::before {
	position: absolute;
	top: 10px;
	left: 50%;
	z-index: 2;
	width: 74px;
	height: 18px;
	content: "";
	background: rgba(212, 168, 67, 0.34);
	border: 1px solid rgba(20, 25, 29, 0.08);
	transform: translateX(-50%) rotate(-3deg);
}

.about-stage__visual img {
	display: block;
	width: 100%;
	aspect-ratio: 0.9 / 1;
	object-fit: cover;
	object-position: 50% 16%;
	background: #ece5d9;
}

.about-stage__visual-caption {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: center;
	padding: 8px 2px 1px;
	margin: 0;
	color: #5d6c72;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.about-stage__visual-caption span {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 7px;
	background: rgba(255, 254, 253, 0.68);
	border: 1px solid rgba(20, 25, 29, 0.08);
}

.about-stage__actions .desktop-chip {
	width: 100%;
	justify-content: center;
}

.about-stage__note {
	margin: 0;
	padding-top: 10px;
	color: var(--ink-soft);
	font-size: 0.94rem;
	line-height: 1.72;
	border-top: 1px solid rgba(20, 25, 29, 0.1);
}

.about-stage__facts {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.4vw, 16px);
	margin: 0;
	padding: 0;
}

.about-stage__fact {
	display: grid;
	gap: 10px;
	align-content: start;
	min-height: 0;
	padding: 14px 0 0;
	background: transparent;
	border: none;
	border-top: 1px solid rgba(20, 25, 29, 0.12);
	border-radius: 0;
	box-shadow: none;
	transition:
		border-color 180ms ease,
		color 180ms ease;
}

.about-stage__fact:hover,
.about-stage__fact:focus-within {
	transform: none;
	background: transparent;
	border-color: rgba(54, 95, 107, 0.24);
	box-shadow: none;
}

.about-stage__fact dt {
	color: #5f727a;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.about-stage__fact dd {
	margin: 0;
	color: var(--ink);
	font-size: 0.92rem;
	line-height: 1.72;
}

.about-brief {
	display: grid;
	grid-template-columns: minmax(360px, 0.84fr) minmax(0, 1fr);
	column-gap: clamp(34px, 4vw, 64px);
	row-gap: 18px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(22px, 2.6vw, 34px) clamp(28px, 3.6vw, 52px) clamp(24px, 2.4vw, 32px);
	transform: none;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.about-brief:hover,
.about-brief:focus-within {
	transform: none;
	border-color: transparent;
	box-shadow: none;
}

.about-brief__header {
	grid-column: 1 / 2;
	align-content: start;
	gap: 12px;
	max-width: 31.5rem;
	padding-right: clamp(10px, 1vw, 18px);
}

.about-brief__header h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.82rem, 2.06vw, 2.08rem);
	line-height: 1.16;
	letter-spacing: -0.025em;
	max-width: 20ch;
	text-wrap: balance;
}

.about-brief__header p {
	margin: 0;
	max-width: 22rem;
	color: var(--ink-soft);
	font-size: 0.95rem;
	line-height: 1.76;
}

.about-page .page-surface {
	max-width: none;
	margin: 0;
}

.about-page .animate-in {
	opacity: 1;
	transform: none;
}

.about-brief__topics {
	display: grid;
	grid-column: 2 / 3;
	grid-template-columns: 1fr;
	align-content: start;
	gap: 14px;
	padding: 0;
	margin: 0;
	max-width: 40rem;
	list-style: none;
}

.about-brief__topic {
	gap: 8px;
	align-content: start;
	min-height: 0;
	padding: 0 0 12px;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(20, 25, 29, 0.12);
	border-radius: 0;
	box-shadow: none;
	transition:
		border-color 180ms ease,
		color 180ms ease;
}

.about-brief__topic:hover,
.about-brief__topic:focus-within {
	transform: none;
	background: transparent;
	border-color: rgba(54, 95, 107, 0.24);
	box-shadow: none;
}

.about-brief__topic strong {
	color: #27444d;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.about-brief__topic span {
	color: var(--ink-soft);
	font-size: 0.93rem;
	line-height: 1.74;
}

.section-heading--split {
	align-items: start;
}

.section-heading--split > p {
	max-width: 28rem;
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.96rem;
}

.case-filter-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px 24px;
	align-items: end;
	max-width: 100%;
	padding: 24px 22px 20px;
	margin: 0 auto 24px;
	transform: rotate(0.25deg);
	box-shadow: 8px 8px 0 rgba(20, 25, 29, 0.08);
}

.case-filter-panel__header h2 {
	max-width: 20rem;
	margin: 6px 0 0;
	font-family: var(--font-display);
	font-size: clamp(1.65rem, 3vw, 2.5rem);
	line-height: 1.16;
}

.case-filter-panel__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.case-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 6px 12px 6px 16px;
	color: #435259;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(20, 25, 29, 0.12);
	border-radius: 999px;
	box-shadow: 0 3px 12px rgba(20, 25, 29, 0.06);
	cursor: pointer;
	transition:
		transform 160ms ease,
		box-shadow 160ms ease,
		background-color 160ms ease,
		color 160ms ease;
}

.case-filter-chip:hover,
.case-filter-chip[aria-pressed="true"] {
	color: #fff;
	background: #4b6f7e;
	box-shadow: 0 6px 18px rgba(54, 95, 107, 0.24);
	transform: translateY(-1px);
}

.case-filter-chip strong {
	display: grid;
	min-width: 28px;
	height: 28px;
	place-items: center;
	color: inherit;
	font-size: 0.72rem;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(20, 25, 29, 0.08);
	border-radius: 999px;
}

.case-filter-chip[aria-pressed="true"] strong {
	color: #2d4650;
}

.case-filter-panel__status {
	grid-column: 1 / -1;
	justify-self: end;
	margin: 0;
	color: var(--warm);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.front-page .works-board.article-board,
.works-page .works-board.article-board,
.notes-page .archive-board.article-board {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 0;
	padding: 4px 0 28px;
}

.paper-article-card__body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 20px 20px 22px;
}

.paper-article-card__kicker {
	display: block;
	margin: 0 0 6px;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	line-height: 1.3;
	text-transform: uppercase;
}

.paper-article-card__cta {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding-top: 12px;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	text-transform: uppercase;
}

.paper-article-card__cta--primary {
	margin-top: 0;
	padding-top: 0;
}

.paper-article-card__secondary-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 6px 10px;
	color: #37464d;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	border: 1px solid rgba(20, 25, 29, 0.14);
	background: rgba(242, 246, 243, 0.9);
	transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.paper-article-card__secondary-link:hover,
.paper-article-card__secondary-link:focus-visible {
	color: #14191d;
	background: rgba(232, 238, 235, 0.98);
	border-color: rgba(20, 25, 29, 0.28);
	transform: translateY(-1px);
}

.paper-article-card__secondary-link:focus-visible {
	outline: 2px solid rgba(54, 95, 107, 0.28);
	outline-offset: 2px;
}

.paper-article-card--article .paper-article-card__link {
	min-height: 100%;
}

.paper-article-card--article .paper-article-card__body {
	min-height: 294px;
}

.front-page .works-board .paper-article-card__body,
.works-page .paper-article-card__body {
	min-height: 300px;
}

.notes-page .paper-article-card__body {
	min-height: 300px;
}

.works-page .paper-article-card__media,
.front-page .works-board .paper-article-card__media {
	aspect-ratio: 16 / 10;
}

@media (min-width: 1280px) and (max-width: 1500px) {
	.home-hero {
		grid-template-columns: minmax(220px, 260px) minmax(0, 460px) minmax(170px, 188px);
		gap: 1rem 1.35rem;
	}

	.home-hero .desk-masthead__copy {
		max-width: 460px;
	}

	.home-hero .desk-masthead__copy h1 {
		max-width: 9.4ch;
		font-size: clamp(1.76rem, 2.6vw, 2.52rem);
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: 1fr;
		gap: 0.05em;
	}

	.home-hero .desk-masthead__side-stack {
		margin: 32px -10px 0 0;
	}
}

@media (max-width: 1180px) {
	.home-hero {
		grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
		grid-template-areas:
			"kicker kicker"
			"portrait copy"
			"side side";
		align-items: start;
	}

	.home-hero .front-page-kicker {
		justify-self: start;
	}

	.home-hero .desk-masthead__side-stack {
		max-width: none;
		margin-top: 4px;
		justify-self: stretch;
	}

	.home-hero .side-stack-shadow {
		display: none;
	}

	.case-filter-panel {
		grid-template-columns: 1fr;
		align-items: start;
		transform: none;
	}

	.case-filter-panel__actions {
		justify-content: flex-start;
	}

	.case-filter-panel__status {
		justify-self: start;
	}
}

@media (max-width: 920px) {
	.singular-layout {
		grid-template-columns: 1fr;
	}

	.singular-sidebar {
		position: static;
		transform: none;
	}

	.singular-sidebar--note {
		max-width: none;
	}

	.singular-content--note {
		padding: clamp(26px, 5vw, 42px);
	}

	.singular-header h1 {
		max-width: 100%;
	}

	.post-nav {
		grid-template-columns: 1fr;
		margin-left: 0;
	}

	.post-nav--note {
		max-width: none;
		margin-top: 28px;
		padding-left: 0;
	}

	.post-nav div:last-child {
		text-align: left;
	}

	.about-stage__masthead {
		padding-right: 0;
	}

	.about-brief {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px 24px 26px;
	}

	.about-brief__header,
	.about-brief__topics {
		grid-column: auto;
		max-width: none;
	}

	.about-brief__header {
		padding-right: 0;
	}

	.about-brief__header h2 {
		max-width: 17ch;
	}

	.about-brief__topics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}

	.about-brief__topic {
		padding: 14px 0 0;
		border-bottom: none;
		border-top: 1px solid rgba(20, 25, 29, 0.12);
	}

	.about-stage__intro {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 24px;
	}

	.about-stage__masthead,
	.about-stage__copy {
		max-width: none;
	}

	.about-stage__intro h1,
	.about-stage__title-main,
	.about-stage__lead,
	.about-stage__body,
	.about-brief__header,
	.about-brief__header p {
		max-width: none;
	}

	.about-stage__storyline {
		display: grid;
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.about-stage__masthead,
	.about-stage__copy,
	.about-stage__rail,
	.about-stage__facts {
		grid-column: auto;
		grid-row: auto;
	}

	.about-stage__rail {
		width: 100%;
		margin-top: 0;
		justify-self: stretch;
		max-width: none;
		padding-left: 0;
		border-left: none;
		border-top: 1px solid rgba(20, 25, 29, 0.12);
	}

	.about-stage__facts,
	.about-brief__topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-grid,
	.front-page .article-board.article-board,
	.front-page .works-board.article-board,
	.works-page .works-board.article-board,
	.notes-page .archive-board.article-board {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.works-page .paper-article-card,
	.works-page .paper-article-card:nth-child(n) {
		margin: 0 0 28px;
		transform: none;
	}

	.works-page .paper-article-card:hover,
	.works-page .paper-article-card:focus-within {
		transform: translateY(-6px) scale(1.015);
	}

	.note-briefing {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.note-briefing__intro {
		padding-right: 0;
	}

	.note-briefing__intro h2 {
		max-width: 17ch;
	}
}

@media (max-width: 699px) {
	.singular-content,
	.singular-sidebar,
	.page-surface {
		padding: 22px 18px;
	}

	.singular-layout {
		gap: 18px;
	}

	.singular-content {
		order: 1;
	}

	.singular-sidebar {
		order: 2;
	}

	.singular-content--note {
		padding: 24px 18px 22px;
	}

	.singular-sidebar--note {
		padding: 18px 18px 17px;
	}

	.about-page {
		gap: 10px;
	}

	.static-page--about .site-header {
		width: min(100% - 18px, var(--max-page));
		padding-top: 8px;
		padding-bottom: 0;
	}

	.static-page--about .site-header__inner {
		gap: 6px;
	}

	.static-page--about .site-brand__mark {
		width: min(50vw, 154px);
		min-height: auto;
	}

	.static-page--about .site-menu {
		gap: 2px;
	}

	.static-page--about .site-menu a {
		min-height: 38px;
		padding: 2px 7px;
		font-size: 0.64rem;
		letter-spacing: 0.06em;
	}

	.static-page--about .site-header__meta {
		font-size: 0.58rem;
		letter-spacing: 0.12em;
	}

	.static-page--about .lin-data-flow-divider {
		height: 10px;
		margin-bottom: 10px;
	}

	.static-page--about .site-main,
	.static-page--about .singular-main {
		padding-top: 14px;
		padding-bottom: 22px;
	}

	.singular-header h1 {
		max-width: 100%;
		font-size: clamp(2.04rem, 9.3vw, 2.88rem);
		line-height: 1.05;
	}

	.note-detail-back,
	.note-detail-sidebar-link {
		font-size: 0.7rem;
		letter-spacing: 0.05em;
	}

	.note-detail-lead {
		max-width: 100%;
		font-size: 1.02rem;
		line-height: 1.9;
	}

	.note-briefing {
		gap: 14px;
		margin-bottom: 24px;
		padding: 18px;
	}

	.note-briefing__intro h2 {
		max-width: 100%;
		font-size: 1.42rem;
	}

	.note-briefing__panel {
		padding: 15px 15px 14px;
	}

	.note-briefing__list {
		font-size: 0.95rem;
		line-height: 1.82;
	}

	.entry-content {
		font-size: 1.02rem;
		line-height: 1.9;
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.entry-content th,
	.entry-content td {
		min-width: 172px;
		padding: 12px 13px;
	}

	.entry-content .article-callout,
	.entry-content .article-checklist,
	.entry-content .article-note-box,
	.entry-content .article-faq {
		padding: 16px 16px 15px;
	}

	.post-nav--note {
		margin-top: 24px;
	}

	.lin-data-flow-divider {
		height: 18px;
		margin-bottom: 24px;
	}

	.lin-data-flow-divider__labels {
		display: none;
	}

	.home-hero {
		grid-template-columns: 1fr;
		grid-template-areas:
			"kicker"
			"copy"
			"portrait"
			"side";
		min-height: auto;
	}

	.home-hero .front-page-kicker {
		justify-self: start;
	}

	.home-hero .desk-masthead__copy h1 {
		max-width: none;
		font-size: clamp(2.3rem, 11vw, 3.55rem);
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: 1fr;
		gap: 0.06em;
	}

	.hero-line--nowrap {
		white-space: normal;
	}

	.hand-badge {
		margin: 0 0 18px 4px;
		font-size: clamp(1.05rem, 5vw, 1.5rem);
	}

	.home-hero .desk-masthead__portrait,
	.home-hero .desk-masthead__side-stack {
		max-width: none;
		justify-self: stretch;
	}

	.home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 16 / 10;
	}

	.home-hero .skill-list--nodes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-grid,
	.front-page .article-board.article-board,
	.front-page .works-board.article-board,
	.works-page .works-board.article-board,
	.notes-page .archive-board.article-board {
		grid-template-columns: 1fr;
	}

	.section-heading,
	.section-heading--split {
		display: grid;
		gap: 12px;
	}

	.page-hero,
	.case-filter-panel,
	.about-stage__intro,
	.about-brief {
		padding: 0;
	}

	.case-filter-panel__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.case-filter-chip {
		width: 100%;
		justify-content: space-between;
	}

	.site-brand__mark {
		min-height: 48px;
	}

	.site-menu a {
		min-height: 48px;
		padding: 4px 10px;
	}

	.desktop-chip--small {
		min-height: 48px;
		padding: 10px 16px;
	}

	.about-stage__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.about-stage__intro h1 {
		max-width: 100%;
		gap: 0;
	}

	.about-stage__title-intro {
		font-size: 0.9rem;
		line-height: 1.22;
	}

	.about-stage__title-main {
		max-width: min(100%, 12.6ch);
		font-size: clamp(2.06rem, 8.2vw, 2.55rem);
		letter-spacing: -0.036em;
		line-height: 1.03;
	}

	.about-stage__title-main > span:first-child {
		font-size: 0.8em;
		color: #50636b;
	}

	.about-stage__title-main > span:last-child {
		font-size: 0.95em;
		letter-spacing: -0.028em;
	}

	.about-stage__storyline {
		gap: 14px;
	}

	.about-stage__copy {
		gap: 12px;
		max-width: none;
	}

	.about-stage__lead,
	.about-stage__body,
	.about-stage__summary,
	.about-stage__note {
		font-size: 0.9rem;
		line-height: 1.74;
	}

	.about-stage__intro {
		gap: 14px;
		padding: 8px 0 16px;
	}

	.about-stage__masthead {
		gap: 6px;
		max-width: none;
	}

	.about-stage__rail {
		width: 100%;
		max-width: none;
		gap: 8px;
		padding: 12px 0 0;
		background: transparent;
		box-shadow: none;
		border-left: none;
		border-top: 1px solid rgba(20, 25, 29, 0.12);
		border-radius: 0;
	}

	.about-stage__note {
		padding-top: 8px;
	}

	.about-stage__actions .desktop-chip {
		min-height: 44px;
		width: 100%;
		justify-content: center;
		padding: 9px 10px;
		font-size: 0.68rem;
	}

	.about-stage__facts {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.about-stage__fact {
		gap: 5px;
		padding: 10px 0 0;
		background: transparent;
		box-shadow: none;
		border-radius: 0;
	}

	.about-stage__fact dt {
		font-size: 0.62rem;
		letter-spacing: 0.07em;
	}

	.about-stage__fact dd {
		font-size: 0.9rem;
		line-height: 1.72;
	}

	.about-brief {
		transform: none;
		gap: 14px;
		padding: 20px 22px 22px;
		grid-template-columns: 1fr;
	}

	.about-brief__header h2 {
		max-width: none;
		font-size: clamp(1.44rem, 6.2vw, 1.88rem);
		line-height: 1.12;
	}

	.about-brief__header {
		gap: 8px;
		padding-right: 0;
	}

	.about-brief__header p {
		max-width: none;
		font-size: 0.9rem;
		line-height: 1.72;
	}

	.about-brief__topics {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.about-brief__topic {
		gap: 5px;
		padding: 10px 0 0;
		background: transparent;
		border-top: 1px solid rgba(20, 25, 29, 0.12);
		border-bottom: none;
		box-shadow: none;
		border-radius: 0;
	}

	.about-brief__topic strong {
		font-size: 0.62rem;
		letter-spacing: 0.07em;
	}

	.about-brief__topic span {
		font-size: 0.88rem;
		line-height: 1.68;
	}

	.static-page--about .site-footer {
		margin-top: 16px;
		padding-bottom: 18px;
	}

	.static-page--about .site-footer__status {
		gap: 8px;
		padding: 10px 0 6px;
	}

	.static-page--about .site-footer__baseline {
		padding: 0.42rem 10px 0.44rem;
	}

	.static-page--about .back-to-top {
		width: 34px;
		height: 40px;
		padding: 4px 3px;
		bottom: max(8px, env(safe-area-inset-bottom));
		right: max(8px, env(safe-area-inset-right));
		box-shadow: 2px 2px 0 rgba(44, 40, 34, 0.08);
	}

	.static-page--about .back-to-top span {
		font-size: 0.92rem;
	}

	.static-page--about .back-to-top em {
		font-size: 0.46rem;
	}
}

@media (max-width: 699px) {
	.static-page--notes .site-main,
	.static-page--notes .archive-main {
		width: min(100% - 30px, 40rem);
		padding-top: 0.28rem;
		padding-bottom: 1rem;
	}

	.static-page--notes .site-header {
		padding-top: 8px;
	}

	.static-page--notes .site-header__inner {
		gap: 6px;
	}

	.static-page--notes .site-brand__mark {
		width: min(42vw, 138px);
		min-height: auto;
	}

	.static-page--notes .site-menu {
		gap: 4px;
	}

	.static-page--notes .site-menu a {
		min-height: 38px;
		padding: 2px 6px;
		font-size: 0.61rem;
		letter-spacing: 0.05em;
	}

	.static-page--notes .site-header__meta {
		font-size: 0.58rem;
		letter-spacing: 0.12em;
	}

	.static-page--notes .lin-data-flow-divider {
		height: 8px;
		margin-bottom: 6px;
	}

	.notes-page .page-hero {
		max-width: none;
		margin-bottom: 0.36rem;
		padding: 0.28rem 0 0.66rem;
		background: transparent;
		border: none;
		border-bottom: 1px solid rgba(20, 25, 29, 0.12);
		box-shadow: none;
	}

	.notes-page .page-hero::before {
		display: none;
	}

	.notes-page .page-hero .section-kicker {
		margin-bottom: 0.22rem;
		color: #6d777b;
		font-size: 0.56rem;
		letter-spacing: 0.095em;
	}

	.notes-page .page-hero h1 {
		font-size: clamp(1.56rem, 5.4vw, 1.96rem);
		line-height: 1.1;
		letter-spacing: -0.03em;
	}

	.notes-page .page-hero > p:not(.section-kicker) {
		max-width: 28rem;
		margin-top: 0.4rem;
		color: #334148;
		font-size: 0.82rem;
		font-weight: 520;
		line-height: 1.72;
	}

	.notes-page .archive-board.article-board {
		counter-reset: notes-mobile;
		gap: 0;
		padding: 0 0 0.5rem;
	}

	.notes-page .paper-article-card__link {
		display: block;
		min-height: 0;
		background: transparent;
		border: none;
		border-bottom: 1px solid rgba(20, 25, 29, 0.12);
		box-shadow: none;
		transition:
			background-color 160ms ease,
			border-color 160ms ease,
			padding-inline 160ms ease;
	}

	.notes-page .paper-article-card__link:hover,
	.notes-page .paper-article-card__link:focus-visible {
		padding-inline: 5px;
		background: linear-gradient(90deg, rgba(255, 254, 253, 0.28), rgba(255, 254, 253, 0));
		border-color: rgba(54, 95, 107, 0.28);
		outline: none;
	}

	.notes-page .paper-article-card__link:active {
		background: rgba(54, 95, 107, 0.07);
	}

	.notes-page .paper-article-card__link::before,
	.notes-page .paper-article-card__tape {
		display: none;
	}

	.notes-page .paper-article-card:nth-child(2n) .paper-article-card__link::before {
		display: none;
	}

	.notes-page .paper-article-card__body {
		position: relative;
		display: grid;
		grid-template-columns: 1.34rem minmax(0, 1fr);
		column-gap: 0.72rem;
		min-height: 0;
		padding: 0.66rem 0 0.72rem;
	}

	.notes-page .paper-article-card__body::before {
		counter-increment: notes-mobile;
		grid-column: 1;
		grid-row: 1 / span 5;
		align-self: start;
		display: block;
		width: 1.28rem;
		padding-top: 0.1rem;
		color: #828b8f;
		font-family: var(--font-mono);
		font-size: 0.58rem;
		font-weight: 900;
		letter-spacing: -0.02em;
		line-height: 1.2;
		text-align: left;
		content: "0" counter(notes-mobile);
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.notes-page .paper-article-card__body::after {
		grid-column: 1;
		grid-row: 1 / span 5;
		align-self: stretch;
		justify-self: end;
		width: 1px;
		margin: 1.45rem 0.14rem 0.08rem 0;
		content: "";
		background: linear-gradient(180deg, rgba(54, 95, 107, 0.12), rgba(54, 95, 107, 0));
	}

	.notes-page .paper-article-card__kicker {
		display: none;
	}

	.notes-page .paper-article-card__meta {
		grid-column: 2;
		gap: 0.24rem 0.42rem;
		color: #6a777c;
		font-size: 0.52rem;
		font-weight: 850;
		line-height: 1.32;
		letter-spacing: 0.07em;
	}

	.notes-page .paper-article-card__title {
		grid-column: 2;
		margin: 0.18rem 0 0.16rem;
		font-size: clamp(0.94rem, 3.7vw, 1.1rem);
		line-height: 1.24;
		letter-spacing: -0.022em;
	}

	.notes-page .paper-article-card__excerpt {
		grid-column: 2;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		color: #3a494f;
		font-size: 0.77rem;
		font-weight: 500;
		line-height: 1.58;
	}

	.notes-page .paper-article-card__tags {
		grid-column: 2;
		grid-row: 4;
		display: flex;
		gap: 0.28rem;
		margin-top: 0.4rem;
		padding-right: 5.5rem;
	}

	.notes-page .paper-article-card__tags span {
		min-height: 21px;
		padding: 1px 6px;
		color: #405057;
		font-size: 0.5rem;
		background: rgba(255, 254, 253, 0.56);
		border-color: rgba(20, 25, 29, 0.11);
	}

	.notes-page .paper-article-card__cta {
		grid-column: 2;
		grid-row: 4;
		justify-self: end;
		align-self: center;
		min-height: 22px;
		width: fit-content;
		margin-top: 0.36rem;
		padding: 0 1.24rem 0 0;
		color: #243f48;
		font-size: 0.54rem;
		align-items: center;
		letter-spacing: 0.06em;
		background: transparent;
		border: 0;
		border-bottom: 1px solid rgba(54, 95, 107, 0.22);
		border-radius: 0;
		position: relative;
	}

	.notes-page .paper-article-card__cta::before {
		position: absolute;
		top: 50%;
		right: 0.28rem;
		width: 0.66rem;
		height: 1px;
		content: "";
		background: rgba(36, 63, 72, 0.62);
		transform: translateY(-50%);
	}

	.notes-page .paper-article-card__cta::after {
		position: absolute;
		right: 0;
		content: ">";
		font-family: var(--font-mono);
		font-size: 0.56rem;
	}

	.static-page--notes .back-to-top {
		display: none;
	}

	.static-page--notes .site-footer {
		margin-top: 1.15rem;
		padding-bottom: 1.35rem;
	}
}

@media (max-width: 560px) {
	.notes-page .page-hero {
		margin-bottom: 0.32rem;
		padding: 0.22rem 0 0.56rem;
	}

	.notes-page .archive-board.article-board {
		gap: 0;
	}

	.notes-page .paper-article-card__link {
		box-shadow: none;
	}

	.notes-page .paper-article-card__body {
		grid-template-columns: 1.2rem minmax(0, 1fr);
		column-gap: 0.6rem;
		min-width: 0;
		padding: 0.7rem 0 0.82rem;
	}

	.notes-page .paper-article-card__body::before {
		width: 1.15rem;
		height: auto;
		font-size: 0.54rem;
	}

	.notes-page .paper-article-card__body::after {
		margin-top: 1.36rem;
	}

	.notes-page .paper-article-card__meta {
		font-size: 0.48rem;
	}

	.notes-page .paper-article-card__title {
		font-size: clamp(0.92rem, 4.6vw, 1.04rem);
		line-height: 1.24;
	}

	.notes-page .paper-article-card__excerpt {
		font-size: 0.76rem;
		line-height: 1.56;
	}

	.notes-page .paper-article-card__tags {
		margin-top: 0.46rem;
		padding-right: 0;
	}

	.notes-page .paper-article-card__cta {
		grid-row: 5;
		justify-self: start;
		margin-top: 0.34rem;
	}
}

/* 第九輪：手機標題、整體版面層次與動態優化。 */
.lin-omega-theme {
	--motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--parallax-x: 0px;
	--parallax-y: 0px;
}

body {
	background:
		radial-gradient(circle at calc(18% + var(--parallax-x)) calc(12% + var(--parallax-y)), rgba(212, 168, 67, 0.18), transparent 25rem),
		radial-gradient(circle at calc(82% - var(--parallax-x)) calc(7% - var(--parallax-y)), rgba(107, 143, 94, 0.16), transparent 23rem),
		radial-gradient(circle at 52% 38%, rgba(217, 68, 74, 0.055), transparent 24rem),
		linear-gradient(180deg, #f5f0e6 0%, var(--paper) 47%, #ddd5c7 100%);
}

body::after {
	position: fixed;
	inset: auto -18vw -22vw auto;
	z-index: -1;
	width: min(42rem, 82vw);
	aspect-ratio: 1;
	pointer-events: none;
	content: "";
	background: radial-gradient(circle, rgba(54, 95, 107, 0.13), rgba(54, 95, 107, 0) 64%);
	filter: blur(8px);
	transform: translate3d(calc(var(--parallax-x) * -0.45), calc(var(--parallax-y) * -0.45), 0);
	animation: lin-ambient-drift 18s var(--motion-ease) infinite alternate;
}

.home-hero {
	position: relative;
	padding: clamp(18px, 2.8vw, 34px);
	border: 1px solid rgba(20, 25, 29, 0.08);
	background:
		radial-gradient(circle at 8% 8%, rgba(212, 168, 67, 0.12), transparent 22rem),
		radial-gradient(circle at 92% 18%, rgba(54, 95, 107, 0.08), transparent 18rem),
		linear-gradient(135deg, rgba(255, 254, 253, 0.32), rgba(246, 240, 228, 0.18));
	box-shadow: 0 28px 70px rgba(44, 40, 34, 0.08);
	isolation: isolate;
	overflow: hidden;
}

.home-hero::before,
.home-hero::after {
	position: absolute;
	z-index: -1;
	pointer-events: none;
	content: "";
	border-radius: 999px;
}

.home-hero::before {
	inset: -18% auto auto -10%;
	width: 26rem;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(212, 168, 67, 0.18), transparent 66%);
	transform: translate3d(calc(var(--parallax-x) * 0.7), calc(var(--parallax-y) * 0.7), 0);
}

.home-hero::after {
	right: -12%;
	bottom: -28%;
	width: 28rem;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(54, 95, 107, 0.12), transparent 68%);
	transform: translate3d(calc(var(--parallax-x) * -0.55), calc(var(--parallax-y) * -0.55), 0);
}

.home-hero .desk-masthead__portrait,
.home-hero .desk-masthead__copy,
.home-hero .desk-masthead__side-stack {
	transition: transform 420ms var(--motion-ease);
}

html.has-fine-pointer .home-hero .desk-masthead__portrait {
	transform: rotate(-2deg) translate3d(calc(var(--parallax-x) * -0.3), calc(var(--parallax-y) * -0.18), 0);
}

html.has-fine-pointer .home-hero .desk-masthead__copy {
	transform: translate3d(calc(var(--parallax-x) * 0.18), calc(var(--parallax-y) * 0.14), 0);
}

html.has-fine-pointer .home-hero .desk-masthead__side-stack {
	transform: translate3d(calc(var(--parallax-x) * 0.28), calc(var(--parallax-y) * 0.22), 0);
}

.home-hero .desk-masthead__copy h1 {
	max-width: 10.5ch;
	font-size: clamp(2.24rem, 4.65vw, 4.05rem);
	line-height: 1.02;
	letter-spacing: -0.046em;
	text-wrap: balance;
}

.home-hero .desk-masthead__copy h1 .hero-line-pair {
	gap: 0.04em;
}

.home-hero .desk-masthead__copy h1 .hero-line-pair > span:first-child {
	color: #53646b;
}

.home-hero .desk-masthead__copy h1 .hero-line-ai {
	color: #14191d;
}

.home-hero .desk-masthead__intro {
	max-width: 32rem;
	margin-top: 18px;
	font-size: clamp(1.02rem, 1.26vw, 1.14rem);
	line-height: 1.9;
}

.hand-badge {
	background: rgba(255, 254, 253, 0.36);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.home-hero .desk-masthead__portrait-frame,
.photo-placeholder--profile,
.side-stack-card,
.service-card,
.paper-article-card__link {
	position: relative;
	overflow: hidden;
}

.home-hero .desk-masthead__portrait-frame::after,
.service-card::after,
.paper-article-card__link::after {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.36) 48%, transparent 62%);
	opacity: 0;
	transform: translateX(-42%);
	transition: opacity 220ms ease, transform 700ms var(--motion-ease);
}

.home-hero .desk-masthead__portrait:hover .desk-masthead__portrait-frame::after,
.service-card:hover::after,
.service-card:focus-within::after,
.paper-article-card:hover .paper-article-card__link::after,
.paper-article-card:focus-within .paper-article-card__link::after {
	opacity: 1;
	transform: translateX(42%);
}

.workflow-map span {
	animation: lin-node-pulse 4.8s ease-in-out infinite;
}

.workflow-map span:nth-child(2) {
	animation-delay: 220ms;
}

.workflow-map span:nth-child(3) {
	animation-delay: 440ms;
}

.workflow-map span:nth-child(4) {
	animation-delay: 660ms;
}

.skill-list--nodes li {
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.skill-list--nodes li:hover {
	background: rgba(255, 254, 253, 0.88);
	border-color: rgba(54, 95, 107, 0.24);
	transform: translateX(3px);
}

.service-grid {
	gap: clamp(16px, 2.1vw, 28px);
}

.service-card {
	min-height: 230px;
	padding: clamp(22px, 2.2vw, 30px);
	background:
		linear-gradient(160deg, rgba(255, 254, 253, 0.98), rgba(246, 241, 230, 0.92)),
		repeating-linear-gradient(0deg, transparent 0 32px, rgba(20, 25, 29, 0.018) 33px 34px);
	transform: translateY(0);
}

.service-card:hover,
.service-card:focus-within {
	border-color: rgba(54, 95, 107, 0.28);
	transform: translateY(-6px) rotate(-0.35deg);
}

.service-card:nth-child(2):hover,
.service-card:nth-child(2):focus-within {
	transform: translateY(-6px) rotate(0.35deg);
}

.paper-article-card__link {
	transition:
		border-color 220ms ease,
		box-shadow 220ms ease,
		background-position 700ms var(--motion-ease);
}

.paper-article-card__media img {
	transition: transform 560ms var(--motion-ease), filter 220ms ease;
}

.paper-article-card:hover .paper-article-card__media img,
.paper-article-card:focus-within .paper-article-card__media img {
	filter: saturate(1.02) contrast(1.04);
	transform: scale(1.035);
}

.animate-in {
	transition-delay: var(--reveal-delay, 0ms);
}

@keyframes lin-ambient-drift {
	0% {
		transform: translate3d(calc(var(--parallax-x) * -0.45), calc(var(--parallax-y) * -0.45), 0) scale(1);
		opacity: 0.72;
	}

	100% {
		transform: translate3d(calc(var(--parallax-x) * -0.45 - 26px), calc(var(--parallax-y) * -0.45 + 18px), 0) scale(1.08);
		opacity: 1;
	}
}

@keyframes lin-node-pulse {
	0%,
	100% {
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
		transform: translateY(0);
	}

	50% {
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 24px rgba(20, 25, 29, 0.08);
		transform: translateY(-2px);
	}
}

@media (max-width: 920px) {
	.home-hero .desk-masthead__copy h1 {
		max-width: 11.5ch;
		font-size: clamp(2.45rem, 8.6vw, 4.1rem);
		line-height: 1.04;
	}

	.page-hero h1,
	.singular-header h1 {
		font-size: clamp(2rem, 6.2vw, 2.7rem);
		line-height: 1.08;
		letter-spacing: -0.042em;
	}

	.about-stage__title-main {
		max-width: 12.5ch;
		font-size: clamp(2.5rem, 8.8vw, 4.05rem);
		line-height: 0.98;
	}
}

@media (max-width: 699px) {
	.site-main {
		width: min(100% - 26px, 41rem);
		padding-top: 1rem;
		padding-bottom: 3.2rem;
	}

	.home-hero {
		gap: 1.05rem;
		padding: 18px 0 4px;
		background: transparent;
		border: 0;
		box-shadow: none;
		overflow: visible;
	}

	.home-hero::before,
	.home-hero::after {
		display: none;
	}

	.home-hero .desk-masthead__copy {
		padding: 0 1px;
	}

	.home-hero .desk-masthead__copy h1 {
		max-width: 10.8ch;
		font-size: clamp(3rem, 14vw, 4.1rem);
		line-height: 0.98;
		letter-spacing: -0.055em;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		gap: 0.03em;
	}

	.home-hero .desk-masthead__intro {
		max-width: 100%;
		margin-top: 1rem;
		font-size: 1.04rem;
		line-height: 1.92;
	}

	.hand-badge {
		margin: 0 0 1rem 2px;
		padding: 8px 20px;
		font-size: clamp(1.24rem, 6vw, 1.62rem);
	}

	.home-hero .desk-masthead__portrait,
	.home-hero .side-stack-card,
	.service-card,
	.paper-article-card__link {
		box-shadow: 4px 5px 0 rgba(44, 40, 34, 0.1);
	}

	.home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 16 / 9.4;
	}

	.service-board-section,
	.home-teaser {
		margin-top: 2.6rem;
	}

	.service-grid {
		gap: 0.9rem;
	}

	.service-card {
		min-height: 0;
		padding: 1.1rem 1.05rem;
	}

	.service-card h3 {
		font-size: clamp(1.45rem, 7vw, 1.78rem);
	}

	.section-heading {
		margin-bottom: 1rem;
	}

	.section-kicker,
	.paper-article-card__kicker {
		font-size: 0.7rem;
		letter-spacing: 0.115em;
	}

	.front-page .article-board.article-board,
	.front-page .works-board.article-board,
	.works-page .works-board.article-board {
		gap: 1rem;
	}

	.paper-article-card__title,
	.works-page .paper-article-card__title,
	.notes-page .paper-article-card__title {
		font-size: clamp(1.16rem, 5.2vw, 1.44rem);
		line-height: 1.2;
		letter-spacing: -0.034em;
	}

	.paper-article-card__excerpt,
	.works-page .paper-article-card__excerpt,
	.notes-page .paper-article-card__excerpt {
		font-size: 0.95rem;
		line-height: 1.76;
	}

	.page-hero h1,
	.notes-page .page-hero h1,
	.singular-header h1 {
		max-width: 100%;
		font-size: clamp(2rem, 8.3vw, 2.5rem);
		line-height: 1.08;
		letter-spacing: -0.046em;
		text-wrap: balance;
	}

	.page-hero > p:not(.section-kicker),
	.notes-page .page-hero > p:not(.section-kicker) {
		font-size: 0.88rem;
		line-height: 1.72;
	}

	.about-stage__title-main {
		max-width: 11.6ch;
		font-size: clamp(2.85rem, 13vw, 3.75rem);
		line-height: 0.96;
		letter-spacing: -0.058em;
	}

	.about-stage__title-intro {
		font-size: 1.04rem;
	}

	.about-stage__lead,
	.about-stage__body,
	.about-stage__note {
		font-size: 0.99rem;
		line-height: 1.88;
	}

	.notes-page .archive-board.article-board {
		padding-top: 0.35rem;
	}

	.notes-page .paper-article-card__body {
		padding: 0.72rem 0 0.84rem;
	}
}

@media (max-width: 380px) {
	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(2.78rem, 13.2vw, 3.5rem);
	}

	.page-hero h1,
	.notes-page .page-hero h1,
	.singular-header h1 {
		font-size: clamp(1.74rem, 8.2vw, 2.12rem);
		line-height: 1.1;
	}

	.about-stage__title-main {
		font-size: clamp(2.56rem, 12.2vw, 3.2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	body,
	body::after,
	.home-hero::before,
	.home-hero::after,
	.home-hero .desk-masthead__portrait,
	.home-hero .desk-masthead__copy,
	.home-hero .desk-masthead__side-stack {
		transform: none !important;
	}
}

/* 第十七輪：作品集固定案例庫與文章詳情美編。 */
.works-page .paper-article-card--case .paper-article-card__link:focus-visible,
.works-page .case-filter-chip:focus-visible,
.note-detail-layout a:focus-visible,
.post-nav--note a:focus-visible {
	outline: 2px solid rgba(217, 68, 74, 0.78);
	outline-offset: 4px;
}

.works-page .paper-article-card--case .paper-article-card__link {
	min-height: 100%;
	background:
		linear-gradient(160deg, rgba(255, 254, 253, 0.96), rgba(247, 241, 230, 0.9)),
		repeating-linear-gradient(0deg, transparent 0 32px, rgba(20, 25, 29, 0.016) 32px 33px);
}

.works-page .paper-article-card--case .paper-article-card__title {
	text-wrap: balance;
}

.works-page .paper-article-card--case .paper-article-card__excerpt {
	color: #435259;
}

.note-detail-layout {
	position: relative;
	grid-template-columns: minmax(204px, 252px) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 42px);
}

.note-detail-layout::before {
	position: absolute;
	inset: -18px -18px auto auto;
	z-index: -1;
	width: min(34vw, 320px);
	height: 320px;
	pointer-events: none;
	content: "";
	background: radial-gradient(circle, rgba(54, 95, 107, 0.14), transparent 68%);
	filter: blur(18px);
	opacity: 0.9;
}

.singular-sidebar--note {
	border-color: rgba(20, 25, 29, 0.1);
	box-shadow: 10px 12px 0 rgba(20, 25, 29, 0.06), 0 16px 32px rgba(20, 25, 29, 0.08);
}

.singular-sidebar--note .section-kicker {
	color: #b86d42;
}

.singular-sidebar-outline a,
.note-detail-sidebar-link {
	transition: color 160ms ease, transform 160ms ease;
}

.singular-sidebar-outline a:hover,
.singular-sidebar-outline a:focus-visible,
.note-detail-sidebar-link:hover,
.note-detail-sidebar-link:focus-visible {
	transform: translateX(3px);
}

.singular-content--note {
	position: relative;
	padding: clamp(34px, 5vw, 68px);
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.98), rgba(252, 247, 238, 0.94)),
		repeating-linear-gradient(0deg, transparent 0 36px, rgba(20, 25, 29, 0.018) 36px 37px);
	border-color: rgba(20, 25, 29, 0.1);
	box-shadow: 0 22px 54px rgba(20, 25, 29, 0.11), 8px 9px 0 rgba(20, 25, 29, 0.05);
	overflow: hidden;
}

.singular-content--note::before {
	position: absolute;
	inset: 0 0 auto;
	height: 7px;
	content: "";
	background: linear-gradient(90deg, #27444d, rgba(184, 109, 66, 0.78), rgba(212, 168, 67, 0.62));
}

.singular-header--detail {
	position: relative;
	gap: 12px;
	max-width: 880px;
	padding-bottom: clamp(22px, 3vw, 32px);
	margin-bottom: clamp(22px, 3vw, 34px);
	border-bottom: 1px solid rgba(20, 25, 29, 0.1);
}

.singular-header--detail .section-kicker {
	color: #b86d42;
}

.singular-header--detail h1 {
	max-width: 24ch;
	color: #14191d;
	font-size: clamp(2.08rem, 3.9vw, 3.35rem);
	line-height: 1.08;
	letter-spacing: -0.038em;
	text-wrap: balance;
}

.note-detail-lead {
	max-width: 48rem;
	padding-left: clamp(16px, 2vw, 24px);
	color: #304148;
	font-size: clamp(1.05rem, 1.45vw, 1.18rem);
	font-weight: 560;
	line-height: 1.9;
	border-left: 3px solid rgba(184, 109, 66, 0.48);
}

.note-detail-media {
	max-width: 100%;
	margin: 0 0 clamp(26px, 4vw, 42px);
}

.note-detail-media .retro-window {
	max-width: 100%;
	margin: 0;
	transform: rotate(-0.28deg);
	box-shadow: 0 18px 40px rgba(20, 25, 29, 0.13), 7px 8px 0 rgba(20, 25, 29, 0.08);
}

.note-detail-media .retro-window__viewport {
	background: #ede7da;
}

.note-detail-media img {
	width: 100%;
	object-fit: cover;
}

.note-briefing {
	position: relative;
	grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(14px, 2vw, 20px);
	padding: clamp(24px, 3.4vw, 34px);
	background:
		radial-gradient(circle at 12% 10%, rgba(212, 168, 67, 0.2), transparent 26rem),
		linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(240, 246, 244, 0.94));
	border-color: rgba(54, 95, 107, 0.18);
	box-shadow: 0 18px 42px rgba(20, 25, 29, 0.1);
	overflow: hidden;
}

.note-briefing::before {
	position: absolute;
	inset: 0 auto 0 0;
	width: 6px;
	content: "";
	background: linear-gradient(180deg, #27444d, rgba(184, 109, 66, 0.8));
}

.note-briefing__intro {
	padding: 0 4px 0 0;
}

.note-briefing__intro h2 {
	max-width: 12ch;
	color: #17242a;
	font-size: clamp(1.72rem, 2.35vw, 2.35rem);
	line-height: 1.08;
}

.note-briefing__panel {
	align-content: start;
	min-width: 0;
	padding: clamp(18px, 2vw, 22px);
	background: rgba(255, 255, 255, 0.68);
	border-color: rgba(20, 25, 29, 0.1);
	box-shadow: 0 12px 26px rgba(20, 25, 29, 0.07);
}

.note-briefing__panel--summary {
	border-top: 3px solid rgba(184, 109, 66, 0.5);
}

.note-briefing__panel--outline {
	border-top: 3px solid rgba(54, 95, 107, 0.5);
}

.note-briefing__list {
	gap: 11px;
	padding-left: 1.1rem;
}

.entry-content--note {
	max-width: 100%;
	font-size: clamp(1.04rem, 1.14vw, 1.12rem);
	line-height: 1.98;
}

.entry-content--note > * {
	max-width: min(100%, 76ch);
}

.entry-content--note h2,
.entry-content--note h3,
.entry-content--note h4 {
	color: #17242a;
	text-wrap: balance;
}

.entry-content--note h2 {
	position: relative;
	max-width: min(100%, 22ch);
	margin-top: 2.15em;
	padding-top: 0.64em;
	font-size: clamp(1.78rem, 2.6vw, 2.42rem);
	line-height: 1.12;
	border-top: 1px solid rgba(20, 25, 29, 0.12);
}

.entry-content--note h2::before {
	position: absolute;
	top: -2px;
	left: 0;
	width: 72px;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, #27444d, #b86d42);
}

.entry-content--note h3 {
	margin-top: 1.75em;
	font-size: clamp(1.26rem, 1.7vw, 1.58rem);
}

.entry-content--note p,
.entry-content--note li {
	color: #34332e;
}

.entry-content--note blockquote {
	max-width: min(100%, 72ch);
	padding: 20px 22px;
	color: #2b3c43;
	background:
		linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(238, 246, 243, 0.88)),
		repeating-linear-gradient(90deg, transparent 0 28px, rgba(20, 25, 29, 0.018) 28px 29px);
	border: 1px solid rgba(20, 25, 29, 0.1);
	border-left: 5px solid rgba(184, 109, 66, 0.72);
	box-shadow: 0 10px 24px rgba(20, 25, 29, 0.06);
}

.entry-content--note table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 8px;
	box-shadow: 0 12px 26px rgba(20, 25, 29, 0.06);
}

.entry-content--note th {
	color: #17242a;
	background: rgba(54, 95, 107, 0.1);
}

.entry-content--note .article-callout,
.entry-content--note .article-checklist,
.entry-content--note .article-note-box,
.entry-content--note .article-faq {
	max-width: min(100%, 74ch);
	padding: clamp(20px, 2.4vw, 26px);
	border-radius: 8px;
	box-shadow: 0 14px 30px rgba(20, 25, 29, 0.07);
}

.entry-content--note .article-callout {
	border-color: rgba(184, 109, 66, 0.22);
}

.entry-content--note .article-checklist {
	border-color: rgba(107, 143, 94, 0.24);
}

.entry-content--note .article-faq {
	border-color: rgba(54, 95, 107, 0.2);
}

.entry-content--note .article-callout,
.entry-content--note .article-checklist,
.entry-content--note .article-note-box,
.entry-content--note .article-faq {
	background:
		linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(241, 247, 244, 0.88)),
		repeating-linear-gradient(0deg, transparent 0 32px, rgba(20, 25, 29, 0.018) 32px 33px);
}

.entry-content--note .article-callout__title,
.entry-content--note .article-faq__question,
.entry-content--note .article-note-box__title {
	margin-bottom: 0.45em;
	color: #17242a;
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 850;
	line-height: 1.45;
	letter-spacing: -0.01em;
}

.entry-content--note .article-faq {
	display: grid;
	gap: 15px;
}

.entry-content--note .article-faq p {
	margin-bottom: 0;
}

.entry-content--note > ul,
.entry-content--note > ol {
	display: grid;
	gap: 11px;
	max-width: min(100%, 72ch);
	padding: 18px 20px 18px 2.35rem;
	background: rgba(255, 253, 248, 0.54);
	border: 1px solid rgba(20, 25, 29, 0.08);
	border-radius: 8px;
}

.entry-content--note .article-checklist ul,
.entry-content--note .article-checklist ol,
.entry-content--note .article-faq ul,
.entry-content--note .article-faq ol,
.entry-content--note .article-note-box ul,
.entry-content--note .article-note-box ol,
.entry-content--note .article-callout ul,
.entry-content--note .article-callout ol {
	display: grid;
	gap: 10px;
	padding: 0 0 0 1.2rem;
	background: transparent;
	border: 0;
}

.entry-content--note li + li {
	margin-top: 0;
}

.entry-content--note li::marker {
	color: #b86d42;
	font-weight: 850;
}

.post-nav--note {
	max-width: min(100%, 1040px);
	padding-left: clamp(0px, 16vw - 188px, 252px);
	align-items: stretch;
}

.post-nav--note > div {
	display: grid;
	align-items: center;
	min-height: 110px;
	padding: 18px 20px;
	background: rgba(255, 254, 253, 0.64);
	border: 1px solid rgba(20, 25, 29, 0.1);
	box-shadow: 0 10px 22px rgba(20, 25, 29, 0.06);
}

.post-nav--note a {
	display: inline-flex;
	align-items: center;
	width: 100%;
	min-height: 0;
	color: #27444d;
	font-weight: 820;
	line-height: 1.65;
	text-decoration: none;
	text-wrap: balance;
}

.post-nav--note a:hover {
	color: var(--rust);
}

.post-nav--note > div:first-child a {
	justify-content: flex-start;
	text-align: left;
}

.post-nav--note > div:last-child a {
	justify-content: flex-end;
	text-align: right;
}

@media (max-width: 1180px) {
	.note-briefing {
		grid-template-columns: 1fr 1fr;
	}

	.note-briefing__intro {
		grid-column: 1 / -1;
	}

	.note-briefing__intro h2 {
		max-width: 100%;
	}
}

@media (max-width: 920px) {
	.note-detail-layout {
		grid-template-columns: 1fr;
	}

	.singular-content--note {
		box-shadow: 0 18px 38px rgba(20, 25, 29, 0.09), 5px 6px 0 rgba(20, 25, 29, 0.05);
	}

	.singular-header--detail h1 {
		max-width: 100%;
		font-size: clamp(2rem, 6vw, 2.82rem);
		line-height: 1.1;
	}

	.note-detail-media .retro-window {
		transform: none;
	}
}

@media (max-width: 699px) {
	.singular-content--note {
		padding: 26px 18px 24px;
	}

	.singular-header--detail {
		padding-bottom: 20px;
		margin-bottom: 22px;
	}

	.singular-header--detail h1 {
		font-size: clamp(1.82rem, 7.4vw, 2.36rem);
		line-height: 1.12;
		letter-spacing: -0.035em;
	}

	.note-detail-lead {
		padding-left: 14px;
		font-size: 1rem;
		line-height: 1.86;
	}

	.note-briefing {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 18px 16px 16px;
	}

	.note-briefing::before {
		width: 4px;
	}

	.note-briefing__panel {
		padding: 15px 14px;
	}

	.note-briefing__list {
		gap: 8px;
		padding-left: 1rem;
		font-size: 0.92rem;
		line-height: 1.68;
	}

	.entry-content--note {
		font-size: 1rem;
		line-height: 1.9;
	}

	.entry-content--note h2 {
		max-width: 100%;
		font-size: clamp(1.46rem, 7vw, 1.92rem);
	}

	.entry-content--note h3 {
		font-size: clamp(1.18rem, 5.4vw, 1.38rem);
	}

	.entry-content--note blockquote,
	.entry-content--note .article-callout,
	.entry-content--note .article-checklist,
	.entry-content--note .article-note-box,
	.entry-content--note .article-faq {
		padding: 17px 16px;
	}

	.entry-content--note > ul,
	.entry-content--note > ol {
		gap: 9px;
		padding: 15px 15px 15px 2rem;
		font-size: 0.98rem;
		line-height: 1.78;
	}

	.entry-content--note .article-checklist ul,
	.entry-content--note .article-checklist ol,
	.entry-content--note .article-faq ul,
	.entry-content--note .article-faq ol,
	.entry-content--note .article-note-box ul,
	.entry-content--note .article-note-box ol,
	.entry-content--note .article-callout ul,
	.entry-content--note .article-callout ol {
		padding-left: 1.05rem;
		font-size: 0.97rem;
	}

	.post-nav--note {
		padding-left: 0;
	}

	.post-nav--note > div:last-child a {
		justify-content: flex-start;
		text-align: left;
	}
}

/* 第十輪：手機側邊欄導覽。 */
.mobile-menu-toggle,
.mobile-menu-shell {
	display: none;
}

.mobile-menu-toggle {
	position: relative;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 8px 13px;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	background: rgba(255, 254, 253, 0.88);
	border: 1px solid rgba(20, 25, 29, 0.16);
	border-radius: 999px;
	box-shadow: 3px 4px 0 rgba(44, 40, 34, 0.12);
	cursor: pointer;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
	background: rgba(255, 250, 240, 0.98);
	border-color: rgba(217, 68, 74, 0.34);
	transform: translateY(-1px);
}

.mobile-menu-toggle__bars {
	display: grid;
	gap: 5px;
	width: 18px;
}

.mobile-menu-toggle__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	transform-origin: center;
	transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-close {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	color: var(--ink);
	background: rgba(255, 254, 253, 0.82);
	border: 1px solid rgba(20, 25, 29, 0.12);
	border-radius: 999px;
	box-shadow: 2px 3px 0 rgba(44, 40, 34, 0.1);
	cursor: pointer;
}

.mobile-menu-close span {
	display: block;
	margin-top: -2px;
	font-size: 1.8rem;
	line-height: 1;
}

.mobile-menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 89;
	background: rgba(20, 25, 29, 0.3);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}

.mobile-menu-shell {
	visibility: hidden;
	pointer-events: none;
}

.mobile-menu-drawer {
	position: fixed;
	top: max(10px, env(safe-area-inset-top));
	right: max(10px, env(safe-area-inset-right));
	bottom: max(10px, env(safe-area-inset-bottom));
	z-index: 90;
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
	gap: 18px;
	width: min(22rem, calc(100vw - 42px));
	padding: 20px;
	color: var(--ink);
	background:
		linear-gradient(145deg, rgba(255, 254, 253, 0.98), rgba(241, 235, 224, 0.96)),
		repeating-linear-gradient(0deg, transparent 0 30px, rgba(20, 25, 29, 0.024) 31px 32px);
	border: 1px solid rgba(20, 25, 29, 0.16);
	box-shadow: -18px 22px 60px rgba(20, 25, 29, 0.22), 5px 6px 0 rgba(44, 40, 34, 0.11);
	opacity: 0;
	overflow: hidden auto;
	transform: translateX(calc(100% + 28px)) rotate(1.2deg);
	transition:
		opacity 260ms cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0s linear 260ms,
		transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
	visibility: hidden;
	pointer-events: none;
}

.mobile-menu-drawer::before {
	position: absolute;
	top: -10px;
	left: 28px;
	width: 88px;
	height: 22px;
	content: "";
	background: rgba(212, 168, 67, 0.25);
	border: 1px solid rgba(44, 40, 34, 0.08);
	transform: rotate(-5deg);
}

.mobile-menu-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.mobile-menu-drawer__header .section-kicker {
	margin: 0;
}

.mobile-menu-drawer__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 10vw, 3rem);
	font-weight: 820;
	line-height: 0.95;
	letter-spacing: -0.055em;
}

.mobile-menu-nav {
	min-height: 0;
	padding-top: 4px;
}

.mobile-menu {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.mobile-menu a {
	position: relative;
	display: flex;
	min-height: 56px;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-decoration: none;
	background: rgba(255, 254, 253, 0.72);
	border: 1px solid rgba(20, 25, 29, 0.1);
	box-shadow: 2px 3px 0 rgba(44, 40, 34, 0.08);
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.mobile-menu a::after {
	color: rgba(44, 40, 34, 0.42);
	content: ">";
	font-size: 0.82rem;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a {
	color: #1f3d47;
	background: rgba(255, 250, 240, 0.98);
	border-color: rgba(54, 95, 107, 0.28);
	transform: translateX(-3px);
}

.mobile-menu-drawer__meta {
	margin: 0;
	color: #637078;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.14em;
}

body.mobile-menu-open {
	overflow: hidden;
	touch-action: none;
}

body.mobile-menu-open .mobile-menu-backdrop {
	opacity: 1;
	pointer-events: auto;
}

body.mobile-menu-open .mobile-menu-shell {
	visibility: visible;
	pointer-events: auto;
}

body.mobile-menu-open .mobile-menu-drawer {
	opacity: 1;
	transform: translateX(0) rotate(0deg);
	visibility: visible;
	pointer-events: auto;
	transition:
		opacity 260ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.mobile-menu-open .mobile-menu-toggle {
	border-color: rgba(217, 68, 74, 0.42);
	box-shadow: 2px 3px 0 rgba(217, 68, 74, 0.14);
}

body.mobile-menu-open .mobile-menu-toggle__bars span:first-child {
	transform: translateY(3.5px) rotate(42deg);
}

body.mobile-menu-open .mobile-menu-toggle__bars span:last-child {
	transform: translateY(-3.5px) rotate(-42deg);
}

@media (max-width: 699px) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 80;
		width: min(100% - 14px, var(--max-page));
		padding-top: max(4px, env(safe-area-inset-top));
		padding-bottom: 2px;
	}

	.site-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 7px 9px;
		background: rgba(249, 245, 237, 0.62);
		border: 1px solid rgba(20, 25, 29, 0.05);
		border-radius: 18px;
		box-shadow: 0 4px 10px rgba(20, 25, 29, 0.035);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}

	.site-brand {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		min-width: 0;
	}

	.site-brand__mark {
		width: clamp(154px, 44vw, 172px);
		max-height: 46px;
		min-height: 0;
		transform: none;
	}

	.site-brand__mark:hover,
	.site-brand__mark:focus-visible {
		transform: translateY(-1px);
	}

	.js .site-nav {
		display: none;
	}

	.site-header__meta {
		display: none;
	}

	.js .mobile-menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
		margin-left: 0;
		min-height: 40px;
		gap: 6px;
		padding: 6px 10px;
		font-size: 0.63rem;
		letter-spacing: 0.075em;
		background: rgba(255, 255, 255, 0.78);
		border-color: rgba(20, 25, 29, 0.1);
		border-radius: 18px;
		box-shadow: 0 3px 8px rgba(44, 40, 34, 0.06);
	}

	.js .mobile-menu-shell {
		display: block;
	}
}

@media (max-width: 430px) {
	.site-header__inner {
		padding: 6px 8px;
		border-radius: 16px;
	}

	.site-brand__mark {
		min-height: 44px;
		width: clamp(148px, 43vw, 164px);
		max-height: 44px;
	}

	.js .mobile-menu-toggle {
		min-height: 44px;
		padding: 6px 9px;
	}
}

@media (max-width: 699px) {
	.site-brand__mark {
		min-height: 44px;
	}

	.js .mobile-menu-toggle {
		min-height: 44px;
	}
}

@media (min-width: 700px) {
	body.mobile-menu-open {
		overflow: auto;
		touch-action: auto;
	}
}

/* 文章內容系統：閱讀時間、可點擊目錄、實作段落與延伸閱讀。 */
.note-reading-time {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 18px 0 0;
	padding-left: 13px;
	color: #4f5a5f;
	font-size: 0.92rem;
	font-weight: 760;
	line-height: 1.6;
	border-left: 3px solid #b86d42;
}

.note-reading-time span {
	color: #27444d;
	font-family: var(--font-display);
	font-size: 0.74rem;
	letter-spacing: 0.12em;
}

.singular-tags span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 5px 10px;
	color: #4f5a5f;
	font-size: 0.8rem;
	font-weight: 760;
	line-height: 1.35;
	background: rgba(255, 253, 248, 0.72);
	border: 1px solid rgba(20, 25, 29, 0.1);
	border-radius: 8px;
}

.note-briefing__panel--outline > summary {
	display: flex;
	align-items: center;
	min-height: 48px;
	cursor: pointer;
}

.note-briefing__panel--outline > summary:focus-visible {
	outline: 3px solid rgba(39, 68, 77, 0.24);
	outline-offset: 3px;
}

.note-briefing__toc ol {
	display: grid;
	gap: 9px;
	margin: 2px 0 0;
	padding-left: 1.25rem;
}

.note-briefing__toc a {
	color: #27444d;
	font-size: 0.94rem;
	font-weight: 720;
	line-height: 1.62;
	text-decoration: underline;
	text-decoration-color: rgba(39, 68, 77, 0.24);
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}

.note-briefing__toc a:hover {
	color: #8e4f32;
	text-decoration-color: currentcolor;
}

.note-briefing__toc a:focus-visible {
	outline: 3px solid rgba(39, 68, 77, 0.2);
	outline-offset: 3px;
}

.note-briefing__toc-item--level-3 {
	margin-left: 1rem;
	font-size: 0.92em;
}

.entry-content--note :is(h2, h3)[id] {
	scroll-margin-top: 24px;
}

.entry-content--note h2,
.entry-content--note h3,
.singular-header--detail h1,
.related-note-link strong {
	overflow-wrap: anywhere;
}

.entry-content--note .article-practice {
	max-width: min(100%, 76ch);
	margin-top: 2.2em;
	padding-top: 2px;
	border-top: 1px dashed rgba(20, 25, 29, 0.16);
}

.entry-content--note .article-practice > h2 {
	margin-top: 1.6em;
}

.entry-content--note pre {
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

.entry-content--note pre code {
	white-space: pre;
	overflow-wrap: normal;
}

.related-notes {
	width: min(calc(100% - 48px), 1080px);
	margin: 56px auto 0;
	padding-left: 0;
}

.related-notes__heading {
	margin-bottom: 22px;
}

.related-notes__heading h2 {
	margin: 4px 0 0;
	color: #17242a;
	font-size: clamp(1.55rem, 2.3vw, 2rem);
	line-height: 1.2;
}

.related-notes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

/* 消除延伸閱讀卡片的畸形旋轉與錯位下沉，確保整齊對齊與等高。 */
.related-notes__grid .paper-article-card,
.related-notes__grid .paper-article-card:nth-child(n) {
	margin: 0 !important;
	transform: none !important;
	height: 100% !important;
}

.related-notes__grid .paper-article-card:hover,
.related-notes__grid .paper-article-card:focus-within {
	transform: translateY(-4px) !important;
}

.related-notes__grid .paper-article-card .paper-article-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.related-notes__grid .paper-article-card .paper-article-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.related-notes__grid .paper-article-card .paper-article-card__cta {
	margin-top: auto;
}

.related-note-link {
	display: grid;
	align-content: start;
	gap: 10px;
	min-width: 0;
	padding: 18px;
	color: #17242a;
	text-decoration: none;
	background: rgba(255, 254, 250, 0.76);
	border: 1px solid rgba(20, 25, 29, 0.1);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(20, 25, 29, 0.05);
	transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.related-note-link span {
	color: #8e4f32;
	font-size: 0.72rem;
	font-weight: 820;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.related-note-link strong {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 820;
	line-height: 1.55;
	letter-spacing: 0;
}

.related-note-link em {
	margin-top: auto;
	color: #27444d;
	font-size: 0.84rem;
	font-style: normal;
	font-weight: 760;
}

.related-note-link:hover,
.related-note-link:focus-visible {
	border-color: rgba(184, 109, 66, 0.42);
	box-shadow: 0 12px 26px rgba(20, 25, 29, 0.09);
	transform: translateY(-2px);
}

.related-note-link:focus-visible {
	outline: 3px solid rgba(184, 109, 66, 0.2);
	outline-offset: 3px;
}

@media (max-width: 920px) {
	.related-notes {
		padding-left: 0;
	}

	.related-notes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 699px) {
	.note-reading-time {
		margin-top: 15px;
		font-size: 0.88rem;
	}

	.note-briefing__toc ol {
		gap: 8px;
		padding-left: 1.05rem;
	}

	.entry-content--note .article-practice {
		margin-top: 1.8em;
	}

	.related-notes {
		width: calc(100% - 32px);
		margin-top: 36px;
	}

	.related-notes__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.related-note-link {
		min-height: 48px;
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mobile-menu-backdrop,
	.mobile-menu-drawer,
	.mobile-menu-toggle,
	.mobile-menu-toggle__bars span,
	.mobile-menu a {
		transition-duration: 0.001ms !important;
	}
}

/* 第十一輪：首頁 hero 斷行與桌機重排修正。 */
html,
body {
	max-width: 100%;
	overflow-x: clip;
}

@supports not (overflow: clip) {
	html,
	body {
		overflow-x: hidden;
	}
}

.home-hero {
	grid-template-columns: minmax(230px, 280px) minmax(0, 600px);
	grid-template-areas:
		"portrait kicker"
		"portrait copy";
	justify-content: start;
	column-gap: clamp(24px, 3.2vw, 56px);
	row-gap: clamp(14px, 1.8vw, 24px);
	overflow: clip;
}

.home-hero .desk-masthead__copy {
	max-width: 560px;
	min-width: 0;
	transform: none;
}

.home-hero .desk-masthead__copy h1 {
	max-width: 100%;
	font-size: clamp(2.4rem, 3.35vw, 3.42rem);
	line-height: 1.06;
	letter-spacing: -0.043em;
	text-wrap: balance;
}

.home-hero .desk-masthead__copy h1 .hero-line-pair {
	display: grid;
	grid-template-columns: max-content max-content;
	justify-content: start;
	gap: clamp(0.42em, 1.2vw, 0.72em);
	max-width: 100%;
}

.home-hero .desk-masthead__copy h1 .hero-line-pair > span,
.home-hero .desk-masthead__copy h1 .hero-line-ai {
	display: block;
	max-width: 100%;
	word-break: keep-all;
	overflow-wrap: normal;
}

.home-hero .desk-masthead__copy h1 .hero-line-ai {
	max-width: 11.8ch;
	font-size: 0.96em;
}

.home-hero .desk-masthead__side-stack {
	max-width: 250px;
	margin: clamp(18px, 3vw, 34px) 0 0;
	justify-self: end;
}

.home-hero .side-stack-card {
	width: 100%;
}

html.has-fine-pointer .home-hero .desk-masthead__copy,
html.has-fine-pointer .home-hero .desk-masthead__side-stack {
	transform: none;
}

@media (min-width: 1501px) {
	.home-hero {
		grid-template-columns: minmax(270px, 340px) minmax(0, 640px);
		column-gap: clamp(36px, 3.8vw, 72px);
	}

	.home-hero .desk-masthead__copy {
		max-width: 620px;
	}

	.home-hero .desk-masthead__copy h1 {
		max-width: 100%;
		font-size: clamp(3rem, 3.05vw, 3.75rem);
	}
}

@media (min-width: 1181px) and (max-width: 1320px) {
	.home-hero {
		grid-template-columns: minmax(210px, 280px) minmax(0, 560px);
		column-gap: clamp(34px, 4vw, 56px);
	}

	.home-hero .desk-masthead__copy {
		max-width: 560px;
	}

	.home-hero .desk-masthead__copy h1 {
		max-width: 100%;
		font-size: clamp(2.08rem, 2.72vw, 2.58rem);
		line-height: 1.07;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		gap: clamp(0.34em, 0.9vw, 0.48em);
	}

	.home-hero .desk-masthead__side-stack {
		max-width: 246px;
		margin-top: clamp(32px, 3.8vw, 46px);
	}
}

@media (min-width: 1321px) and (max-width: 1500px) {
	.home-hero {
		grid-template-columns: minmax(240px, 310px) minmax(0, 620px);
		column-gap: clamp(42px, 4.4vw, 68px);
	}

	.home-hero .desk-masthead__copy {
		max-width: 520px;
	}

	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(2.75rem, 3.12vw, 3.22rem);
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		gap: clamp(0.34em, 1vw, 0.55em);
	}

	.home-hero .desk-masthead__side-stack {
		max-width: 260px;
	}
}

@media (min-width: 700px) and (max-width: 1024px) {
	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(2rem, 4.75vw, 2.4rem);
		line-height: 1.08;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: max-content max-content;
		gap: clamp(0.34em, 1.8vw, 0.52em);
	}

	.home-hero .desk-masthead__side-stack {
		width: 100%;
		max-width: none;
		margin-top: 0.65rem;
		justify-self: stretch;
	}

	.home-hero .side-stack-card {
		padding: 1rem;
		transform: none;
	}

	.home-hero .skill-list--nodes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.62rem;
	}

	.home-hero .skill-list--nodes li {
		grid-template-columns: auto minmax(0, 1fr);
		justify-items: start;
		min-height: 3.35rem;
		padding: 0.58rem 0.68rem;
		font-size: 0.78rem;
		text-align: left;
	}

	.home-hero .skill-list--nodes li > span {
		width: 1.95rem;
		height: 1.95rem;
	}
}

@media (max-width: 1180px) {
	.home-hero {
		overflow: visible;
	}
}

@media (max-width: 699px) {
	.home-hero.home-hero,
	.home-hero.desk-masthead {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"kicker"
			"copy"
			"portrait"
			"side";
		gap: 0.95rem;
		padding: 18px 0 0;
		align-items: start;
		justify-content: stretch;
	}

	.home-hero .front-page-kicker,
	.home-hero .desk-masthead__copy,
	.home-hero .desk-masthead__portrait,
	.home-hero .desk-masthead__side-stack {
		width: 100%;
		max-width: none;
		min-width: 0;
		justify-self: stretch;
		transform: none;
	}

	.home-hero .front-page-kicker {
		grid-area: kicker;
	}

	.home-hero .desk-masthead__copy {
		grid-area: copy;
		max-width: 100%;
		padding: 0;
	}

	.home-hero .desk-masthead__copy h1 {
		max-width: 100%;
		font-size: clamp(2.42rem, 9.8vw, 2.78rem);
		line-height: 1.1;
		letter-spacing: -0.047em;
		text-wrap: auto;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: 1fr;
		gap: 0.01em;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-ai {
		width: max-content;
		max-width: 100%;
		font-size: clamp(1.62rem, 6.75vw, 1.98rem);
		line-height: 1.16;
		letter-spacing: -0.035em;
		white-space: nowrap;
	}

	.home-hero .desk-masthead__intro {
		margin-top: 0.9rem;
		font-size: clamp(1rem, 4.25vw, 1.08rem);
		line-height: 1.86;
	}

	.home-hero .desk-masthead__actions {
		display: grid;
		grid-template-columns: 1fr;
		margin-top: 1.15rem;
	}

	.home-hero .desk-masthead__portrait {
		grid-area: portrait;
		margin-top: 0.2rem;
	}

	.home-hero .desk-masthead__side-stack {
		grid-area: side;
		margin: 0;
	}

	.home-hero .side-stack-card {
		transform: none;
	}
}

@media (max-width: 420px) {
	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(2.28rem, 10.1vw, 2.78rem);
		line-height: 1.1;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-ai {
		max-width: 100%;
		font-size: clamp(1.52rem, 6.95vw, 1.82rem);
		white-space: nowrap;
	}
}

@media (max-width: 360px) {
	.home-hero .desk-masthead__copy h1 {
		font-size: clamp(2.08rem, 9.7vw, 2.45rem);
		letter-spacing: -0.04em;
	}
}

/* 第十二輪：首頁段落節奏、分區氣氛與進場動效重整。 */
.front-page--home {
	display: grid;
	gap: clamp(3.5rem, 6vw, 5.75rem);
}

.front-page--home > section {
	position: relative;
}

.front-page--home > section + section {
	margin-top: 0;
}

.front-page--home > .home-stage,
.front-page--home > .home-section {
	--stage-progress: 0;
}

.home-stage,
.home-section {
	transition:
		transform 520ms var(--motion-ease),
		opacity 520ms var(--motion-ease);
}

.home-stage::before,
.home-stage::after,
.home-section::before,
.home-section::after {
	position: absolute;
	pointer-events: none;
	content: "";
}

.home-stage::before {
	top: clamp(-26px, -2vw, -16px);
	left: clamp(-18px, -1vw, -8px);
	width: clamp(10rem, 20vw, 18rem);
	height: clamp(10rem, 20vw, 18rem);
	border-radius: 999px;
	background: radial-gradient(circle, rgba(212, 168, 67, 0.16), rgba(212, 168, 67, 0) 68%);
	filter: blur(8px);
	opacity: calc(0.45 + var(--stage-progress) * 0.45);
	transform: translate3d(calc(var(--parallax-x) * 0.22), calc(var(--parallax-y) * 0.12), 0);
}

.home-stage::after {
	right: clamp(-56px, -3vw, -18px);
	bottom: clamp(-52px, -4vw, -20px);
	width: clamp(12rem, 24vw, 22rem);
	height: clamp(12rem, 24vw, 22rem);
	border-radius: 999px;
	background: radial-gradient(circle, rgba(54, 95, 107, 0.11), rgba(54, 95, 107, 0) 70%);
	opacity: calc(0.35 + var(--stage-progress) * 0.5);
	transform: translate3d(calc(var(--parallax-x) * -0.18), calc(var(--parallax-y) * -0.16), 0);
}

.home-section {
	padding: clamp(1.4rem, 2.5vw, 2rem) clamp(0.9rem, 2vw, 1.4rem) clamp(1.2rem, 2.2vw, 1.8rem);
	border-radius: 28px;
	isolation: isolate;
}

.home-section::before {
	inset: 0;
	z-index: -2;
	border: 1px solid rgba(20, 25, 29, 0.08);
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 252, 246, 0.52), rgba(244, 238, 227, 0.2)),
		rgba(255, 255, 255, 0.08);
	box-shadow: 0 22px 52px rgba(44, 40, 34, 0.05);
	opacity: calc(0.62 + var(--stage-progress) * 0.28);
	transition:
		opacity 320ms ease,
		box-shadow 320ms ease,
		border-color 320ms ease;
}

.home-section::after {
	z-index: -1;
	border-radius: 999px;
	filter: blur(18px);
	opacity: calc(0.22 + var(--stage-progress) * 0.28);
	transition: opacity 320ms ease, transform 520ms var(--motion-ease);
}

.home-section.is-stage-active::before {
	border-color: rgba(54, 95, 107, 0.12);
	box-shadow: 0 28px 58px rgba(44, 40, 34, 0.08);
}

.home-section--services::after {
	top: 0;
	right: 8%;
	width: clamp(12rem, 22vw, 18rem);
	height: clamp(12rem, 22vw, 18rem);
	background: radial-gradient(circle, rgba(212, 168, 67, 0.16), rgba(212, 168, 67, 0) 68%);
	transform: translate3d(0, calc(var(--stage-progress) * -12px), 0);
}

.home-section--works::after {
	top: 12%;
	left: -2%;
	width: clamp(13rem, 24vw, 20rem);
	height: clamp(13rem, 24vw, 20rem);
	background: radial-gradient(circle, rgba(54, 95, 107, 0.14), rgba(54, 95, 107, 0) 68%);
	transform: translate3d(calc(var(--stage-progress) * 10px), calc(var(--stage-progress) * -14px), 0);
}

.home-section--notes::after {
	right: 4%;
	bottom: 10%;
	width: clamp(11rem, 20vw, 17rem);
	height: clamp(11rem, 20vw, 17rem);
	background: radial-gradient(circle, rgba(217, 68, 74, 0.12), rgba(217, 68, 74, 0) 72%);
	transform: translate3d(calc(var(--stage-progress) * -8px), calc(var(--stage-progress) * 10px), 0);
}

.home-section__heading {
	position: relative;
	align-items: start;
	margin-bottom: clamp(1.35rem, 2vw, 1.8rem);
}

.home-section__heading > div {
	display: grid;
	gap: 0.45rem;
}

.home-section__heading h2 {
	max-width: 13ch;
	font-size: clamp(2rem, 3.4vw, 3.2rem);
	line-height: 1.03;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.home-section__lead {
	max-width: 28rem;
	margin: 0;
	color: #59646b;
	font-size: clamp(0.98rem, 1.15vw, 1.06rem);
	line-height: 1.88;
	text-wrap: pretty;
}

.home-section__heading .desktop-chip {
	align-self: center;
	margin-left: auto;
}

.service-board-section {
	overflow: clip;
}

.service-grid[data-reveal-group],
.article-board[data-reveal-group] {
	position: relative;
}

.service-grid[data-reveal-group] > *,
.article-board[data-reveal-group] > * {
	--reveal-distance: 26px;
}

.service-grid[data-reveal-group]::before {
	position: absolute;
	inset: -6% auto auto 12%;
	width: 72%;
	height: 1px;
	content: "";
	background: linear-gradient(90deg, rgba(54, 95, 107, 0), rgba(54, 95, 107, 0.2), rgba(54, 95, 107, 0));
	opacity: calc(0.32 + var(--stage-progress) * 0.36);
}

.home-section .article-board {
	padding-bottom: 0.4rem;
}

.home-section .paper-article-card {
	transition:
		transform 300ms var(--motion-ease),
		filter 300ms ease,
		opacity 300ms ease;
}

.home-section .paper-article-card:nth-child(3n + 2) {
	--card-shift: 24px;
}

.home-section .paper-article-card:nth-child(3n + 3) {
	--card-shift: 6px;
}

.home-section .paper-article-card:hover,
.home-section .paper-article-card:focus-within {
	filter: saturate(1.01);
}

.home-section .paper-article-card__link {
	background:
		linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(236, 229, 217, 0.95)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(44, 40, 34, 0.03) 32px 33px);
}

.home-section .paper-article-card__cta {
	position: relative;
	gap: 0.45rem;
	color: #2f5058;
}

.home-section .paper-article-card__cta::after {
	content: "→";
	font-size: 0.88em;
	transform: translateX(0);
	transition: transform 180ms ease;
}

.home-section .paper-article-card:hover .paper-article-card__cta::after,
.home-section .paper-article-card:focus-within .paper-article-card__cta::after {
	transform: translateX(3px);
}

.home-section--works .paper-article-card__link {
	background:
		linear-gradient(180deg, rgba(250, 252, 250, 0.98), rgba(234, 240, 234, 0.94)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(44, 40, 34, 0.026) 32px 33px);
}

.home-section--notes .paper-article-card__link {
	background:
		linear-gradient(180deg, rgba(255, 249, 241, 0.98), rgba(241, 233, 221, 0.94)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(44, 40, 34, 0.03) 32px 33px);
}

.home-hero .desk-masthead__actions {
	gap: 12px;
}

.home-hero .desktop-chip {
	position: relative;
	overflow: hidden;
}

.home-hero .desktop-chip::after {
	position: absolute;
	inset: auto auto -22px -12px;
	width: 72px;
	height: 72px;
	border-radius: 999px;
	content: "";
	background: radial-gradient(circle, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 70%);
	opacity: 0;
	transition: opacity 220ms ease, transform 320ms var(--motion-ease);
	transform: translate3d(-10px, 10px, 0);
}

.home-hero .desktop-chip:hover::after,
.home-hero .desktop-chip:focus-visible::after {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.lin-data-flow-divider {
	transition: opacity 320ms ease, transform 420ms var(--motion-ease);
}

body:has(.home-hero.is-stage-active) .lin-data-flow-divider {
	opacity: 0.98;
	transform: translateY(-1px);
}

.js-ready .animate-in {
	transform: translateY(var(--reveal-distance, 24px));
}

@media (max-width: 1180px) {
	.front-page--home {
		gap: clamp(3rem, 5vw, 4.4rem);
	}

	.home-section {
		padding-inline: clamp(0.8rem, 1.8vw, 1.1rem);
	}

	.home-section__heading h2 {
		max-width: 14ch;
		font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	}
}

@media (max-width: 920px) {
	.home-section__heading {
		display: grid;
		gap: 0.9rem;
	}

	.home-section__lead {
		max-width: 100%;
	}

	.home-section__heading .desktop-chip {
		margin-left: 0;
		justify-self: start;
	}
}

@media (max-width: 699px) {
	.front-page--home {
		gap: 2.6rem;
	}

	.home-stage::before,
	.home-stage::after {
		opacity: 0.28;
		filter: blur(12px);
	}

	.home-section {
		padding: 0;
		border-radius: 0;
	}

	.home-section::before,
	.home-section::after,
	.service-grid[data-reveal-group]::before {
		display: none;
	}

	.home-section__heading {
		margin-bottom: 0.95rem;
	}

	.home-section__heading h2 {
		max-width: 100%;
		font-size: clamp(1.7rem, 8vw, 2.18rem);
		line-height: 1.08;
	}

	.home-section__lead {
		font-size: 0.96rem;
		line-height: 1.82;
	}

	.home-section .paper-article-card,
	.home-section .paper-article-card:nth-child(n) {
		margin: 0 0 1rem;
		transform: none;
	}

	.home-section .paper-article-card:hover,
	.home-section .paper-article-card:focus-within {
		transform: translateY(-4px);
	}

	.home-section .paper-article-card__body,
	.front-page .works-board .paper-article-card__body {
		min-height: 0;
	}

	.home-hero .desktop-chip::after {
		display: none;
	}

	.js-ready .animate-in {
		transform: translateY(min(var(--reveal-distance, 24px), 18px));
	}
}

@media (max-width: 430px) {
	.front-page--home {
		gap: 2.3rem;
	}

	.home-section__heading h2 {
		font-size: clamp(1.58rem, 7.8vw, 1.96rem);
	}
}

@media (min-width: 700px) and (max-width: 1024px) {
	.home-hero .desk-masthead__portrait {
		max-width: min(100%, 22rem);
	}

	.home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 16 / 10;
	}

	.home-hero__featured-visual {
		display: grid;
		align-items: center;
	}
}

@media (max-width: 1024px) {
	.home-hero .desk-masthead__copy h1 {
		font-size: calc(clamp(2.42rem, 9.8vw, 2.78rem) - 1px);
	}

	.home-hero .desk-masthead__copy h1 .hero-line-ai {
		font-size: inherit;
	}
}

@media (max-width: 699px) {
	.home-hero .desk-masthead__portrait-frame {
		overflow: hidden;
	}

	.home-hero__featured-visual {
		padding: 0;
	}

	.home-hero__featured-visual img {
		width: calc(100% + 88px);
		max-width: none;
		height: auto;
		margin-left: -44px;
		margin-top: -4px;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-ai {
		font-size: inherit;
	}
}

@media (min-width: 700px) and (max-width: 1024px) {
	.home-hero.desk-masthead {
		grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
		grid-template-areas:
			"kicker kicker"
			"copy portrait"
			"side portrait";
	}

	.home-hero .front-page-kicker {
		justify-self: start;
	}

	.home-hero .desk-masthead__copy,
	.home-hero .desk-masthead__side-stack {
		grid-column: 1;
	}

	.home-hero .desk-masthead__portrait {
		grid-column: 2;
		grid-row: 2 / span 2;
		align-self: start;
		justify-self: end;
		width: min(100%, 22rem);
		margin-top: 0;
	}
}

@media (min-width: 1180px) {
	.home-hero {
		grid-template-columns: minmax(240px, 290px) minmax(500px, 540px) minmax(210px, 228px);
		column-gap: clamp(1.9rem, 2.8vw, 3.2rem);
	}

	.home-hero .desk-masthead__copy {
		max-width: 540px;
	}

	.home-hero .desk-masthead__copy h1 {
		max-width: 540px;
		font-size: clamp(2.88rem, 3vw, 3.18rem);
		line-height: 1.03;
	}

	.home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: max-content max-content;
		gap: clamp(0.2em, 0.62vw, 0.34em);
	}

	.home-hero .desk-masthead__copy h1 .hero-line-ai {
		font-size: inherit;
		white-space: nowrap;
	}

	.home-hero .desk-masthead__intro {
		max-width: 29rem;
	}

	.home-hero .desk-masthead__side-stack {
		margin-top: clamp(18px, 3vw, 34px);
	}

	.home-hero .desk-masthead__portrait-frame {
		overflow: hidden;
	}

	.home-hero__featured-visual {
		padding: 0;
	}

	.home-hero__featured-visual img {
		width: calc(100% + 84px);
		max-width: none;
		height: auto;
		margin-left: -42px;
		margin-top: -8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-stage,
	.home-section,
	.lin-data-flow-divider,
	.home-stage::before,
	.home-stage::after,
	.home-section::before,
	.home-section::after {
		transform: none !important;
	}

	.home-stage::before,
	.home-stage::after,
	.home-section::after {
		opacity: 0.22 !important;
	}
}

/* 首頁 hero desktop source of truth：收斂標題、右側卡片與左圖裁切，避免多輪 override 再互相打架。 */
@media (min-width: 1180px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		grid-template-columns: minmax(246px, 286px) minmax(0, 560px);
		grid-template-areas: "portrait copy";
		align-items: start;
		justify-content: start;
		column-gap: clamp(1.85rem, 2.7vw, 2.85rem);
		row-gap: clamp(0.55rem, 1.2vw, 0.95rem);
	}

	.front-page--home .home-hero .front-page-kicker {
		justify-self: start;
		align-self: start;
		margin: 0 0 0.85rem;
	}

	.front-page--home .home-hero .desk-masthead__portrait {
		grid-area: portrait;
		max-width: 286px;
		padding: 10px;
		transform: rotate(-1.6deg);
	}

	.front-page--home .home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 4 / 5.22;
		padding: 12px;
		overflow: hidden;
	}

	.front-page--home .home-hero__featured-visual {
		display: block;
		height: 100%;
		padding: 0;
		overflow: hidden;
	}

	.front-page--home .home-hero__featured-visual img {
		width: 100%;
		height: 100%;
		max-width: none;
		margin: 0;
		object-fit: cover;
		object-position: 34% 21%;
		transform: scale(1.28);
		transform-origin: center;
	}

	.front-page--home .home-hero .desk-masthead__copy {
		grid-area: copy;
		max-width: 480px;
		padding: 0;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		max-width: 100%;
		font-size: clamp(2.42rem, 2.54vw, 2.82rem);
		line-height: 1.04;
		letter-spacing: -0.042em;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: max-content max-content;
		gap: clamp(0.24em, 0.7vw, 0.38em);
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
		display: flex;
		flex-wrap: nowrap;
		align-items: baseline;
		gap: 0.12em;
		max-width: none;
		font-size: inherit;
		line-height: inherit;
		white-space: nowrap;
	}

	.front-page--home .home-hero .hero-line-ai__lead,
	.front-page--home .home-hero .hero-line-ai__tail {
		display: inline;
	}

	.front-page--home .home-hero .desk-masthead__intro {
		max-width: 28rem;
		margin-top: 0.9rem;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		grid-area: side;
		max-width: 242px;
		margin: -3.35rem 0 0;
		align-self: start;
		justify-self: end;
	}
}

@media (min-width: 1500px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		grid-template-columns: minmax(254px, 296px) minmax(0, 620px);
		column-gap: clamp(2.1rem, 2.9vw, 3.2rem);
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		font-size: clamp(2.56rem, 2.48vw, 2.94rem);
	}

	.front-page--home .home-hero__featured-visual img {
		object-position: 35% 19%;
		transform: scale(1.24);
	}
}

@media (min-width: 700px) and (max-width: 1179px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		grid-template-columns: minmax(0, 1fr) minmax(248px, 320px);
		grid-template-areas: "copy portrait";
		align-items: start;
		column-gap: clamp(1.2rem, 3.4vw, 2.15rem);
		row-gap: 1rem;
		padding: 1.1rem;
	}

	.front-page--home .home-hero .front-page-kicker {
		justify-self: start;
		align-self: start;
		margin: 0 0 0.75rem;
	}

	.front-page--home .home-hero .desk-masthead__copy {
		grid-area: copy;
		max-width: none;
		padding: 0;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		max-width: 100%;
		font-size: clamp(2rem, 4.1vw, 2.48rem);
		line-height: 1.05;
		letter-spacing: -0.042em;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: max-content max-content;
		gap: 0.26em;
		justify-content: start;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
		display: flex;
		flex-wrap: nowrap;
		gap: 0.12em;
		max-width: 100%;
		font-size: inherit;
		line-height: inherit;
		white-space: nowrap;
	}

	.front-page--home .home-hero .hero-line-ai__lead {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.front-page--home .home-hero .hero-line-ai__tail {
		flex: 0 0 auto;
	}

	.front-page--home .home-hero .desk-masthead__intro {
		max-width: 29rem;
		margin-top: 0.8rem;
		font-size: 1rem;
		line-height: 1.78;
	}

	.front-page--home .home-hero .desk-masthead__actions {
		margin-top: 1rem;
	}

	.front-page--home .home-hero .desk-masthead__portrait {
		grid-area: portrait;
		width: min(100%, 20rem);
		max-width: 20rem;
		margin-top: 0;
		justify-self: end;
	}

	.front-page--home .home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 1 / 1.08;
		padding: 11px;
		overflow: hidden;
	}

	.front-page--home .home-hero__featured-visual {
		height: 100%;
		padding: 0;
		overflow: hidden;
	}

	.front-page--home .home-hero__featured-visual img {
		width: 100%;
		height: 100%;
		max-width: none;
		margin: 0;
		object-fit: cover;
		object-position: 48% 31%;
		transform: scale(1.06);
		transform-origin: center;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		grid-area: side;
		width: 100%;
		max-width: none;
		margin: 0.35rem 0 0;
		justify-self: stretch;
	}

	.front-page--home .home-hero .side-stack-card {
		padding: 1rem;
		transform: none;
	}

	.front-page--home .home-hero .skill-list--nodes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.7rem;
	}

	.front-page--home .home-hero .skill-list--nodes li {
		min-height: 3.35rem;
		padding: 0.58rem 0.72rem;
	}
}

@media (max-width: 699px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"copy"
			"portrait";
		gap: 0.95rem;
		padding: 1rem 0 0;
	}

	.front-page--home .home-hero .front-page-kicker {
		margin: 0 0 0.7rem;
	}

	.front-page--home .home-hero .desk-masthead__copy {
		grid-area: copy;
		max-width: none;
		padding: 0;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		max-width: 100%;
		font-size: clamp(1.62rem, 7vw, 1.84rem);
		line-height: 1.08;
		letter-spacing: -0.043em;
		text-wrap: balance;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: max-content max-content;
		gap: 0.24em;
		justify-content: start;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
		display: flex;
		flex-wrap: nowrap;
		align-items: baseline;
		gap: 0.1em;
		margin-top: 0.2em;
		width: auto;
		max-width: 100%;
		font-size: inherit;
		line-height: inherit;
		white-space: nowrap;
	}

	.front-page--home .home-hero .hero-line-ai__lead {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.front-page--home .home-hero .hero-line-ai__tail {
		flex: 0 0 auto;
	}

	.front-page--home .home-hero .desk-masthead__intro {
		max-width: 100%;
		margin-top: 0.75rem;
		font-size: clamp(0.92rem, 3.55vw, 0.97rem);
		line-height: 1.72;
		text-wrap: balance;
	}

	.front-page--home .home-hero .desk-masthead__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.7rem;
		margin-top: 1rem;
	}

	.front-page--home .home-hero .desk-masthead__portrait {
		grid-area: portrait;
		width: 100%;
		max-width: none;
		margin-top: 0.25rem;
	}

	.front-page--home .home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 1 / 1.06;
		padding: 10px;
		overflow: hidden;
	}

	.front-page--home .home-hero__featured-visual {
		height: 100%;
		padding: 0;
		overflow: hidden;
	}

	.front-page--home .home-hero__featured-visual img {
		width: 100%;
		height: 100%;
		max-width: none;
		margin: 0;
		object-fit: cover;
		object-position: 50% 30%;
		transform: scale(1.02);
		transform-origin: center;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		grid-area: side;
		width: 100%;
		max-width: none;
		margin: 0.2rem 0 0;
	}

	.front-page--home .home-hero .side-stack-card {
		padding: 0.95rem 0.9rem;
		transform: none;
	}

	.front-page--home .home-hero .skill-list--nodes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.62rem;
	}

	.front-page--home .home-hero .skill-list--nodes li {
		min-height: 3.1rem;
		padding: 0.55rem 0.62rem;
		font-size: 0.74rem;
	}
}

@media (max-width: 360px) {
	.front-page--home .home-hero .desk-masthead__copy h1 {
		font-size: clamp(1.48rem, 7.7vw, 1.7rem);
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
		white-space: normal;
		flex-wrap: wrap;
		gap: 0.12em;
	}

	.front-page--home .home-hero .hero-line-ai__tail {
		flex: 0 1 auto;
		min-width: 0;
	}
}

/* 第十八輪：關於頁手機首屏密度修正。 */
@media (max-width: 699px) {
	.static-page--about .site-main,
	.static-page--about .singular-main {
		width: min(100% - 24px, 38rem);
		padding-top: 12px;
		padding-bottom: 32px;
	}

	.static-page--about .about-page {
		display: grid;
		gap: 28px;
	}

	.static-page--about .about-stage {
		margin-top: 0;
	}

	.static-page--about .about-stage__intro {
		gap: 18px;
		padding: 18px 14px 22px;
		background:
			linear-gradient(180deg, rgba(255, 254, 253, 0.9), rgba(245, 239, 228, 0.72)),
			repeating-linear-gradient(0deg, transparent 0 32px, rgba(20, 25, 29, 0.018) 32px 33px);
		border: 1px solid rgba(20, 25, 29, 0.08);
		box-shadow: 0 12px 28px rgba(20, 25, 29, 0.07);
	}

	.static-page--about .about-stage__masthead {
		gap: 8px;
	}

	.static-page--about .about-stage__masthead .section-kicker {
		font-size: 0.68rem;
		letter-spacing: 0.13em;
	}

	.static-page--about .about-stage__title-intro {
		font-size: 0.96rem;
		line-height: 1.35;
	}

	.static-page--about .about-stage__title-main {
		max-width: 100%;
		font-size: clamp(1.72rem, 7.2vw, 2.04rem);
		line-height: 1.16;
		letter-spacing: -0.026em;
		text-wrap: balance;
	}

	.static-page--about .about-stage__title-main > span:first-child,
	.static-page--about .about-stage__title-main > span:last-child {
		font-size: 1em;
		letter-spacing: inherit;
	}

	.static-page--about .about-stage__title-main > span:last-child {
		font-size: 0.86em;
		line-height: 1.2;
	}

	.static-page--about .about-stage__summary {
		max-width: 100%;
		font-size: 0.93rem;
		font-weight: 560;
		line-height: 1.78;
	}

	.static-page--about .about-stage__copy {
		gap: 12px;
	}

	.static-page--about .about-stage__lead {
		font-size: 0.98rem;
		font-weight: 680;
		line-height: 1.72;
	}

	.static-page--about .about-stage__body {
		font-size: 0.94rem;
		line-height: 1.82;
	}

	.static-page--about .about-stage__rail {
		gap: 10px;
		padding: 12px;
		background:
			linear-gradient(180deg, rgba(255, 254, 253, 0.72), rgba(246, 240, 228, 0.48)),
			repeating-linear-gradient(0deg, transparent 0 30px, rgba(20, 25, 29, 0.014) 30px 31px);
		border: 1px solid rgba(20, 25, 29, 0.08);
		border-top: 1px solid rgba(20, 25, 29, 0.1);
		box-shadow: 5px 6px 0 rgba(20, 25, 29, 0.045);
	}

	.static-page--about .about-stage__visual {
		width: 100%;
		justify-self: center;
		padding: 6px;
		box-shadow: 0 8px 18px rgba(20, 25, 29, 0.06);
		transform: none;
	}

	.static-page--about .about-stage__visual img {
		aspect-ratio: 1 / 1.18;
		object-position: 50% 14%;
	}

	.static-page--about .about-stage__visual::before {
		width: 56px;
		height: 13px;
		top: 8px;
	}

	.static-page--about .about-stage__visual-caption {
		gap: 5px;
		padding-top: 6px;
		font-size: 0.58rem;
		letter-spacing: 0.1em;
	}

	.static-page--about .about-stage__visual-caption span {
		min-height: 20px;
		padding-inline: 6px;
	}

	.static-page--about .about-stage__actions {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.static-page--about .about-stage__actions .desktop-chip {
		min-height: 48px;
		justify-content: center;
		padding: 12px 16px;
		font-size: 0.73rem;
		letter-spacing: 0.08em;
		border-radius: 8px;
		box-shadow: 3px 4px 0 rgba(20, 25, 29, 0.12);
	}

	.static-page--about .about-stage__actions .desktop-chip--light {
		background: rgba(255, 254, 253, 0.86);
	}

	.static-page--about .about-stage__note {
		padding-top: 8px;
		font-size: 0.86rem;
		line-height: 1.68;
	}

	.static-page--about .about-stage__facts {
		gap: 10px;
	}

	.static-page--about .about-stage__fact {
		padding: 12px 0 0;
		border-top: 1px solid rgba(20, 25, 29, 0.08);
	}

	.static-page--about .about-stage__fact dt {
		font-size: 0.66rem;
		letter-spacing: 0.12em;
	}

	.static-page--about .about-stage__fact dd {
		font-size: 0.93rem;
		line-height: 1.72;
	}

	.static-page--about .about-brief {
		padding: 26px 24px 28px;
	}

	.static-page--about .about-brief__header h2 {
		font-size: clamp(1.52rem, 7.2vw, 1.98rem);
		line-height: 1.14;
	}
}

@media (max-width: 380px) {
	.static-page--about .about-stage__intro {
		padding-inline: 12px;
	}

	.static-page--about .about-stage__title-main {
		font-size: clamp(1.62rem, 7.4vw, 1.92rem);
	}
}

/* 第十九輪：作品頁卡片等高與整齊排列。 */
.works-page .works-board.article-board {
	align-items: stretch;
	grid-auto-rows: 1fr;
	gap: clamp(16px, 1.8vw, 22px);
	padding: 6px 0 30px;
}

.works-page .works-board .paper-article-card--case,
.works-page .works-board .paper-article-card--case:nth-child(n) {
	height: 100%;
	margin: 0;
	transform: none;
}

.works-page .works-board .paper-article-card--case:hover,
.works-page .works-board .paper-article-card--case:focus-within {
	transform: translateY(-5px);
}

.works-page .works-board .paper-article-card--case .paper-article-card__link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	min-height: 0;
}

.works-page .works-board .paper-article-card--case .paper-article-card__media {
	aspect-ratio: 16 / 10;
	margin: 10px 10px 0;
}

.works-page .works-board .paper-article-card--case .paper-article-card__body {
	display: grid;
	grid-template-rows: auto auto auto minmax(4.8em, 1fr) auto auto;
	gap: 8px;
	height: 100%;
	min-height: 0;
	padding: 18px 18px 20px;
}

.works-page .works-board .paper-article-card--case .paper-article-card__kicker,
.works-page .works-board .paper-article-card--case .paper-article-card__meta,
.works-page .works-board .paper-article-card--case .paper-article-card__title,
.works-page .works-board .paper-article-card--case .paper-article-card__excerpt,
.works-page .works-board .paper-article-card--case .paper-article-card__tags,
.works-page .works-board .paper-article-card--case .paper-article-card__cta {
	margin-top: 0;
	margin-bottom: 0;
}

.works-page .works-board .paper-article-card--case .paper-article-card__title {
	min-height: 3.2em;
}

.works-page .works-board .paper-article-card--case .paper-article-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.works-page .works-board .paper-article-card--case .paper-article-card__tags {
	align-content: start;
	min-height: 62px;
}

.works-page .works-board .paper-article-card--case .paper-article-card__cta {
	align-self: end;
	padding-top: 2px;
}

.works-page .works-board .paper-article-card--case .paper-article-card__actions {
	padding: 0 18px 18px;
}

@media (max-width: 920px) {
	.works-page .works-board.article-board {
		grid-auto-rows: 1fr;
		gap: 16px;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__body {
		grid-template-rows: auto auto auto minmax(4.6em, 1fr) auto auto;
	}
}

@media (max-width: 699px) {
	.works-page .works-board.article-board {
		grid-auto-rows: auto;
		gap: 14px;
		padding-bottom: 22px;
	}

	.works-page .works-board .paper-article-card--case,
	.works-page .works-board .paper-article-card--case:nth-child(n) {
		height: auto;
	}

	.works-page .works-board .paper-article-card--case:hover,
	.works-page .works-board .paper-article-card--case:focus-within {
		transform: translateY(-3px);
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__link {
		height: auto;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__body {
		display: flex;
		min-height: 0;
		padding: 0.86rem 0.9rem 0.95rem;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__title {
		display: -webkit-box;
		min-height: 3.9em;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__excerpt {
		-webkit-line-clamp: 2;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__tags {
		min-height: 0;
	}
}

/* 第二十一輪：作品集手機版掃描密度優化。 */
@media (max-width: 640px) {
	.works-page.archive-main {
		gap: 0;
	}

	.works-page .page-hero {
		margin-bottom: 12px;
		padding: 18px 16px 16px;
	}

	.works-page .page-hero .section-kicker {
		margin-bottom: 8px;
		font-size: 0.64rem;
	}

	.works-page .page-hero h1 {
		font-size: clamp(1.9rem, 8vw, 2.25rem);
		line-height: 1.05;
	}

	.works-page .page-hero p:not(.section-kicker) {
		margin-top: 10px;
		font-size: 0.9rem;
		line-height: 1.72;
	}

	.works-page .case-filter-panel {
		gap: 12px;
		margin-bottom: 12px;
		padding: 14px;
	}

	.works-page .case-filter-panel__header {
		display: flex;
		align-items: end;
		justify-content: space-between;
		gap: 12px;
	}

	.works-page .case-filter-panel__header .section-kicker {
		margin: 0;
		font-size: 0.58rem;
	}

	.works-page .case-filter-panel__header h2 {
		margin: 0;
		font-size: 0.96rem;
		line-height: 1.25;
		text-align: right;
	}

	.works-page .case-filter-panel__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.works-page .case-filter-chip {
		min-height: 38px;
		padding: 6px 10px;
		font-size: 0.68rem;
		line-height: 1.2;
	}

	.works-page .case-filter-chip strong {
		min-width: 1.35rem;
		min-height: 1.35rem;
		font-size: 0.62rem;
	}

	.works-page .case-filter-panel__status {
		margin: 0;
		font-size: 0.62rem;
		line-height: 1.35;
	}

	.works-page .works-board.article-board {
		gap: 10px;
		padding: 4px 0 22px;
	}

	.works-page .works-board .paper-article-card--case,
	.works-page .works-board .paper-article-card--case:nth-child(n) {
		border-width: 1px;
		box-shadow: 4px 4px 0 rgba(44, 40, 34, 0.09);
	}

	.works-page .works-board .paper-article-card--case:hover,
	.works-page .works-board .paper-article-card--case:focus-within {
		transform: translateY(-2px);
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__link {
		display: grid;
		grid-template-rows: auto auto;
		min-height: 0;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__media {
		aspect-ratio: 16 / 7.4;
		margin: 8px 8px 0;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__body {
		display: grid;
		grid-template-rows: auto auto auto auto auto auto;
		gap: 6px;
		height: auto;
		padding: 12px 13px 13px;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__kicker {
		display: -webkit-box;
		overflow: hidden;
		margin: 0;
		font-size: 0.56rem;
		line-height: 1.25;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 1;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__meta {
		gap: 6px;
		font-size: 0.58rem;
		line-height: 1.2;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__meta--dual-flow span {
		padding-inline: 0.56rem;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__title {
		display: -webkit-box;
		min-height: 0;
		margin: 0;
		font-size: clamp(1.02rem, 4.8vw, 1.16rem);
		line-height: 1.26;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__excerpt {
		display: -webkit-box;
		overflow: hidden;
		margin: 0;
		font-size: 0.82rem;
		line-height: 1.55;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__tags {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
		min-height: 0;
		max-height: 54px;
		margin: 0;
		overflow: hidden;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__tags span {
		max-width: 100%;
		min-height: 22px;
		padding: 2px 6px;
		overflow-wrap: anywhere;
		font-size: 0.58rem;
		line-height: 1.25;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__tags span:nth-child(n+3) {
		display: none;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__cta {
		min-height: 24px;
		margin: 2px 0 0;
		padding-top: 0;
		font-size: 0.62rem;
		line-height: 1.2;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__actions {
		gap: 6px;
		padding: 0 13px 13px;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__secondary-link {
		min-height: 24px;
		padding: 4px 8px;
		font-size: 0.6rem;
		line-height: 1.2;
	}
}

@media (max-width: 380px) {
	.works-page .page-hero,
	.works-page .case-filter-panel {
		padding-inline: 12px;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__media {
		aspect-ratio: 16 / 7.8;
	}

	.works-page .works-board .paper-article-card--case .paper-article-card__body {
		padding: 11px 12px 12px;
	}
}

/* 第二十一輪：首頁桌機卡片等高與底部導流。 */
.front-page .home-section--works .works-board.article-board,
.front-page .home-section--notes .article-board {
	align-items: stretch;
	grid-auto-rows: 1fr;
	gap: clamp(16px, 1.8vw, 22px);
	padding: 6px 0 20px;
}

.front-page .home-section--works .works-board.article-board {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.front-page .home-section--works .paper-article-card,
.front-page .home-section--works .paper-article-card:nth-child(n),
.front-page .home-section--notes .paper-article-card,
.front-page .home-section--notes .paper-article-card:nth-child(n) {
	height: 100%;
	margin: 0;
	transform: none;
}

.front-page .home-section--works .paper-article-card:hover,
.front-page .home-section--works .paper-article-card:focus-within,
.front-page .home-section--notes .paper-article-card:hover,
.front-page .home-section--notes .paper-article-card:focus-within {
	transform: translateY(-5px);
}

.front-page .home-section--works .paper-article-card__link,
.front-page .home-section--notes .paper-article-card__link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	min-height: 0;
}

.front-page .home-section--works .paper-article-card__media {
	aspect-ratio: 16 / 10;
	margin: 10px 10px 0;
}

.front-page .home-section--works .paper-article-card__body,
.front-page .home-section--notes .paper-article-card__body {
	display: grid;
	grid-template-rows: auto auto auto minmax(5.2em, 1fr) auto auto;
	gap: 8px;
	min-height: 0;
	padding: 18px 18px 20px;
}

.front-page .home-section--works .paper-article-card__kicker,
.front-page .home-section--works .paper-article-card__meta,
.front-page .home-section--works .paper-article-card__title,
.front-page .home-section--works .paper-article-card__excerpt,
.front-page .home-section--works .paper-article-card__tags,
.front-page .home-section--works .paper-article-card__cta,
.front-page .home-section--notes .paper-article-card__kicker,
.front-page .home-section--notes .paper-article-card__meta,
.front-page .home-section--notes .paper-article-card__title,
.front-page .home-section--notes .paper-article-card__excerpt,
.front-page .home-section--notes .paper-article-card__tags,
.front-page .home-section--notes .paper-article-card__cta {
	margin-top: 0;
	margin-bottom: 0;
}

.front-page .home-section--works .paper-article-card__title,
.front-page .home-section--notes .paper-article-card__title {
	min-height: 3.1em;
}

.front-page .home-section--works .paper-article-card__excerpt,
.front-page .home-section--notes .paper-article-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.front-page .home-section--works .paper-article-card__tags,
.front-page .home-section--notes .paper-article-card__tags {
	align-content: start;
	min-height: 62px;
}

.front-page .home-section--works .paper-article-card__cta,
.front-page .home-section--notes .paper-article-card__cta {
	align-self: end;
	padding-top: 2px;
}

.home-section__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: clamp(12px, 1.8vw, 20px) auto 0;
	padding: 14px 16px;
	color: var(--ink);
	background:
		linear-gradient(135deg, rgba(255, 254, 253, 0.86), rgba(242, 246, 243, 0.68)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(20, 25, 29, 0.015) 32px 33px);
	border: 1px solid rgba(20, 25, 29, 0.1);
	box-shadow: 4px 5px 0 rgba(20, 25, 29, 0.055);
}

.home-section__more p {
	max-width: 36rem;
	margin: 0;
	color: #26343b;
	font-size: 0.95rem;
	font-weight: 650;
	line-height: 1.72;
}

.home-section__more .desktop-chip {
	flex: 0 0 auto;
}

@media (max-width: 920px) {
	.front-page .home-section--works .works-board.article-board,
	.front-page .home-section--notes .article-board {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 1fr;
		gap: 16px;
	}

	.front-page .home-section--works .paper-article-card__body,
	.front-page .home-section--notes .paper-article-card__body {
		grid-template-rows: auto auto auto minmax(4.8em, 1fr) auto auto;
	}
}

@media (max-width: 699px) {
	.front-page .home-section--works .works-board.article-board,
	.front-page .home-section--notes .article-board {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 14px;
		padding-bottom: 10px;
	}

	.front-page .home-section--works .paper-article-card,
	.front-page .home-section--works .paper-article-card:nth-child(n),
	.front-page .home-section--notes .paper-article-card,
	.front-page .home-section--notes .paper-article-card:nth-child(n) {
		height: auto;
	}

	.front-page .home-section--works .paper-article-card:hover,
	.front-page .home-section--works .paper-article-card:focus-within,
	.front-page .home-section--notes .paper-article-card:hover,
	.front-page .home-section--notes .paper-article-card:focus-within {
		transform: translateY(-3px);
	}

	.front-page .home-section--works .paper-article-card__link,
	.front-page .home-section--notes .paper-article-card__link {
		height: auto;
	}

	.front-page .home-section--works .paper-article-card__body,
	.front-page .home-section--notes .paper-article-card__body {
		display: flex;
		min-height: 0;
		padding: 0.86rem 0.9rem 0.95rem;
	}

	.front-page .home-section--works .paper-article-card__title,
	.front-page .home-section--notes .paper-article-card__title {
		display: -webkit-box;
		min-height: 0;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.front-page .home-section--works .paper-article-card__excerpt,
	.front-page .home-section--notes .paper-article-card__excerpt {
		-webkit-line-clamp: 2;
	}

	.front-page .home-section--works .paper-article-card__tags,
	.front-page .home-section--notes .paper-article-card__tags {
		min-height: 0;
	}

	.home-section__more {
		display: grid;
		gap: 12px;
		margin-top: 10px;
		padding: 12px;
	}

	.home-section__more p {
		font-size: 0.9rem;
		line-height: 1.68;
	}

	.home-section__more .desktop-chip {
		justify-self: start;
	}
}

/* 第二十輪：全站聯絡資訊與 Chaty 避讓。 */
.site-footer__contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(128px, 168px);
	width: min(var(--max-page), calc(100% - 32px));
	align-items: stretch;
	gap: clamp(16px, 2.2vw, 28px);
	margin: 0 auto clamp(18px, 2.4vw, 28px);
	padding: clamp(18px, 2.4vw, 26px);
	color: var(--ink);
	background:
		linear-gradient(160deg, rgba(255, 254, 253, 0.84), rgba(246, 241, 230, 0.68)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(20, 25, 29, 0.015) 32px 33px);
	border: 1px solid rgba(20, 25, 29, 0.12);
	box-shadow: 7px 8px 0 rgba(20, 25, 29, 0.055);
}

.site-footer__contact-main {
	display: grid;
	align-content: start;
	gap: 14px;
}

.site-footer__contact h2 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.34rem, 2.4vw, 2rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.site-footer__contact-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
	margin: 0;
}

.site-footer__contact-list div {
	min-width: 0;
	padding-top: 10px;
	border-top: 1px solid rgba(20, 25, 29, 0.1);
}

.site-footer__contact-list dt {
	margin: 0 0 5px;
	color: rgba(95, 87, 77, 0.72);
	font-size: 0.66rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.site-footer__contact-list dd {
	margin: 0;
	color: #20272b;
	font-family: var(--font-mono);
	font-size: clamp(0.82rem, 1.15vw, 0.95rem);
	font-weight: 800;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.site-footer__contact-list a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.18em;
}

.site-footer__contact-list a:hover,
.site-footer__contact-list a:focus-visible {
	color: #0b7f3f;
	text-decoration: underline;
}

.site-footer__line-card {
	display: grid;
	align-content: start;
	gap: 10px;
	min-width: 0;
	padding: 10px;
	color: #183126;
	text-decoration: none;
	background: rgba(255, 254, 253, 0.88);
	border: 1px solid rgba(20, 25, 29, 0.12);
	box-shadow: 4px 5px 0 rgba(20, 25, 29, 0.07);
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.site-footer__line-card:hover,
.site-footer__line-card:focus-visible {
	border-color: rgba(6, 199, 85, 0.5);
	box-shadow: 3px 4px 0 rgba(6, 199, 85, 0.15);
	transform: translateY(-2px);
}

.site-footer__line-card:focus-visible {
	outline: var(--focus);
	outline-offset: 4px;
}

.site-footer__line-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	background: #fff;
	border: 1px solid rgba(20, 25, 29, 0.08);
}

.site-footer__line-card span {
	display: block;
	color: #0f6f36;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1.35;
	text-align: center;
}

.chaty,
.chaty-widget,
.chaty-widget.right-position,
.chaty-widget.left-position,
.chaty-widget-0,
[id^="chaty-widget-"] {
	display: none !important;
}

@font-face {
	font-family: "Noto Sans TC LINE";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/noto-sans-tc-line-800.woff2") format("woff2");
	unicode-range: U+0045, U+0049, U+004C, U+004E;
}

.tdetw-line-float {
	position: fixed;
	right: max(20px, env(safe-area-inset-right));
	bottom: max(94px, calc(env(safe-area-inset-bottom) + 74px));
	z-index: 45;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 58px;
	height: 58px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #06c755;
	color: #fff;
	font-family: "Noto Sans TC LINE", "Noto Sans TC", sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	box-shadow: 0 4px 14px #173c2b38;
	transition: transform 180ms, box-shadow 180ms;
}

.tdetw-line-float:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow: 0 7px 18px #173c2b4d;
}

.tdetw-line-float:active {
	transform: translateY(0);
}

.tdetw-line-float:focus-visible {
	outline: 3px solid #294f49;
	outline-offset: 4px;
}

:root .back-to-top {
	display: grid;
	width: 54px;
	height: 62px;
	right: max(22px, calc(env(safe-area-inset-right) + 2px));
	bottom: max(20px, env(safe-area-inset-bottom));
}

:root .back-to-top span {
	font-size: 1.375rem;
}

:root .back-to-top em {
	font-size: 0.75rem;
	letter-spacing: 0;
}

@media (max-width: 700px) {
	.tdetw-line-float {
		right: max(16px, env(safe-area-inset-right));
		bottom: max(82px, calc(env(safe-area-inset-bottom) + 66px));
		width: 54px;
		height: 54px;
	}

	:root .back-to-top {
		width: 48px;
		height: 54px;
		right: max(19px, calc(env(safe-area-inset-right) + 3px));
		bottom: max(16px, env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	.tdetw-line-float,
	.tdetw-line-float:hover,
	.tdetw-line-float:active {
		transition: none;
		transform: none;
	}
}

@media (max-width: 980px) {
	.site-footer__contact {
		grid-template-columns: minmax(0, 1fr) minmax(116px, 142px);
	}

	.site-footer__contact-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.site-footer__contact {
		grid-template-columns: 1fr;
		width: calc(100% - 28px);
		padding: 16px;
	}

	.site-footer__line-card {
		grid-template-columns: 72px minmax(0, 1fr);
		align-items: center;
		padding: 8px;
	}

	.site-footer__line-card span {
		text-align: left;
	}

}

/* 第二十二輪：作品卡雙入口與等高收斂。 */
.works-page .works-board.article-board,
.front-page .home-section--works .works-board.article-board {
	align-items: stretch;
	grid-auto-rows: 1fr;
}

.works-page .paper-article-card--case[data-case-category="營運系統"] .paper-article-card__media img,
.front-page .home-section--works .paper-article-card--case[data-case-category="營運系統"] .paper-article-card__media img {
	object-fit: contain;
	background: linear-gradient(180deg, rgba(245, 241, 233, 0.96) 0%, rgba(239, 231, 219, 0.88) 100%);
}

.works-page .works-board .paper-article-card--case,
.works-page .works-board .paper-article-card--case:nth-child(n),
.front-page .home-section--works .paper-article-card--case,
.front-page .home-section--works .paper-article-card--case:nth-child(n) {
	height: 100%;
	margin: 0;
	transform: none;
}

.works-page .works-board .paper-article-card--case:hover,
.works-page .works-board .paper-article-card--case:focus-within,
.front-page .home-section--works .paper-article-card--case:hover,
.front-page .home-section--works .paper-article-card--case:focus-within {
	transform: translateY(-4px);
}

.works-page .paper-article-card--case .paper-article-card__shell,
.front-page .home-section--works .paper-article-card--case .paper-article-card__shell {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.works-page .paper-article-card--case .paper-article-card__link,
.front-page .home-section--works .paper-article-card--case .paper-article-card__link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

.works-page .paper-article-card--case .paper-article-card__media,
.front-page .home-section--works .paper-article-card--case .paper-article-card__media {
	aspect-ratio: 16 / 10;
	margin: 10px 10px 0;
}

.works-page .paper-article-card--case .paper-article-card__body,
.front-page .home-section--works .paper-article-card--case .paper-article-card__body {
	display: grid;
	flex: 1 1 auto;
	grid-template-rows: auto auto auto minmax(5.2rem, 1fr) auto;
	gap: 8px;
	min-height: 0;
	padding: 18px 18px 16px;
}

.works-page .paper-article-card--case .paper-article-card__kicker,
.works-page .paper-article-card--case .paper-article-card__meta,
.works-page .paper-article-card--case .paper-article-card__title,
.works-page .paper-article-card--case .paper-article-card__excerpt,
.works-page .paper-article-card--case .paper-article-card__tags,
.front-page .home-section--works .paper-article-card--case .paper-article-card__kicker,
.front-page .home-section--works .paper-article-card--case .paper-article-card__meta,
.front-page .home-section--works .paper-article-card--case .paper-article-card__title,
.front-page .home-section--works .paper-article-card--case .paper-article-card__excerpt,
.front-page .home-section--works .paper-article-card--case .paper-article-card__tags {
	margin: 0;
}

.works-page .paper-article-card--case .paper-article-card__title,
.front-page .home-section--works .paper-article-card--case .paper-article-card__title {
	display: -webkit-box;
	min-height: calc(1.28em * 2);
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.works-page .paper-article-card--case .paper-article-card__excerpt,
.front-page .home-section--works .paper-article-card--case .paper-article-card__excerpt {
	display: -webkit-box;
	min-height: calc(1.72em * 3);
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.works-page .paper-article-card--case .paper-article-card__tags,
.front-page .home-section--works .paper-article-card--case .paper-article-card__tags {
	align-content: start;
	min-height: 62px;
}

.works-page .paper-article-card--case .paper-article-card__actions,
.front-page .home-section--works .paper-article-card--case .paper-article-card__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding: 0 18px 18px;
}

.works-page .paper-article-card--case .paper-article-card__actions--dual,
.front-page .home-section--works .paper-article-card--case .paper-article-card__actions--dual {
	justify-content: space-between;
}

.works-page .paper-article-card--case .paper-article-card__action,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	width: auto;
	padding: 8px 0 7px;
	color: #365f6b;
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.04em;
	text-decoration: none;
	background: transparent;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	transition:
		transform 160ms ease,
		color 160ms ease;
}

.works-page .paper-article-card--case .paper-article-card__action::after,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action::after {
	margin-left: 0.45em;
	content: "↗";
	font-size: 0.86em;
	line-height: 1;
	transform: translateY(-1px);
}

.works-page .paper-article-card--case .paper-article-card__action--primary,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action--primary {
	color: #365f6b;
	background: transparent;
	border-color: transparent;
}

.works-page .paper-article-card--case .paper-article-card__action--secondary,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action--secondary {
	color: #5b6a70;
	background: transparent;
}

.works-page .paper-article-card--case .paper-article-card__action--muted,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action--muted {
	color: #66757c;
	background: rgba(237, 233, 226, 0.76);
	border-color: rgba(20, 25, 29, 0.1);
	cursor: default;
}

.works-page .paper-article-card--case .paper-article-card__action:hover,
.works-page .paper-article-card--case .paper-article-card__action:focus-visible,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action:hover,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action:focus-visible {
	color: #203f49;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	transform: translateY(-1px);
}

.works-page .paper-article-card--case .paper-article-card__action--muted:hover,
.works-page .paper-article-card--case .paper-article-card__action--muted:focus-visible,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action--muted:hover,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action--muted:focus-visible {
	background: rgba(237, 233, 226, 0.76);
	border-color: rgba(20, 25, 29, 0.1);
	box-shadow: 2px 2px 0 rgba(44, 40, 34, 0.08);
	transform: none;
}

.works-page .paper-article-card--case .paper-article-card__action:focus-visible,
.front-page .home-section--works .paper-article-card--case .paper-article-card__action:focus-visible {
	outline: 2px solid rgba(54, 95, 107, 0.28);
	outline-offset: 4px;
}

@media (max-width: 920px) {
	.works-page .paper-article-card--case .paper-article-card__body,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__body {
		grid-template-rows: auto auto auto minmax(4.8rem, 1fr) auto;
	}
}

@media (max-width: 699px) {
	.works-page .works-board.article-board,
	.front-page .home-section--works .works-board.article-board {
		grid-auto-rows: auto;
	}

	.works-page .paper-article-card--case,
	.front-page .home-section--works .paper-article-card--case {
		height: auto;
	}

	.works-page .paper-article-card--case .paper-article-card__body,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__body {
		grid-template-rows: auto auto auto minmax(4.4rem, 1fr) auto;
		padding: 14px 14px 12px;
	}

	.works-page .paper-article-card--case .paper-article-card__excerpt,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__excerpt {
		min-height: auto;
		-webkit-line-clamp: 2;
	}

	.works-page .paper-article-card--case .paper-article-card__tags,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__tags {
		min-height: 0;
	}

	.works-page .paper-article-card--case .paper-article-card__actions,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__actions {
		padding: 0 14px 14px;
	}
}

@media (max-width: 480px) {
	.works-page .paper-article-card--case .paper-article-card__media,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__media {
		margin: 8px 8px 0;
	}

	.works-page .paper-article-card--case .paper-article-card__body,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__body {
		gap: 6px;
		padding: 12px 12px 10px;
	}

	.works-page .paper-article-card--case .paper-article-card__action,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__action {
		min-height: 44px;
		padding: 8px 0;
		font-size: 0.78rem;
	}

	.works-page .paper-article-card--case .paper-article-card__actions,
	.front-page .home-section--works .paper-article-card--case .paper-article-card__actions {
		gap: 6px;
		padding: 0 12px 12px;
	}
}

/* 首頁 hero badge v3：收掉整條外框，改成更俐落的單行標籤列。 */
.front-page--home .home-hero .hand-badge {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0;
	width: auto;
	max-width: min(100%, 33rem);
	font-family: var(--font-sans);
	font-size: clamp(0.76rem, 0.48rem + 0.72vw, 0.96rem);
	font-weight: 780;
	letter-spacing: 0.08em;
	line-height: 1;
}

.front-page--home .home-hero .hand-badge::before,
.front-page--home .home-hero .hand-badge::after {
	content: none;
}

.front-page--home .home-hero .hand-badge__dot {
	display: none;
}

.front-page--home .home-hero .hand-badge__word {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.15rem;
	padding: 0.54rem 0.92rem 0.5rem;
	color: rgba(20, 25, 29, 0.78);
	font-family: var(--font-sans);
	font-size: 1em;
	font-weight: 780;
	letter-spacing: 0.08em;
	white-space: nowrap;
	border: 1px solid rgba(20, 25, 29, 0.14);
	border-radius: 999px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 241, 235, 0.92)),
		rgba(255, 255, 255, 0.9);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		3px 3px 0 rgba(44, 40, 34, 0.07);
}

.front-page--home .home-hero .hand-badge__word--wide {
	padding-inline: 1rem 1.08rem;
	letter-spacing: 0.06em;
}

@media (min-width: 900px) {
	.front-page--home .home-hero .hand-badge {
		flex-wrap: nowrap;
	}
}

@media (max-width: 699px) {
	.front-page--home .home-hero .hand-badge {
		gap: 0.42rem;
		margin: 0 0 0.92rem;
		max-width: 19rem;
		font-size: clamp(0.72rem, 0.56rem + 0.72vw, 0.88rem);
	}

	.front-page--home .home-hero .hand-badge__word {
		min-height: 2rem;
		padding: 0.48rem 0.82rem 0.44rem;
	}

	.front-page--home .home-hero .hand-badge__word--wide {
		padding-inline: 0.92rem 1rem;
	}
}

@media (max-width: 420px) {
	.front-page--home .home-hero .hand-badge {
		gap: 0.34rem;
		max-width: 16.8rem;
	}

	.front-page--home .home-hero .hand-badge__word {
		min-height: 1.9rem;
		padding: 0.44rem 0.74rem 0.4rem;
		letter-spacing: 0.06em;
	}
}

.front-page--home .home-hero,
.front-page--home .home-section {
	overflow: hidden;
}

.floating-mascot--desktop {
	position: fixed;
	right: clamp(18px, 2vw, 32px);
	bottom: clamp(18px, 2vw, 30px);
	z-index: 40;
	pointer-events: none;
}

.home-scene,
.home-mascot {
	position: absolute;
	pointer-events: none;
	z-index: 1;
}

.home-scene {
	inset: 0;
	overflow: hidden;
}

.home-scene__spark,
.home-scene__stroke,
.home-scene__path {
	position: absolute;
	display: block;
	pointer-events: none;
}

.home-scene__spark {
	width: 18px;
	aspect-ratio: 1;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 28%, rgba(212, 168, 67, 0.34) 42%, rgba(212, 168, 67, 0) 74%);
	filter: blur(0.2px);
	opacity: 0.72;
	animation: lin-home-spark 5.6s ease-in-out infinite;
}

.home-scene__spark--one {
	top: 16%;
	right: 16%;
	animation-delay: 0.4s;
}

.home-scene__spark--two {
	top: 24%;
	right: 8%;
	width: 12px;
	animation-delay: 1.1s;
}

.home-scene__spark--three {
	top: 12%;
	left: 9%;
	width: 14px;
	animation-delay: 0.6s;
}

.home-scene__spark--four {
	top: 20%;
	left: 16%;
	width: 10px;
	animation-delay: 1.5s;
}

.home-scene__spark--five {
	right: 10%;
	bottom: 24%;
	width: 13px;
	animation-delay: 0.8s;
}

.home-scene__spark--six {
	right: 16%;
	bottom: 14%;
	width: 9px;
	animation-delay: 1.9s;
}

.home-scene__stroke {
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(54, 95, 107, 0), rgba(54, 95, 107, 0.28), rgba(54, 95, 107, 0));
	transform-origin: left center;
	opacity: 0.66;
}

.home-scene__stroke--one {
	top: 19%;
	right: 13%;
	width: 150px;
	transform: rotate(-9deg);
	animation: lin-home-sweep 7.2s var(--motion-ease) infinite;
}

.home-scene__stroke--two {
	bottom: 18%;
	right: 12%;
	width: 190px;
	transform: rotate(6deg);
	animation: lin-home-sweep 8.4s var(--motion-ease) infinite reverse;
}

.home-scene__stroke--three {
	right: 7%;
	bottom: 28%;
	width: 164px;
	background: linear-gradient(90deg, rgba(212, 168, 67, 0), rgba(212, 168, 67, 0.3), rgba(212, 168, 67, 0));
	transform: rotate(-14deg);
	animation: lin-home-sweep 7.6s var(--motion-ease) infinite;
}

.home-scene__path {
	left: 14%;
	bottom: 7%;
	width: 220px;
	height: 62px;
	border-bottom: 2px dashed rgba(54, 95, 107, 0.22);
	border-left: 2px dashed transparent;
	border-right: 2px dashed transparent;
	border-radius: 999px;
	opacity: 0.72;
	transform: rotate(-3deg);
	animation: lin-home-path-pulse 6.6s ease-in-out infinite;
}

.home-mascot {
	display: grid;
	gap: 10px;
	align-items: end;
	justify-items: center;
	filter: drop-shadow(0 14px 22px rgba(44, 40, 34, 0.12));
	transform: translateZ(0);
	backface-visibility: hidden;
}

.home-mascot--hero {
	right: clamp(14px, 2.4vw, 28px);
	bottom: clamp(14px, 2vw, 24px);
	width: clamp(112px, 10vw, 152px);
	animation: lin-mascot-walk 11.5s var(--motion-ease) infinite alternate;
}

.home-mascot--services {
	right: clamp(16px, 2vw, 30px);
	top: clamp(18px, 2.2vw, 30px);
	width: clamp(104px, 9vw, 136px);
	animation: lin-mascot-peek 8.4s var(--motion-ease) infinite;
}

.home-mascot__image {
	display: block;
	width: 80%;
	height: auto;
	margin-inline: auto;
	transform-origin: center bottom;
	animation: lin-mascot-bob 2.8s ease-in-out infinite;
}

.home-mascot__bubble {
	max-width: 13ch;
	padding: 0.52rem 0.82rem;
	color: #2d4047;
	font-size: 0.76rem;
	font-weight: 760;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
	background: rgba(255, 253, 248, 0.92);
	border: 1px solid rgba(20, 25, 29, 0.08);
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(44, 40, 34, 0.08);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: lin-mascot-bubble 4.6s ease-in-out infinite;
}

.home-section--services .service-grid,
.home-section--works .works-board,
.home-section--notes .article-board {
	position: relative;
	z-index: 2;
}

.home-section--services .service-card {
	transform-origin: center bottom;
}

.home-section--services .service-card:nth-child(1) {
	animation: lin-card-float-left 6.6s ease-in-out infinite;
}

.home-section--services .service-card:nth-child(2) {
	animation: lin-card-float-center 7.2s ease-in-out infinite;
}

.home-section--services .service-card:nth-child(3) {
	animation: lin-card-float-right 7.8s ease-in-out infinite;
}

.front-page--home .home-section--works .paper-article-card--case:nth-child(1) {
	transform: rotate(-1.1deg);
}

.front-page--home .home-section--works .paper-article-card--case:nth-child(2) {
	transform: translateY(10px) rotate(0.9deg);
}

.front-page--home .home-section--works .paper-article-card--case:nth-child(3) {
	transform: rotate(-0.7deg);
}

.front-page--home .home-section--works .paper-article-card--case:nth-child(4) {
	transform: translateY(8px) rotate(1.1deg);
}

.front-page--home .home-section--works .paper-article-card--case:nth-child(5) {
	transform: rotate(-0.9deg);
}

.front-page--home .home-section--works .paper-article-card--case:nth-child(6) {
	transform: translateY(8px) rotate(0.8deg);
}

.front-page--home .home-section--works .paper-article-card--case:hover,
.front-page--home .home-section--works .paper-article-card--case:focus-within {
	transform: translateY(-6px) rotate(0deg);
}

.front-page--home .home-section--notes .paper-article-card {
	animation: lin-note-drift 9.4s ease-in-out infinite;
}

.front-page--home .home-section--notes .paper-article-card:nth-child(2) {
	animation-delay: 0.6s;
}

.front-page--home .home-section--notes .paper-article-card:nth-child(3) {
	animation-delay: 1.2s;
}

.front-page--home .home-hero .desk-masthead__portrait-frame::before {
	position: absolute;
	inset: auto auto 12px 12px;
	width: 72px;
	height: 72px;
	border-radius: 18px;
	content: "";
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), rgba(212, 168, 67, 0.18) 52%, rgba(212, 168, 67, 0) 80%);
	filter: blur(0.2px);
	opacity: 0.78;
	animation: lin-home-lantern 5.4s ease-in-out infinite;
}

@keyframes lin-home-spark {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(0.88);
		opacity: 0.36;
	}

	50% {
		transform: translate3d(0, -8px, 0) scale(1.18);
		opacity: 0.82;
	}
}

@keyframes lin-home-sweep {
	0%,
	100% {
		opacity: 0.24;
		transform: translate3d(0, 0, 0) scaleX(0.92);
	}

	50% {
		opacity: 0.72;
		transform: translate3d(10px, -4px, 0) scaleX(1.04);
	}
}

@keyframes lin-home-path-pulse {
	0%,
	100% {
		opacity: 0.28;
		transform: rotate(-3deg) translateY(0);
	}

	50% {
		opacity: 0.82;
		transform: rotate(-3deg) translateY(-2px);
	}
}

@keyframes lin-mascot-walk {
	0% {
		transform: translate3d(0, 0, 0);
	}

	28% {
		transform: translate3d(-18px, -4px, 0);
	}

	52% {
		transform: translate3d(-8px, 0, 0);
	}

	78% {
		transform: translate3d(-24px, -6px, 0);
	}

	100% {
		transform: translate3d(-10px, 0, 0);
	}
}

@keyframes lin-mascot-peek {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}

	24% {
		transform: translate3d(-6px, -8px, 0) rotate(-2deg);
	}

	52% {
		transform: translate3d(-10px, -2px, 0) rotate(1.6deg);
	}

	76% {
		transform: translate3d(-4px, -10px, 0) rotate(-1deg);
	}
}

@keyframes lin-mascot-bob {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-4px) rotate(-1.2deg);
	}
}

@keyframes lin-mascot-bubble {
	0%,
	100% {
		transform: translateY(0);
		opacity: 0.88;
	}

	50% {
		transform: translateY(-3px);
		opacity: 1;
	}
}

@keyframes lin-card-float-left {
	0%,
	100% {
		transform: translateY(0) rotate(-0.4deg);
	}

	50% {
		transform: translateY(-8px) rotate(-0.9deg);
	}
}

@keyframes lin-card-float-center {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-10px) rotate(0.5deg);
	}
}

@keyframes lin-card-float-right {
	0%,
	100% {
		transform: translateY(0) rotate(0.45deg);
	}

	50% {
		transform: translateY(-8px) rotate(0.9deg);
	}
}

@keyframes lin-note-drift {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-6px) rotate(-0.5deg);
	}
}

@keyframes lin-home-lantern {
	0%,
	100% {
		transform: scale(0.96);
		opacity: 0.42;
	}

	50% {
		transform: scale(1.06);
		opacity: 0.78;
	}
}

@media (max-width: 1180px) {
	.home-mascot--hero {
		width: 124px;
		right: 8px;
		bottom: 10px;
	}

	.home-mascot--services {
		width: 116px;
	}
}

@media (max-width: 920px) {
	.home-mascot__bubble {
		font-size: 0.72rem;
		padding: 0.48rem 0.74rem;
	}

	.home-scene__stroke--one,
	.home-scene__stroke--two,
	.home-scene__stroke--three,
	.home-scene__path {
		opacity: 0.4;
	}
}

@media (max-width: 699px) {
	.home-mascot--hero {
		top: 16px;
		right: 12px;
		bottom: auto;
		width: 88px;
	}

	.home-mascot--services {
		top: auto;
		right: 10px;
		bottom: 14px;
		width: 92px;
	}

	.home-mascot__bubble {
		display: none;
	}

	.home-scene__stroke--one,
	.home-scene__stroke--two,
	.home-scene__stroke--three,
	.home-scene__path {
		display: none;
	}

	.home-section--services .service-card,
	.front-page--home .home-section--notes .paper-article-card {
		animation: none;
	}

	.front-page--home .home-section--works .paper-article-card--case:nth-child(n) {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-scene__spark,
	.home-scene__stroke,
	.home-scene__path,
	.home-mascot,
	.home-mascot__image,
	.home-mascot__bubble,
	.home-section--services .service-card,
	.front-page--home .home-section--notes .paper-article-card,
	.front-page--home .home-hero .desk-masthead__portrait-frame::before {
		animation: none !important;
		transform: none !important;
	}
}

/* 首頁 Hero 對齊原始構圖：保留左側案例卡、中央文字與右側節點卡。 */
@media (min-width: 1180px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		grid-template-columns: minmax(246px, 292px) minmax(528px, 640px) minmax(218px, 248px);
		grid-template-areas:
			"portrait kicker kicker"
			"portrait copy side";
		justify-content: center;
		column-gap: clamp(2rem, 3vw, 3.1rem);
		row-gap: 0.75rem;
		padding-inline: clamp(1.6rem, 2.4vw, 2.3rem);
	}

	.front-page--home .home-hero .front-page-kicker {
		grid-area: kicker;
		justify-self: end;
		align-self: start;
		margin-top: 0.45rem;
	}

	.front-page--home .home-hero .desk-masthead__portrait {
		max-width: 292px;
		transform: rotate(-1.35deg);
	}

	html.has-fine-pointer .front-page--home .home-hero .desk-masthead__portrait {
		transform: rotate(-1.35deg) translate3d(calc(var(--parallax-x) * -0.12), calc(var(--parallax-y) * -0.08), 0);
	}

	.front-page--home .home-hero__featured-visual img {
		object-position: 35% 20%;
		transform: scale(1.24);
	}

	.front-page--home .home-hero .desk-masthead__copy {
		max-width: 640px;
		padding-top: 0.18rem;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		font-size: clamp(2.86rem, 3.3vw, 3.7rem);
		line-height: 0.98;
		letter-spacing: -0.046em;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair {
		gap: clamp(0.18em, 0.52vw, 0.28em);
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
		display: block;
		margin-top: 0.04em;
		max-width: none;
		white-space: nowrap;
	}

	.front-page--home .home-hero .hero-line-ai__lead,
	.front-page--home .home-hero .hero-line-ai__tail {
		display: inline;
		white-space: nowrap;
	}

	.front-page--home .home-hero .desk-masthead__intro {
		max-width: 35rem;
		margin-top: 0.85rem;
		font-size: clamp(1rem, 1.14vw, 1.08rem);
		line-height: 1.82;
	}

	.front-page--home .home-hero .desk-masthead__actions {
		margin-top: 1.45rem;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		grid-area: side;
		max-width: 248px;
		margin-top: -2rem;
	}

	html.has-fine-pointer .front-page--home .home-hero .desk-masthead__side-stack {
		transform: translate3d(calc(var(--parallax-x) * 0.08), calc(var(--parallax-y) * 0.05), 0);
	}

	.front-page--home .home-hero .side-stack-card {
		transform: rotate(-0.45deg);
	}

	.front-page--home .home-hero .home-mascot--hero {
		right: clamp(12px, 1.45vw, 20px);
		bottom: clamp(10px, 1vw, 16px);
		width: clamp(102px, 8vw, 126px);
	}

	.front-page--home .home-hero .home-mascot__bubble {
		max-width: 10.8ch;
		padding: 0.68rem 0.88rem;
		font-size: 0.79rem;
		line-height: 1.32;
	}
}

@media (min-width: 1400px) {
	.front-page--home .home-hero .desk-masthead__copy h1 {
		font-size: clamp(3rem, 3.18vw, 3.92rem);
	}
}

/* 第二十七輪：首頁在不改版型下加強可見動效與首屏節奏。 */
.front-page--home.is-home-fx-ready .home-hero,
.front-page--home.is-home-fx-ready .home-section {
	--home-scene-tilt: 0deg;
}

.front-page--home .home-hero {
	isolation: isolate;
}

.front-page--home .home-hero::before,
.front-page--home .home-hero::after {
	animation: lin-home-ambient-drift 16s ease-in-out infinite;
	will-change: transform, opacity, filter;
}

.front-page--home .home-hero::after {
	animation-delay: -7.2s;
}

.front-page--home .home-hero .front-page-kicker,
.front-page--home .home-hero .hand-badge,
.front-page--home .home-hero .desk-masthead__copy h1,
.front-page--home .home-hero .desk-masthead__intro,
.front-page--home .home-hero .desk-masthead__actions,
.front-page--home .home-hero .desk-masthead__portrait,
.front-page--home .home-hero .desk-masthead__side-stack {
	opacity: 0;
	will-change: transform, opacity, filter;
}

.front-page--home.is-home-fx-live .home-hero .front-page-kicker {
	animation: lin-home-fade-up 720ms cubic-bezier(0.16, 1, 0.3, 1) 60ms forwards;
}

.front-page--home.is-home-fx-live .home-hero .hand-badge {
	animation: lin-home-fade-up 760ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__copy h1 {
	animation: lin-home-fade-up-strong 960ms cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__intro {
	animation: lin-home-fade-up 820ms cubic-bezier(0.16, 1, 0.3, 1) 310ms forwards;
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__actions {
	animation: lin-home-fade-up 820ms cubic-bezier(0.16, 1, 0.3, 1) 420ms forwards;
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__portrait {
	animation: lin-home-card-settle 980ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__side-stack {
	animation: lin-home-card-settle 980ms cubic-bezier(0.16, 1, 0.3, 1) 260ms forwards;
}

.front-page--home .home-hero .desk-masthead__portrait-frame {
	transform-origin: center center;
	box-shadow:
		0 18px 40px rgba(48, 39, 31, 0.1),
		0 0 0 1px rgba(255, 255, 255, 0.16);
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__portrait-frame {
	animation: lin-home-portrait-breathe 9.8s ease-in-out 1.1s infinite;
}

.front-page--home .home-hero__featured-visual img {
	transform-origin: 40% 28%;
	filter: saturate(0.98) contrast(1.01);
}

.front-page--home.is-home-fx-live .home-hero__featured-visual img {
	animation: lin-home-image-drift 12.6s ease-in-out 0.8s infinite;
}

.front-page--home .home-hero .desk-masthead__portrait-frame::after {
	background: linear-gradient(110deg, transparent 0 26%, rgba(255, 255, 255, 0.54) 46%, rgba(255, 246, 224, 0.18) 54%, transparent 72%);
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__portrait-frame::after {
	opacity: 0.78;
	animation: lin-home-sheen 6.8s cubic-bezier(0.16, 1, 0.3, 1) 1.6s infinite;
}

.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair > span,
.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
	display: inline-flex;
	overflow: hidden;
}

.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair > span > span,
.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai__lead,
.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai__tail {
	display: inline-block;
}

.front-page--home .home-hero .hand-badge__word {
	transform: translateY(0);
}

.front-page--home.is-home-fx-live .home-hero .hand-badge__word {
	animation: lin-home-pill-float 5.8s ease-in-out infinite;
}

.front-page--home.is-home-fx-live .home-hero .hand-badge__word:nth-child(1) {
	animation-delay: 0.28s;
}

.front-page--home.is-home-fx-live .home-hero .hand-badge__word:nth-child(3) {
	animation-delay: 0.56s;
}

.front-page--home.is-home-fx-live .home-hero .hand-badge__word:nth-child(5) {
	animation-delay: 0.84s;
}

.front-page--home .home-hero .desk-masthead__actions .desktop-chip {
	box-shadow: 0 14px 26px rgba(44, 40, 34, 0.08);
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__actions .desktop-chip {
	animation: lin-home-chip-float 6.4s ease-in-out infinite;
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__actions .desktop-chip:nth-child(2) {
	animation-delay: 0.46s;
}

.front-page--home .home-hero .side-stack-shadow {
	opacity: 0.42;
	filter: blur(2px);
}

.front-page--home.is-home-fx-live .home-hero .side-stack-shadow {
	animation: lin-home-shadow-breathe 8.4s ease-in-out 0.8s infinite;
}

.front-page--home .home-hero .side-stack-card {
	box-shadow:
		0 18px 34px rgba(44, 40, 34, 0.08),
		5px 6px 0 rgba(20, 25, 29, 0.04);
}

.front-page--home.is-home-fx-live .home-hero .side-stack-card {
	animation: lin-home-node-card-drift 8.8s ease-in-out 1s infinite;
}

.front-page--home .home-hero .skill-list--nodes li {
	position: relative;
	overflow: hidden;
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li {
	animation: lin-home-node-row-pulse 5.6s ease-in-out infinite;
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li:nth-child(2) {
	animation-delay: 0.42s;
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li:nth-child(3) {
	animation-delay: 0.84s;
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li:nth-child(4) {
	animation-delay: 1.26s;
}

.front-page--home .home-hero .skill-list--nodes li::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.38) 52%, transparent 68%);
	opacity: 0;
	transform: translateX(-56%);
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li::after {
	animation: lin-home-mini-sheen 7.2s ease-in-out infinite;
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li:nth-child(2)::after {
	animation-delay: 0.58s;
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li:nth-child(3)::after {
	animation-delay: 1.16s;
}

.front-page--home.is-home-fx-live .home-hero .skill-list--nodes li:nth-child(4)::after {
	animation-delay: 1.74s;
}

.front-page--home .home-scene__spark,
.front-page--home .home-scene__stroke,
.front-page--home .home-scene__path,
.front-page--home .home-mascot,
.front-page--home .home-mascot__image,
.front-page--home .home-mascot__bubble,
.front-page--home .home-section .service-card,
.front-page--home .home-section .paper-article-card,
.front-page--home .home-section__more,
.front-page--home .home-section__heading {
	will-change: transform, opacity, filter;
}

.front-page--home .home-section .section-heading,
.front-page--home .home-section .home-section__more {
	transition: transform 480ms var(--motion-ease), opacity 480ms var(--motion-ease);
}

.front-page--home .home-section--services .home-section__heading {
	position: relative;
	z-index: 2;
}

.front-page--home .home-section:not(.is-scene-live) .section-heading,
.front-page--home .home-section:not(.is-scene-live) .home-section__more {
	opacity: 0.52;
	transform: translateY(16px);
}

.front-page--home .home-section.is-scene-live .section-heading,
.front-page--home .home-section.is-scene-live .home-section__more {
	opacity: 1;
	transform: translateY(0);
}

.front-page--home .home-scene__spark {
	filter: blur(0.3px) drop-shadow(0 0 8px rgba(212, 168, 67, 0.18));
	opacity: 0.82;
}

.front-page--home .home-section.is-scene-live .home-scene__spark {
	animation-duration: 4.4s;
}

.front-page--home .home-scene__stroke {
	opacity: 0.72;
	filter: drop-shadow(0 0 10px rgba(54, 95, 107, 0.08));
}

.front-page--home .home-section.is-scene-live .home-scene__stroke {
	animation-duration: 6.2s;
}

.front-page--home .home-scene__path {
	opacity: 0.82;
	filter: drop-shadow(0 0 10px rgba(54, 95, 107, 0.08));
}

.front-page--home .home-section.is-scene-live .home-scene__path {
	animation-duration: 5.4s;
}

.front-page--home .home-mascot__bubble {
	transition:
		opacity 240ms ease,
		transform 240ms ease,
		filter 240ms ease,
		background-color 240ms ease,
		border-color 240ms ease;
}

.front-page--home .home-mascot__bubble.is-bubble-swapping {
	opacity: 0.32;
	transform: translateY(8px) scale(0.96);
	filter: blur(1.2px);
}

.front-page--home .home-mascot__bubble.is-bubble-refresh {
	opacity: 1;
	transform: translateY(-4px) scale(1.03);
	filter: none;
}

.front-page--home .home-section .service-card,
.front-page--home .home-section .paper-article-card,
.front-page--home .home-section__more {
	animation-delay: var(--home-fx-delay, 0ms);
}

.front-page--home.is-home-fx-live .home-section--services .service-card {
	animation:
		lin-home-fade-up 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--home-fx-delay, 0ms) both,
		lin-home-service-orbit 7.4s ease-in-out calc(0.8s + var(--home-float-delay, 0s)) infinite;
}

.front-page--home .home-section--services .service-card:nth-child(2) {
	animation-duration: 760ms, 8s;
}

.front-page--home .home-section--services .service-card:nth-child(3) {
	animation-duration: 760ms, 8.6s;
}

.front-page--home.is-home-fx-live .home-section--services .service-card::after {
	opacity: 0.72;
	animation: lin-home-sheen 7.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.front-page--home.is-home-fx-live .home-section--services .service-card:nth-child(2)::after {
	animation-delay: 0.64s;
}

.front-page--home.is-home-fx-live .home-section--services .service-card:nth-child(3)::after {
	animation-delay: 1.28s;
}

.front-page--home .home-section--services .service-card__tag {
	box-shadow: 0 10px 18px rgba(54, 95, 107, 0.06);
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case {
	animation:
		lin-home-fade-up 780ms cubic-bezier(0.16, 1, 0.3, 1) var(--home-fx-delay, 0ms) both,
		lin-home-case-drift 8.8s ease-in-out calc(1s + var(--home-float-delay, 0s)) infinite;
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:nth-child(2n) {
	animation-duration: 780ms, 9.6s;
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:nth-child(3n) {
	animation-duration: 780ms, 10.4s;
}

.front-page--home .home-section--works .paper-article-card__link,
.front-page--home .home-section--notes .paper-article-card__link {
	box-shadow:
		0 18px 32px rgba(44, 40, 34, 0.07),
		5px 6px 0 rgba(44, 40, 34, 0.1);
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card__link::after,
.front-page--home.is-home-fx-live .home-section--notes .paper-article-card__link::after {
	opacity: 0.64;
	animation: lin-home-sheen 8.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card:nth-child(2n) .paper-article-card__link::after,
.front-page--home.is-home-fx-live .home-section--notes .paper-article-card:nth-child(2n) .paper-article-card__link::after {
	animation-delay: 0.72s;
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card:nth-child(3n) .paper-article-card__link::after,
.front-page--home.is-home-fx-live .home-section--notes .paper-article-card:nth-child(3n) .paper-article-card__link::after {
	animation-delay: 1.44s;
}

.front-page--home.is-home-fx-live .home-section--notes .paper-article-card {
	animation:
		lin-home-fade-up 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--home-fx-delay, 0ms) both,
		lin-home-note-drift-strong 8s ease-in-out calc(0.96s + var(--home-float-delay, 0s)) infinite;
}

.front-page--home .home-section__more {
	box-shadow: 0 18px 36px rgba(44, 40, 34, 0.06);
}

.front-page--home.is-home-fx-live .home-section__more {
	animation:
		lin-home-fade-up 780ms cubic-bezier(0.16, 1, 0.3, 1) 240ms both,
		lin-home-footer-float 9.6s ease-in-out 1.2s infinite;
}

.front-page--home .home-section.is-scene-live::before {
	box-shadow:
		0 28px 58px rgba(44, 40, 34, 0.08),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.floating-mascot--desktop .home-mascot {
	position: relative;
	right: auto;
	top: auto;
	bottom: auto;
	width: clamp(112px, 9vw, 142px);
}

.front-page--home .home-mascot--hero {
	right: clamp(12px, 1.45vw, 20px);
	bottom: clamp(10px, 1vw, 16px);
	width: clamp(102px, 8vw, 126px);
	transform-origin: center bottom;
	--mascot-pointer-x: 0px;
	--mascot-pointer-y: 0px;
	--mascot-scroll-y: 0px;
	transform: translate3d(var(--mascot-pointer-x), calc(var(--mascot-pointer-y) + var(--mascot-scroll-y)), 0);
	transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.front-page--home .home-mascot--services {
	right: clamp(16px, 1.3vw, 24px);
	top: clamp(12px, 1vw, 18px);
	width: clamp(96px, 7.2vw, 114px);
	transform-origin: center bottom;
	--mascot-pointer-x: 0px;
	--mascot-pointer-y: 0px;
	--mascot-scroll-y: 0px;
	transform: translate3d(var(--mascot-pointer-x), calc(var(--mascot-pointer-y) + var(--mascot-scroll-y)), 0);
	transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.front-page--home .home-mascot--4a {
	filter: drop-shadow(0 18px 24px rgba(62, 48, 35, 0.12)) drop-shadow(0 6px 12px rgba(62, 48, 35, 0.08));
}

.front-page--home .home-mascot--4a .home-mascot__image {
	image-rendering: auto;
	filter: saturate(1.01) contrast(1.02);
}

.front-page--home .home-mascot--4a .home-mascot__bubble {
	max-width: 11.8ch;
	padding-inline: 0.9rem;
	color: #30444b;
	border-color: rgba(48, 68, 75, 0.1);
	box-shadow:
		0 14px 28px rgba(45, 36, 29, 0.1),
		0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

html.has-fine-pointer .front-page--home .home-mascot--hero.home-mascot--4a {
	transform: translate3d(var(--mascot-pointer-x), calc(var(--mascot-pointer-y) + var(--mascot-scroll-y)), 0) rotate(-1.1deg);
}

html.has-fine-pointer .front-page--home .home-mascot--services.home-mascot--4a {
	transform: translate3d(var(--mascot-pointer-x), calc(var(--mascot-pointer-y) + var(--mascot-scroll-y)), 0) rotate(-0.6deg);
}

.front-page--home .home-mascot--hero.home-mascot--4a {
	transform: translate3d(var(--mascot-pointer-x), calc(var(--mascot-pointer-y) + var(--mascot-scroll-y)), 0) rotate(-1.1deg);
}

.front-page--home .home-mascot--services.home-mascot--4a {
	transform: translate3d(var(--mascot-pointer-x), calc(var(--mascot-pointer-y) + var(--mascot-scroll-y)), 0) rotate(-0.6deg);
}

.home-mascot--floating.home-mascot--4a {
	transform: translate3d(var(--mascot-pointer-x), var(--mascot-pointer-y), 0) rotate(-1deg);
}

.home-mascot--floating .home-mascot__bubble {
	max-width: 12.4ch;
}

.front-page--home .home-mascot--hero .home-mascot__image,
.front-page--home .home-mascot--services .home-mascot__image {
	transform-origin: center bottom;
	filter: none;
	transform: translateZ(0);
	backface-visibility: hidden;
	will-change: transform;
}

.front-page--home.is-home-fx-live .home-mascot--hero {
	animation: none;
}

.front-page--home.is-home-fx-live .home-mascot--services {
	animation: none;
}

body.has-guided-mascot .home-mascot--floating {
	animation: none;
}

.front-page--home.is-home-fx-live .home-mascot--hero .home-mascot__image,
.front-page--home.is-home-fx-live .home-mascot--services .home-mascot__image,
body.has-guided-mascot .home-mascot--floating .home-mascot__image {
	animation: lin-home-mascot-crisp-bob 2.8s ease-in-out infinite;
}

.front-page--home.is-home-fx-live .home-mascot--services .home-mascot__image {
	animation-delay: 0.3s;
}

.front-page--home.is-home-fx-live .home-mascot--hero .home-mascot__bubble {
	animation:
		lin-mascot-bubble 4.6s ease-in-out infinite,
		lin-home-bubble-hover 6.8s ease-in-out 1.1s infinite;
}

.front-page--home.is-home-fx-live .home-mascot--services .home-mascot__bubble {
	animation:
		lin-mascot-bubble 4.6s ease-in-out infinite,
		lin-home-bubble-hover-services 7.2s ease-in-out 1.4s infinite;
}

body.has-guided-mascot .home-mascot--floating .home-mascot__bubble {
	animation:
		lin-mascot-bubble 4.6s ease-in-out infinite,
		lin-home-bubble-hover 6.8s ease-in-out 1.1s infinite;
}

@media (min-width: 700px) {
	.front-page--home .home-hero > .home-mascot--hero,
	.front-page--home .home-scene .home-mascot--services {
		display: none;
	}
}

.front-page--home .home-hero__featured-visual {
	position: relative;
	overflow: hidden;
}

.front-page--home .home-hero__featured-visual::before,
.front-page--home .home-hero__featured-visual::after,
.front-page--home .home-hero .desk-masthead__portrait-frame::before {
	position: absolute;
	pointer-events: none;
	content: "";
}

.front-page--home .home-hero .desk-masthead__portrait-frame::before {
	inset: auto auto 16px 16px;
	width: 92px;
	height: 92px;
	z-index: 3;
	border-radius: 24px;
	background:
		radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0) 40%),
		radial-gradient(circle at 62% 60%, rgba(212, 168, 67, 0.32), rgba(212, 168, 67, 0) 74%);
	filter: blur(0.3px);
	opacity: 0.72;
}

.front-page--home .home-hero__featured-visual::before {
	inset: 0;
	z-index: 2;
	background:
		radial-gradient(circle at 18% 76%, rgba(255, 255, 255, 0.26) 0 14px, transparent 15px),
		radial-gradient(circle at 57% 58%, rgba(255, 255, 255, 0.22) 0 11px, transparent 12px),
		radial-gradient(circle at 77% 44%, rgba(212, 168, 67, 0.24) 0 10px, transparent 11px),
		linear-gradient(90deg, rgba(54, 95, 107, 0) 0 8%, rgba(54, 95, 107, 0.14) 19%, rgba(54, 95, 107, 0) 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
	opacity: 0.76;
	mix-blend-mode: screen;
}

.front-page--home .home-hero__featured-visual::after {
	inset: 0;
	z-index: 3;
	background:
		linear-gradient(112deg, transparent 0 30%, rgba(255, 255, 255, 0.54) 46%, rgba(255, 255, 255, 0.08) 54%, transparent 68%),
		linear-gradient(180deg, rgba(255, 244, 224, 0.24), rgba(255, 244, 224, 0));
	opacity: 0.78;
	transform: translateX(-54%);
}

.front-page--home .home-hero__featured-visual img {
	position: relative;
	z-index: 1;
}

.front-page--home .home-hero__featured-visual img {
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.16),
		0 16px 34px rgba(46, 38, 29, 0.1);
}

.front-page--home.is-home-fx-live .home-hero__featured-visual::before {
	animation: lin-home-screen-nodes 8.4s ease-in-out 0.8s infinite;
}

.front-page--home.is-home-fx-live .home-hero__featured-visual::after {
	animation: lin-home-screen-scan 5.8s cubic-bezier(0.16, 1, 0.3, 1) 1s infinite;
}

.front-page--home.is-home-fx-live .home-hero .desk-masthead__portrait-frame::before {
	animation: lin-home-screen-core 6.4s ease-in-out 0.9s infinite;
}

@keyframes lin-home-fade-up {
	0% {
		opacity: 0;
		transform: translate3d(0, 22px, 0);
	}

	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes lin-home-fade-up-strong {
	0% {
		opacity: 0;
		transform: translate3d(0, 28px, 0) scale(0.985);
		filter: blur(4px);
	}

	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
		filter: none;
	}
}

@keyframes lin-home-card-settle {
	0% {
		opacity: 0;
		transform: translate3d(0, 34px, 0) scale(0.96) rotate(-2deg);
		filter: blur(4px);
	}

	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
		filter: none;
	}
}

@keyframes lin-home-ambient-drift {
	0%,
	100% {
		transform: translate3d(calc(var(--parallax-x) * 0.18), calc(var(--parallax-y) * 0.12), 0) scale(0.98);
		opacity: 0.4;
		filter: blur(8px);
	}

	50% {
		transform: translate3d(calc(var(--parallax-x) * 0.28), calc(var(--parallax-y) * 0.18 - 8px), 0) scale(1.08);
		opacity: 0.68;
		filter: blur(14px);
	}
}

@keyframes lin-home-portrait-breathe {
	0%,
	100% {
		transform: rotate(0deg) translateY(0) scale(1);
		box-shadow:
			0 18px 40px rgba(48, 39, 31, 0.1),
			0 0 0 1px rgba(255, 255, 255, 0.16);
	}

	50% {
		transform: rotate(-0.5deg) translateY(-6px) scale(1.018);
		box-shadow:
			0 24px 46px rgba(48, 39, 31, 0.12),
			0 0 0 1px rgba(255, 255, 255, 0.22);
	}
}

@keyframes lin-home-image-drift {
	0%,
	100% {
		transform: scale(1.24) translate3d(0, 0, 0);
		filter: saturate(0.98) contrast(1.01);
	}

	50% {
		transform: scale(1.28) translate3d(-4px, -6px, 0);
		filter: saturate(1.03) contrast(1.03);
	}
}

@keyframes lin-home-sheen {
	0%,
	100% {
		transform: translateX(-58%);
		opacity: 0;
	}

	14% {
		opacity: 0;
	}

	32% {
		transform: translateX(58%);
		opacity: 0.96;
	}

	46% {
		opacity: 0;
	}
}

@keyframes lin-home-pill-float {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-4px) rotate(-0.4deg);
	}
}

@keyframes lin-home-chip-float {
	0%,
	100% {
		transform: translateY(0);
		box-shadow: 0 14px 26px rgba(44, 40, 34, 0.08);
	}

	50% {
		transform: translateY(-4px);
		box-shadow: 0 18px 30px rgba(44, 40, 34, 0.1);
	}
}

@keyframes lin-home-shadow-breathe {
	0%,
	100% {
		opacity: 0.36;
		transform: rotate(2deg) scale(0.98);
	}

	50% {
		opacity: 0.56;
		transform: rotate(2deg) scale(1.04);
	}
}

@keyframes lin-home-node-card-drift {
	0%,
	100% {
		transform: rotate(-0.45deg) translateY(0);
	}

	50% {
		transform: rotate(-0.15deg) translateY(-6px);
	}
}

@keyframes lin-home-node-row-pulse {
	0%,
	100% {
		transform: translateX(0);
		background: rgba(255, 255, 255, 0.66);
	}

	50% {
		transform: translateX(3px);
		background: rgba(255, 255, 255, 0.84);
	}
}

@keyframes lin-home-mini-sheen {
	0%,
	100% {
		transform: translateX(-56%);
		opacity: 0;
	}

	26% {
		opacity: 0;
	}

	42% {
		transform: translateX(56%);
		opacity: 0.8;
	}

	58% {
		opacity: 0;
	}
}

@keyframes lin-home-service-orbit {
	0%,
	100% {
		transform: translateY(0) rotate(-0.3deg);
		box-shadow: 0 16px 26px rgba(44, 40, 34, 0.06);
	}

	50% {
		transform: translateY(-10px) rotate(-0.9deg);
		box-shadow: 0 24px 34px rgba(44, 40, 34, 0.1);
	}
}

@keyframes lin-home-case-drift {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	24% {
		transform: translateY(-5px) rotate(-0.36deg);
	}

	58% {
		transform: translateY(-9px) rotate(0.42deg);
	}

	82% {
		transform: translateY(-4px) rotate(-0.2deg);
	}
}

@keyframes lin-home-note-drift-strong {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-8px) rotate(-0.42deg);
	}
}

@keyframes lin-home-footer-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-4px);
	}
}

@keyframes lin-home-mascot-hero-anchor {
	0% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}

	28% {
		transform: translate3d(-6px, -4px, 0) rotate(-0.8deg);
	}

	50% {
		transform: translate3d(-10px, -7px, 0) rotate(0.9deg);
	}

	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
}

@keyframes lin-home-mascot-service-anchor {
	0% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}

	46% {
		transform: translate3d(-6px, 6px, 0) rotate(0.8deg);
	}

	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
}

@keyframes lin-home-mascot-crisp-bob {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}

	50% {
		transform: translate3d(0, -2px, 0) rotate(-0.35deg) scale(1.008);
	}
}

@keyframes lin-home-bubble-hover {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(-4px, -6px, 0);
	}
}

@keyframes lin-home-bubble-hover-services {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	52% {
		transform: translate3d(-3px, -4px, 0);
	}
}

@keyframes lin-home-screen-nodes {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(0.98);
		opacity: 0.4;
	}

	50% {
		transform: translate3d(8px, -8px, 0) scale(1.05);
		opacity: 0.88;
	}
}

@keyframes lin-home-screen-scan {
	0%,
	100% {
		transform: translateX(-54%);
		opacity: 0;
	}

	18% {
		opacity: 0;
	}

	38% {
		transform: translateX(56%);
		opacity: 0.88;
	}

	56% {
		opacity: 0;
	}
}

@keyframes lin-home-screen-core {
	0%,
	100% {
		transform: scale(0.96);
		opacity: 0.46;
	}

	50% {
		transform: scale(1.08);
		opacity: 0.88;
	}
}

@media (max-width: 920px) {
	.front-page--home.is-home-fx-live .home-hero .desk-masthead__portrait,
	.front-page--home.is-home-fx-live .home-hero .desk-masthead__side-stack,
	.front-page--home.is-home-fx-live .home-section--services .service-card,
	.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case,
	.front-page--home.is-home-fx-live .home-section--notes .paper-article-card {
		animation-duration: 820ms, 7.2s;
	}

	.front-page--home.is-home-fx-live .home-hero__featured-visual::before {
		animation-duration: 7.2s;
	}

	.front-page--home.is-home-fx-live .home-hero__featured-visual::after {
		animation-duration: 5.2s;
	}
}

@media (max-width: 699px) {
	.floating-mascot--desktop {
		display: none;
	}

	.has-mobile-guided-mascot .floating-mascot--desktop {
		display: block;
		opacity: 1;
	}

	.has-mobile-guided-mascot .floating-mascot--desktop .home-mascot {
		display: flex;
		align-items: center;
		gap: 6px;
		width: auto;
		max-width: calc(100vw - 16px);
		filter: none !important;
		top: var(--mascot-stage-top);
		left: var(--mascot-stage-left);
		right: auto;
		bottom: auto;
		transform: none !important;
		transition:
			top 320ms cubic-bezier(0.22, 1, 0.36, 1),
			left 320ms cubic-bezier(0.22, 1, 0.36, 1),
			opacity 220ms ease;
	}

	.has-mobile-guided-mascot .floating-mascot--desktop .home-mascot::before {
		display: none;
	}

	.has-mobile-guided-mascot .floating-mascot--desktop .home-mascot::after {
		display: none;
	}

	body.has-mobile-guided-mascot .home-mascot--floating.home-mascot--4a .home-mascot__bubble {
		display: block;
		position: static;
		min-width: 0;
		max-width: min(calc(100vw - 78px), 11.8rem);
		width: fit-content;
		flex: 0 0 auto;
		padding: 0.42rem 0.74rem;
		font-size: 0.7rem;
		line-height: 1.3;
		margin-left: 0;
		transform: none !important;
		white-space: normal;
		word-break: keep-all;
		overflow-wrap: normal;
		writing-mode: horizontal-tb;
		text-align: center;
		z-index: 3;
		border-radius: 999px;
		background: rgba(255, 252, 246, 0.98);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		filter: none !important;
		animation: none !important;
		transition: none !important;
		box-shadow:
			0 8px 16px rgba(44, 40, 34, 0.08),
			0 0 0 1px rgba(255, 255, 255, 0.2) inset;
	}

	body.has-mobile-guided-mascot .home-mascot--floating.home-mascot--4a .home-mascot__image {
		width: calc(var(--mascot-stage-width) * 0.8);
		flex: 0 0 auto;
		animation: none !important;
		transform: none !important;
		filter: none;
	}

	body.has-mobile-guided-mascot .front-page--home .home-hero > .home-mascot--hero,
	body.has-mobile-guided-mascot .front-page--home .home-scene .home-mascot--services {
		display: none;
	}

	.has-mobile-guided-mascot .floating-mascot--desktop {
		z-index: 14;
	}

	.has-mobile-guided-mascot .floating-mascot--desktop .home-mascot {
		align-items: center;
	}

	.front-page--home.has-mobile-guided-mascot.is-mascot-transitioning .floating-mascot--desktop .home-mascot {
		filter: none !important;
	}

	.has-mobile-guided-mascot[data-active-mascot-anchor="works"] .floating-mascot--desktop .home-mascot {
		flex-direction: row-reverse;
		align-items: flex-start;
		max-width: min(calc(100vw - 14px), 12.8rem);
	}

	body.has-mobile-guided-mascot[data-active-mascot-anchor="works"] .home-mascot--floating.home-mascot--4a .home-mascot__bubble {
		max-width: min(calc(100vw - 58px), 11.2rem);
		margin-top: 1px;
		padding-inline: 0.68rem;
		line-height: 1.28;
		text-align: center;
	}

	.front-page--home .home-hero .front-page-kicker,
	.front-page--home .home-hero .hand-badge,
	.front-page--home .home-hero .desk-masthead__copy h1,
	.front-page--home .home-hero .desk-masthead__intro,
	.front-page--home .home-hero .desk-masthead__actions,
	.front-page--home .home-hero .desk-masthead__portrait,
	.front-page--home .home-hero .desk-masthead__side-stack {
		opacity: 1;
	}

	.front-page--home.is-home-fx-live .home-hero .desk-masthead__portrait-frame,
	.front-page--home.is-home-fx-live .home-hero__featured-visual img,
	.front-page--home.is-home-fx-live .home-hero .side-stack-card,
	.front-page--home.is-home-fx-live .home-section__more,
	.front-page--home.is-home-fx-live .home-section--services .service-card,
	.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case,
	.front-page--home.is-home-fx-live .home-section--notes .paper-article-card {
			animation-duration: 0.001ms, 0.001ms;
			animation-iteration-count: 1, 1;
		}

	.front-page--home .home-mascot--hero {
		right: 8px;
		top: 12px;
		bottom: auto;
		width: 82px;
		transform: none;
		display: grid;
	}

	.front-page--home .home-mascot--services {
		right: 8px;
		bottom: 12px;
		top: auto;
		width: 86px;
		transform: none;
		display: grid;
	}

	.front-page--home.is-home-fx-live .home-mascot--hero .home-mascot__image,
	.front-page--home.is-home-fx-live .home-mascot--services .home-mascot__image {
		animation: lin-home-mascot-crisp-bob 2.9s ease-in-out infinite;
	}

	.front-page--home.is-home-fx-live .home-hero__featured-visual::before {
		animation-duration: 6.4s;
	}

	.front-page--home.is-home-fx-live .home-hero__featured-visual::after {
		animation-duration: 4.8s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.front-page--home .home-hero::before,
	.front-page--home .home-hero::after,
	.front-page--home .home-hero .front-page-kicker,
	.front-page--home .home-hero .hand-badge,
	.front-page--home .home-hero .desk-masthead__copy h1,
	.front-page--home .home-hero .desk-masthead__intro,
	.front-page--home .home-hero .desk-masthead__actions,
	.front-page--home .home-hero .desk-masthead__portrait,
	.front-page--home .home-hero .desk-masthead__side-stack,
	.front-page--home .home-hero .desk-masthead__portrait-frame,
	.front-page--home .home-hero__featured-visual img,
	.front-page--home .home-hero .side-stack-shadow,
	.front-page--home .home-hero .side-stack-card,
	.front-page--home .home-hero .skill-list--nodes li,
	.front-page--home .home-hero .skill-list--nodes li::after,
	.front-page--home .home-mascot--hero,
	.front-page--home .home-mascot--services,
	.front-page--home .home-section .service-card,
	.front-page--home .home-section .paper-article-card,
	.front-page--home .home-section__more,
	.front-page--home .home-section--services .service-card::after,
	.front-page--home .home-section--works .paper-article-card__link::after,
	.front-page--home .home-section--notes .paper-article-card__link::after {
		animation: none !important;
		transition: none !important;
		filter: none !important;
	}

	.front-page--home .home-hero .front-page-kicker,
	.front-page--home .home-hero .hand-badge,
	.front-page--home .home-hero .desk-masthead__copy h1,
	.front-page--home .home-hero .desk-masthead__intro,
	.front-page--home .home-hero .desk-masthead__actions,
	.front-page--home .home-hero .desk-masthead__portrait,
	.front-page--home .home-hero .desk-masthead__side-stack {
		opacity: 1 !important;
		transform: none !important;
	}

	.front-page--home .home-mascot__bubble.is-bubble-swapping,
	.front-page--home .home-mascot__bubble.is-bubble-refresh {
		opacity: 1 !important;
		transform: none !important;
	}

	.front-page--home .home-mascot--hero .home-mascot__image,
	.front-page--home .home-mascot--services .home-mascot__image {
		transform: none !important;
	}
}

/* 第二十八輪：首頁 mascot 導覽路徑與公開頁 shared motion。 */
body {
	--mascot-stage-left: calc(100vw - clamp(228px, 17vw, 286px));
	--mascot-stage-top: calc(100vh - clamp(232px, 25vh, 286px));
	--mascot-stage-width: clamp(118px, 8.8vw, 146px);
	--mascot-stage-tilt: -1.15deg;
	--mascot-bubble-shift-x: -4px;
}

body[data-active-mascot-anchor="services"] {
	--mascot-stage-left: calc(100vw - clamp(212px, 15vw, 260px));
	--mascot-stage-top: clamp(124px, 15vh, 188px);
	--mascot-stage-width: clamp(110px, 7.9vw, 136px);
	--mascot-stage-tilt: -0.65deg;
	--mascot-bubble-shift-x: -10px;
}

body[data-active-mascot-anchor="works"] {
	--mascot-stage-left: clamp(28px, 3.6vw, 86px);
	--mascot-stage-top: clamp(148px, 18vh, 220px);
	--mascot-stage-width: clamp(114px, 8.2vw, 140px);
	--mascot-stage-tilt: 0.92deg;
	--mascot-bubble-shift-x: 12px;
}

body[data-active-mascot-anchor="notes"] {
	--mascot-stage-left: calc(100vw - clamp(214px, 16vw, 268px));
	--mascot-stage-top: clamp(228px, 40vh, 384px);
	--mascot-stage-width: clamp(116px, 8.4vw, 142px);
	--mascot-stage-tilt: -0.35deg;
	--mascot-bubble-shift-x: -8px;
}

.floating-mascot--desktop {
	position: fixed;
	inset: 0;
	right: auto;
	bottom: auto;
	z-index: 46;
	opacity: 0;
	transition: opacity 260ms ease;
}

.has-guided-mascot .floating-mascot--desktop {
	opacity: 1;
}

.floating-mascot--desktop .home-mascot {
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	bottom: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	width: var(--mascot-stage-width);
	transform: translate3d(var(--mascot-stage-left), var(--mascot-stage-top), 0) rotate(var(--mascot-stage-tilt)) scale(1);
	transform-origin: center bottom;
	transition:
		transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
		filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 280ms ease;
	filter:
		drop-shadow(0 22px 28px rgba(62, 48, 35, 0.14))
		drop-shadow(0 8px 16px rgba(62, 48, 35, 0.1));
}

.floating-mascot--desktop .home-mascot::before,
.floating-mascot--desktop .home-mascot::after {
	display: none;
}

.floating-mascot--desktop .home-mascot__image,
.floating-mascot--desktop .home-mascot__bubble {
	position: relative;
	z-index: 2;
}

.floating-mascot--desktop .home-mascot__image {
	width: var(--mascot-stage-width);
}

.floating-mascot--desktop .home-mascot__bubble {
	padding: 16px 20px;
	line-height: 1.6;
	letter-spacing: 0.02em;
	box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

.home-mascot--floating.home-mascot--4a {
	animation: none;
}

.home-mascot--floating.home-mascot--4a .home-mascot__image {
	animation:
		lin-home-mascot-crisp-bob 2.7s ease-in-out infinite,
		lin-home-guide-hover 8.8s ease-in-out 0.4s infinite;
}

.home-mascot--floating.home-mascot--4a .home-mascot__bubble {
	max-width: 12.8ch;
	margin-left: var(--mascot-bubble-shift-x);
	padding-inline: 0.92rem;
	line-height: 1.42;
	animation:
		lin-mascot-bubble 4.6s ease-in-out infinite,
		lin-home-guide-bubble 7.8s ease-in-out 0.8s infinite;
	transition:
		margin-left 760ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 240ms ease,
		filter 240ms ease,
		background-color 240ms ease,
		border-color 240ms ease;
}

.is-mascot-transitioning .floating-mascot--desktop .home-mascot {
	filter:
		drop-shadow(0 30px 36px rgba(62, 48, 35, 0.18))
		drop-shadow(0 12px 18px rgba(62, 48, 35, 0.12));
}

.is-mascot-transitioning .floating-mascot--desktop .home-mascot::before {
	animation-duration: 4.8s;
}

.front-page--home.is-home-fx-live .home-section--services .service-card:hover,
.front-page--home.is-home-fx-live .home-section--services .service-card:focus-within {
	animation-play-state: paused;
	box-shadow:
		0 28px 42px rgba(44, 40, 34, 0.12),
		5px 6px 0 rgba(20, 25, 29, 0.06);
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:hover,
.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:focus-within,
.front-page--home.is-home-fx-live .home-section--notes .paper-article-card:hover,
.front-page--home.is-home-fx-live .home-section--notes .paper-article-card:focus-within {
	animation-play-state: paused;
}

.front-page--home .home-section--works .paper-article-card__link::before,
.front-page--home .home-section--notes .paper-article-card__link::before,
.archive-main .paper-article-card__link::before {
	position: absolute;
	inset: 0;
	content: "";
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 26%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 260ms ease;
}

.front-page--home .home-section--works .paper-article-card:hover .paper-article-card__link::before,
.front-page--home .home-section--works .paper-article-card:focus-within .paper-article-card__link::before,
.front-page--home .home-section--notes .paper-article-card:hover .paper-article-card__link::before,
.front-page--home .home-section--notes .paper-article-card:focus-within .paper-article-card__link::before,
.archive-main .paper-article-card:hover .paper-article-card__link::before,
.archive-main .paper-article-card:focus-within .paper-article-card__link::before {
	opacity: 1;
}

.js-ready .about-page .animate-in {
	opacity: 0;
	transform: translateY(var(--reveal-distance, 24px));
}

.js-ready .about-page .animate-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.about-stage__fact,
.about-brief__topic,
.archive-main .paper-article-card,
.note-detail-layout .note-briefing__panel,
.post-nav--note > div {
	position: relative;
	overflow: hidden;
}

.about-stage__fact,
.about-brief__topic {
	transition:
		border-color 240ms ease,
		color 240ms ease,
		transform 420ms var(--motion-ease),
		opacity 420ms var(--motion-ease);
}

.about-stage__fact::after,
.about-brief__topic::after,
.note-detail-layout .note-briefing__panel::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(112deg, transparent 0 34%, rgba(255, 255, 255, 0.4) 48%, transparent 64%);
	opacity: 0;
	transform: translateX(-56%);
	pointer-events: none;
}

.about-stage__fact:hover,
.about-stage__fact:focus-within,
.about-brief__topic:hover,
.about-brief__topic:focus-within {
	transform: translateY(-3px);
}

.about-stage__fact:hover::after,
.about-stage__fact:focus-within::after,
.about-brief__topic:hover::after,
.about-brief__topic:focus-within::after,
.note-detail-layout .note-briefing__panel:hover::after,
.note-detail-layout .note-briefing__panel:focus-within::after {
	opacity: 0.72;
	animation: lin-home-sheen 6.8s cubic-bezier(0.16, 1, 0.3, 1) 1;
}

.archive-main .archive-header,
.note-detail-layout .singular-sidebar--note,
.note-detail-layout .singular-content--note {
	will-change: transform, box-shadow;
}

.archive-main .paper-article-card.is-visible,
.about-page .about-stage__fact.is-visible,
.about-page .about-brief__topic.is-visible,
.note-detail-layout .note-briefing__panel.is-visible {
	animation: lin-public-card-drift 8.8s ease-in-out calc(1s + var(--public-float-delay, 0s)) infinite;
}

.archive-main .paper-article-card:nth-child(2n).is-visible,
.about-page .about-stage__fact:nth-child(2n).is-visible,
.about-page .about-brief__topic:nth-child(2n).is-visible,
.note-detail-layout .note-briefing__panel:nth-child(2n).is-visible {
	animation-duration: 9.8s;
}

.archive-main .paper-article-card:hover,
.archive-main .paper-article-card:focus-within,
.note-detail-layout .note-briefing__panel:hover,
.note-detail-layout .note-briefing__panel:focus-within {
	animation-play-state: paused;
}

.archive-main .paper-article-card__link,
.note-detail-layout .note-briefing__panel,
.about-stage__visual,
.note-detail-layout .singular-sidebar--note,
.note-detail-layout .singular-content--note {
	box-shadow:
		0 18px 30px rgba(44, 40, 34, 0.06),
		4px 5px 0 rgba(44, 40, 34, 0.07);
}

.note-detail-layout .singular-sidebar--note,
.note-detail-layout .singular-content--note {
	transition:
		transform 420ms var(--motion-ease),
		box-shadow 420ms var(--motion-ease),
		border-color 220ms ease;
}

.note-detail-layout .singular-sidebar--note:hover,
.note-detail-layout .singular-sidebar--note:focus-within,
.note-detail-layout .singular-content--note:hover,
.note-detail-layout .singular-content--note:focus-within {
	transform: translateY(-3px);
	box-shadow:
		0 24px 38px rgba(44, 40, 34, 0.08),
		5px 6px 0 rgba(44, 40, 34, 0.08);
}

.post-nav--note > div {
	transition: transform 320ms var(--motion-ease);
}

.post-nav--note > div:hover,
.post-nav--note > div:focus-within {
	transform: translateY(-2px);
}

@keyframes lin-home-guide-hover {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}

	30% {
		transform: translate3d(-2px, -2px, 0) rotate(-0.4deg) scale(1.012);
	}

	64% {
		transform: translate3d(3px, -5px, 0) rotate(0.38deg) scale(1.018);
	}
}

@keyframes lin-home-guide-bubble {
	0%,
	100% {
		box-shadow:
			0 14px 28px rgba(45, 36, 29, 0.1),
			0 0 0 1px rgba(255, 255, 255, 0.16) inset;
	}

	50% {
		box-shadow:
			0 18px 34px rgba(45, 36, 29, 0.14),
			0 0 0 1px rgba(255, 255, 255, 0.24) inset;
	}
}

@keyframes lin-home-guide-track {
	0%,
	100% {
		opacity: 0.42;
		transform: rotate(-6deg) translateY(0) scaleX(0.96);
	}

	50% {
		opacity: 0.88;
		transform: rotate(-4deg) translateY(-2px) scaleX(1.04);
	}
}

@keyframes lin-home-guide-glow {
	0%,
	100% {
		opacity: 0.48;
		transform: translateX(-50%) scale(0.9);
	}

	50% {
		opacity: 0.82;
		transform: translateX(-50%) scale(1.08);
	}
}

@keyframes lin-public-card-drift {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-6px);
	}
}

@media (max-width: 1100px) {
	body[data-active-mascot-anchor="hero"] {
		--mascot-stage-left: calc(100vw - clamp(206px, 18vw, 248px));
		--mascot-stage-top: calc(100vh - clamp(212px, 22vh, 254px));
		--mascot-stage-width: clamp(108px, 8.4vw, 132px);
	}

	body[data-active-mascot-anchor="notes"] {
		--mascot-stage-top: clamp(206px, 36vh, 332px);
	}
}

@media (max-width: 920px) {
	body[data-active-mascot-anchor="works"] {
		--mascot-stage-left: calc(100vw - 188px);
		--mascot-stage-top: clamp(136px, 16vh, 174px);
		--mascot-stage-width: clamp(100px, 9vw, 120px);
	}

	.floating-mascot--desktop .home-mascot {
		gap: 6px;
	}

	.home-mascot--floating.home-mascot--4a .home-mascot__bubble {
		max-width: 11.8ch;
		padding: 0.62rem 0.82rem;
		font-size: 0.72rem;
	}

	.archive-main .paper-article-card.is-visible,
	.about-page .about-stage__fact.is-visible,
	.about-page .about-brief__topic.is-visible,
	.note-detail-layout .note-briefing__panel.is-visible {
		animation-duration: 7.4s;
	}
}

@media (max-width: 699px) {
	.js-ready .about-page .animate-in {
		opacity: 1;
		transform: none;
	}

	.archive-main .paper-article-card.is-visible,
	.about-page .about-stage__fact.is-visible,
	.about-page .about-brief__topic.is-visible,
	.note-detail-layout .note-briefing__panel.is-visible {
		animation: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.floating-mascot--desktop {
		display: none !important;
	}

	.floating-mascot--desktop .home-mascot,
	.floating-mascot--desktop .home-mascot::before,
	.floating-mascot--desktop .home-mascot::after,
	.home-mascot--floating.home-mascot--4a .home-mascot__image,
	.home-mascot--floating.home-mascot--4a .home-mascot__bubble,
	.archive-main .paper-article-card.is-visible,
	.about-page .about-stage__fact.is-visible,
	.about-page .about-brief__topic.is-visible,
	.note-detail-layout .note-briefing__panel.is-visible {
		animation: none !important;
		transform: none !important;
		transition: none !important;
	}
}

/* 第二十九輪：手機版首頁節奏收斂，不動桌機版型。 */
@media (max-width: 699px) {
	.front-page--home {
		gap: 1.96rem;
	}

	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		gap: 0.7rem;
		padding-top: 0.62rem;
	}

	.front-page--home .home-hero .front-page-kicker {
		margin: 0;
		font-size: 0.6rem;
		letter-spacing: 0.12em;
	}

	.front-page--home .home-hero .hand-badge {
		gap: 0.32rem;
		margin: 0 0 0.68rem;
		max-width: 17.8rem;
		font-size: clamp(0.68rem, 0.54rem + 0.64vw, 0.82rem);
	}

	.front-page--home .home-hero .hand-badge__word {
		min-height: 1.76rem;
		padding: 0.38rem 0.68rem 0.34rem;
	}

	.front-page--home .home-hero .hand-badge__word--wide {
		padding-inline: 0.78rem 0.86rem;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		font-size: clamp(1.52rem, 6.7vw, 1.74rem);
		line-height: 1.07;
		letter-spacing: -0.04em;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair {
		gap: 0.18em;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
		gap: 0.08em;
		margin-top: 0.15em;
	}

	.front-page--home .home-hero .desk-masthead__intro {
		margin-top: 0.58rem;
		font-size: 0.86rem;
		line-height: 1.68;
	}

	.front-page--home .home-hero .desk-masthead__actions {
		gap: 0.5rem;
		margin-top: 0.72rem;
	}

	.front-page--home .home-hero .desktop-chip {
		min-height: 40px;
		font-size: 0.68rem;
	}

	.front-page--home .home-hero .desk-masthead__portrait {
		margin-top: 0;
		padding: 8px;
	}

	.front-page--home .home-hero .desk-masthead__portrait-frame {
		aspect-ratio: 1 / 0.95;
		padding: 8px;
	}

	.front-page--home .home-hero__featured-visual {
		max-height: 320px;
	}

	.front-page--home .home-hero__featured-visual img {
		object-position: 48% 24%;
		transform: scale(1.04);
	}

	.front-page--home .home-hero .desk-masthead__caption {
		margin-top: 0.34rem;
		font-size: 0.54rem;
		letter-spacing: 0.1em;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		margin-top: 0;
	}

	.front-page--home .home-hero .side-stack-card {
		padding: 0.76rem 0.8rem 0.72rem;
	}

	.front-page--home .home-hero .skill-list--nodes {
		gap: 0.42rem;
	}

	.front-page--home .home-hero .skill-list--nodes li {
		min-height: 2.78rem;
		padding: 0.46rem 0.52rem;
		font-size: 0.67rem;
	}

	.front-page--home .home-section__heading {
		margin-bottom: 0.78rem;
	}

	.front-page--home .home-section__heading h2 {
		font-size: clamp(1.56rem, 7vw, 1.92rem);
		line-height: 1.06;
	}

	.front-page--home .service-grid {
		gap: 0.78rem;
	}

	.front-page--home .home-section--services .service-card {
		min-height: 0;
		padding: 0.9rem 0.92rem 0.94rem;
	}

	.front-page--home .home-section--services .service-card h3 {
		font-size: 1.04rem;
		line-height: 1.24;
	}

	.front-page--home .home-section--services .service-card p {
		font-size: 0.84rem;
		line-height: 1.6;
	}

	.front-page--home .home-section--services .service-card__tag {
		min-height: 24px;
		padding: 4px 8px;
		font-size: 0.58rem;
	}

	.front-page .home-section--works .works-board.article-board,
	.front-page .home-section--notes .article-board {
		gap: 12px;
		padding-bottom: 8px;
	}

	.front-page .home-section--works .paper-article-card__media,
	.front-page .home-section--notes .paper-article-card__media {
		aspect-ratio: 16 / 8.3;
	}

	.front-page .home-section--works .paper-article-card__body,
	.front-page .home-section--notes .paper-article-card__body {
		padding: 0.8rem 0.84rem 0.9rem;
	}

	.front-page .home-section--works .paper-article-card__title,
	.front-page .home-section--notes .paper-article-card__title {
		font-size: 0.98rem;
		line-height: 1.28;
	}

	.front-page .home-section--works .paper-article-card__excerpt,
	.front-page .home-section--notes .paper-article-card__excerpt {
		font-size: 0.81rem;
		line-height: 1.54;
	}

	.front-page--home .home-section__more {
		gap: 10px;
		margin-top: 8px;
		padding: 11px 12px;
	}

	.front-page--home .home-section__more p {
		font-size: 0.84rem;
		line-height: 1.62;
	}

	.front-page--home .home-section__more .desktop-chip {
		min-height: 38px;
		font-size: 0.66rem;
	}

	.front-page--home .home-mascot--hero {
		top: 10px;
		right: 10px;
		width: 70px;
	}

	.front-page--home .home-mascot--services {
		right: 8px;
		bottom: 10px;
		width: 74px;
	}
}

@media (max-width: 430px) {
	.front-page--home {
		gap: 1.76rem;
	}

	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		gap: 0.62rem;
		padding-top: 0.52rem;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		font-size: clamp(1.42rem, 6.4vw, 1.6rem);
	}

	.front-page--home .home-hero .desk-masthead__intro {
		font-size: 0.82rem;
	}

	.front-page--home .home-hero__featured-visual {
		max-height: 286px;
	}

	.front-page--home .home-hero .side-stack-card {
		padding: 0.7rem 0.74rem 0.66rem;
	}

	.front-page--home .home-hero .skill-list--nodes li {
		min-height: 2.6rem;
		font-size: 0.64rem;
	}
}

@media (max-width: 699px) {
	.has-mobile-guided-mascot .floating-mascot--desktop .home-mascot {
		display: flex;
		width: auto;
		max-width: calc(100vw - 16px);
	}

	body.has-mobile-guided-mascot .home-mascot--floating.home-mascot--4a .home-mascot__bubble {
		width: fit-content;
		max-width: min(calc(100vw - 78px), 11.8rem);
		flex: 0 0 auto;
		margin-left: 0;
		padding: 0.42rem 0.74rem;
		font-size: 0.7rem;
		line-height: 1.3;
		overflow-wrap: normal;
		text-align: center;
	}

	body.has-mobile-guided-mascot[data-active-mascot-anchor="works"] .home-mascot--floating.home-mascot--4a .home-mascot__bubble {
		max-width: min(calc(100vw - 58px), 11.2rem);
		line-height: 1.28;
	}
}

/* --- Global Animation & FX Upgrade --- */

/* 1. Micro-interactions: Cards & Chips */
.paper-card:hover,
.note-card:hover,
.paper-card:focus-within,
.note-card:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04); /* Tier 2 */
}

.desktop-chip:hover,
.desktop-chip:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 12px 40px rgba(88, 122, 133, 0.18); /* Primary colored glow */
}

/* 2. Ambient Glow (Layer 4) */
@keyframes lin-ambient-glow {
	0%, 100% {
		transform: translate(0, 0) scale(1);
		opacity: 0.08;
	}
	50% {
		transform: translate(-2%, 3%) scale(1.05);
		opacity: 0.12;
	}
}

body::before,
body::after {
	content: '';
	position: fixed;
	border-radius: 50%;
	filter: blur(80px);
	z-index: -1;
	pointer-events: none;
	animation: lin-ambient-glow 18s ease-in-out infinite;
}

body::before {
	top: -10%;
	left: -10%;
	width: 50vw;
	height: 50vw;
	background: radial-gradient(circle, rgba(88, 122, 133, 0.4) 0%, transparent 70%);
}

body::after {
	bottom: -20%;
	right: -10%;
	width: 60vw;
	height: 60vw;
	background: radial-gradient(circle, rgba(201, 115, 111, 0.3) 0%, transparent 70%);
	animation-delay: -9s;
}

/* 首頁代表作齊高修正：保留淡入與卡片內光澤，取消整張卡片上下漂移。 */
.front-page--home .home-section--works .works-board.article-board {
	align-items: stretch;
	grid-auto-rows: 1fr;
}

.front-page--home .home-section--works .paper-article-card--case,
.front-page--home .home-section--works .paper-article-card--case:nth-child(n) {
	align-self: stretch;
	height: 100%;
	margin: 0;
	transform: none;
}

.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case,
.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:nth-child(2n),
.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:nth-child(3n) {
	animation: lin-home-fade-up 780ms cubic-bezier(0.16, 1, 0.3, 1) var(--home-fx-delay, 0ms) both;
}

.front-page--home .home-section--works .paper-article-card--case:hover,
.front-page--home .home-section--works .paper-article-card--case:focus-within,
.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:hover,
.front-page--home.is-home-fx-live .home-section--works .paper-article-card--case:focus-within {
	transform: translateY(-4px);
}

.front-page--home .home-section--works .paper-article-card--case .paper-article-card__shell,
.front-page--home .home-section--works .paper-article-card--case .paper-article-card__link {
	height: 100%;
	min-height: 0;
}

/* 首頁代表作可見紙卡齊高：把按鈕區納入同一張白色卡片。 */
.front-page--home .home-section--works .paper-article-card--case .paper-article-card__shell {
	position: relative;
	overflow: hidden;
	color: var(--ink);
	text-decoration: none;
	background:
		linear-gradient(180deg, rgba(255, 254, 253, 0.99), rgba(250, 250, 246, 0.985)),
		repeating-linear-gradient(90deg, transparent 0 26px, rgba(54, 95, 107, 0.018) 27px 28px);
	border: 1px solid var(--paper-card-border);
	box-shadow:
		0 18px 32px rgba(44, 40, 34, 0.07),
		5px 6px 0 rgba(44, 40, 34, 0.1);
	transition:
		border-color 220ms ease,
		box-shadow 220ms ease;
}

.front-page--home .home-section--works .paper-article-card--case .paper-article-card__link {
	background: transparent;
	border: 0;
	box-shadow: none;
}

.front-page--home .home-section--works .paper-article-card--case:hover .paper-article-card__shell,
.front-page--home .home-section--works .paper-article-card--case:focus-within .paper-article-card__shell {
	border-color: rgba(217, 68, 74, 0.58);
	box-shadow:
		0 20px 36px rgba(44, 40, 34, 0.09),
		9px 10px 0 rgba(44, 40, 34, 0.16);
}

.front-page--home .home-section--works .paper-article-card--case:hover .paper-article-card__link,
.front-page--home .home-section--works .paper-article-card--case:focus-within .paper-article-card__link {
	border-color: transparent;
	box-shadow: none;
}

/* 浮動導覽文字：保留中文語意節奏，避免末尾單字獨佔一行。 */
@media (min-width: 700px) {
	.home-mascot--floating.home-mascot--4a .home-mascot__bubble {
		box-sizing: content-box;
		width: max-content;
		max-width: min(18ch, calc(100vw - 4rem));
		line-break: strict;
		word-break: normal;
		overflow-wrap: normal;
		text-wrap: balance;
	}

	body[data-active-mascot-anchor="works"] .home-mascot--floating.home-mascot--4a .home-mascot__bubble {
		justify-self: start;
	}
}

/* Hero 手機版最後校正：保留原本四段結構，避免後段規則產生窄欄。 */
@media (max-width: 699px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"kicker"
			"copy"
			"portrait"
			"side";
		width: 100%;
		gap: 0.95rem;
		padding: 1rem 0 0;
	}

	.front-page--home .home-hero .front-page-kicker {
		grid-area: kicker;
		width: 100%;
	}

	.front-page--home .home-hero .desk-masthead__copy {
		grid-area: copy;
		width: 100%;
		max-width: none;
		min-width: 0;
		padding: 0;
	}

	.front-page--home .home-hero .desk-masthead__portrait {
		grid-area: portrait;
		width: 100%;
		max-width: none;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		grid-area: side;
		width: 100%;
		max-width: none;
		margin-top: 0;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		max-width: 100%;
		font-size: clamp(1.62rem, 7vw, 1.84rem);
		line-height: 1.12;
	}

	.front-page--home .home-hero .desk-masthead__intro {
		max-width: 34rem;
		font-size: 1rem;
		line-height: 1.8;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-pair {
		grid-template-columns: 1fr;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 .hero-line-ai {
		width: auto;
		max-width: 100%;
		white-space: normal;
		display: flex;
		flex-wrap: wrap;
	}
}

/* 平板維持完整 Hero 資訊，不讓標籤與節點卡落到隱含欄位。 */
@media (min-width: 700px) and (max-width: 1179px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		grid-template-columns: minmax(0, 1fr) minmax(248px, 320px);
		grid-template-areas:
			"kicker portrait"
			"copy portrait"
			"side side";
	}

	.front-page--home .home-hero .front-page-kicker {
		grid-area: kicker;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		grid-area: side;
	}
}

/* 桌機 Hero 的唯一網格規則：避免早期兩欄覆寫壓縮右側節點卡。 */
@media (min-width: 1025px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		grid-template-columns: minmax(220px, 292px) minmax(0, 640px) minmax(210px, 248px);
		grid-template-areas:
			"portrait kicker kicker"
			"portrait copy side";
		align-items: start;
		justify-content: center;
		column-gap: clamp(1.5rem, 2.4vw, 3.1rem);
		row-gap: 0.75rem;
	}

	.front-page--home .home-hero .front-page-kicker {
		grid-area: kicker;
		justify-self: end;
		align-self: start;
	}

	.front-page--home .home-hero .desk-masthead__copy {
		grid-area: copy;
		width: 100%;
		max-width: 640px;
	}

	.front-page--home .home-hero .desk-masthead__side-stack {
		grid-area: side;
		width: 100%;
		min-width: 210px;
		max-width: 248px;
		margin-top: -2rem;
		justify-self: end;
	}

	.front-page--home .home-hero .side-stack-card {
		width: 100%;
		min-width: 100%;
	}
}

/* 手機 Hero：讓標題、說明與入口維持緊湊的閱讀節奏。 */
@media (max-width: 699px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		gap: 0.78rem;
		padding-top: 0.78rem;
	}

	.front-page--home .home-hero .front-page-kicker {
		margin: 0;
	}

	.front-page--home .home-hero .hand-badge {
		margin-bottom: 0.78rem;
	}

	.front-page--home .home-hero .desk-masthead__copy h1 {
		line-height: 1.1;
	}

	.front-page--home .home-hero .desk-masthead__intro {
		margin-top: 0.68rem;
		font-size: 0.94rem;
		line-height: 1.72;
	}

	.front-page--home .home-hero .desk-masthead__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.56rem;
		margin-top: 0.9rem;
	}

	.front-page--home .home-hero .desktop-chip {
		min-height: 48px;
		padding-inline: 0.72rem;
		font-size: 0.72rem;
	}

	.front-page--home .home-hero .desk-masthead__portrait {
		margin-top: 0.08rem;
	}
}
/* 全站體驗優化基準：最後一層規則統一字體、閱讀尺寸與響應式觸控區。 */
:root {
	--font-body: "Noto Sans TC", "PingFang TC", sans-serif;
	--font-display: "Noto Sans TC", "PingFang TC", sans-serif;
}

body::after { content: none; }

body { background: var(--paper); }

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: linear-gradient(rgba(34, 45, 50, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 45, 50, 0.035) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.35;
	filter: none;
	animation: none;
}

.site-header__inner { min-height: 64px; }

.front-page--home .home-hero .desk-masthead__copy h1,
.page-hero h1,
.singular-header h1,
.static-page--about .about-stage__title-main,
.about-stage__title-main {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.front-page--home .home-hero .desk-masthead__intro,
.page-hero > p:last-child,
.about-stage__summary,
.entry-content,
.service-card > p {
	font-family: var(--font-body);
	line-height: 1.72;
	letter-spacing: 0;
}

.desktop-chip,
.front-page--home .home-section__more .desktop-chip,
.mobile-menu-toggle,
.mobile-menu-close,
.case-filter-chip,
.works-page .case-filter-chip,
.back-to-top,
.tdetw-line-float { min-height: 48px; }

@media (min-width: 700px) and (max-width: 1024px) {
	.front-page--home .home-hero.home-hero,
	.front-page--home .home-hero.desk-masthead {
		grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
		grid-template-areas: "kicker kicker" "copy portrait" "side side";
		align-items: start;
	}
	.front-page--home .home-hero .front-page-kicker { grid-area: kicker; }
	.front-page--home .home-hero .desk-masthead__copy { grid-area: copy; }
	.front-page--home .home-hero .desk-masthead__portrait { grid-area: portrait; width: min(100%, 260px); justify-self: end; }
	.front-page--home .home-hero .desk-masthead__side-stack { grid-area: side; width: min(100%, 420px); justify-self: end; }
}

@media (max-width: 699px) {
	.front-page--home .home-hero .desk-masthead__copy h1,
	.page-hero h1,
	.singular-header h1,
	.static-page--about .about-stage__title-main,
	.about-stage__title-main {
		font-size: 1.875rem;
		line-height: 1.3;
	}
	.front-page--home .home-hero .desktop-chip { min-height: 48px; }
	.mobile-menu-toggle, .mobile-menu-close { min-width: 48px; min-height: 48px !important; height: 48px !important; }
}

/* 互動回饋：讓操作有回應，但不搶走內容焦點。 */
.front-page--home .home-section--services a.service-card__tag {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.5rem 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	font-family: var(--font-body);
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.front-page--home .home-section--services a.service-card__tag:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

html {
	--scroll-progress: 0;
}

html.has-scroll-progress .site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: #2f5b65;
	transform: scaleX(var(--scroll-progress));
	transform-origin: left center;
	transition: transform 80ms linear;
	pointer-events: none;
	z-index: 2;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.paper-article-card .paper-article-card__shell,
	.service-card,
	.about-brief__topic {
		transform-style: preserve-3d;
		will-change: transform;
	}

	.paper-article-card.has-pointer-depth .paper-article-card__shell,
	.service-card.has-pointer-depth,
	.about-brief__topic.has-pointer-depth {
		transform: perspective(880px) rotateX(var(--card-tilt-x, 0deg)) rotateY(var(--card-tilt-y, 0deg)) translateY(-3px);
		transition: transform 110ms ease-out, box-shadow 180ms ease, border-color 180ms ease;
	}

	.paper-article-card.has-pointer-depth .paper-article-card__media img {
		transform: scale(1.025);
	}
}

.desktop-chip.is-pressed,
.case-filter-chip.is-pressed,
.paper-article-card__action.is-pressed {
		transform: translateY(1px) scale(0.98) !important;
		box-shadow: none !important;
}

.paper-article-card.is-filter-match {
		animation: lin-case-filter-in 360ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes lin-case-filter-in {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	html.has-scroll-progress .site-header::after { display: none; }
	.paper-article-card.is-filter-match { animation: none; }
}

/* 數據段落獨立於首頁其他區塊的背景與留白。 */
.front-page--home > .home-data-section.home-section {
	position: relative;
	overflow: hidden;
	padding: 0;
	color: #24392f;
	background: #f3f7f4;
	border: 0;
	border-block: 1px solid #d4dfd8;
	border-radius: 0;
	box-shadow: none;
}

.front-page--home .home-data-section::before,
.front-page--home .home-data-section::after {
	content: none;
}

body:has(.home-data-section.is-scene-live) .floating-mascot {
	opacity: 0;
	visibility: hidden;
}

.home-data-section__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.5rem 2rem;
}

.home-data-section__intro {
	max-width: 34rem;
}

.front-page--home .home-data-section .section-kicker {
	margin: 0 0 0.5rem;
	color: #4b6458;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0;
}

.front-page--home .home-data-section h2 {
	max-width: none;
	margin: 0 0 0.75rem;
	color: #24392f;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.4;
	letter-spacing: 0;
}

.home-data-section__intro > p:last-child {
	max-width: 30rem;
	margin: 0;
	color: #4b6458;
	font-size: 0.9375rem;
	line-height: 1.75;
}

.home-data-section__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
}

.home-data-metric {
	min-width: 0;
	padding: 0.5rem 1.25rem;
	border-right: 1px solid #d4dfd8;
}

.home-data-metric:last-child {
	border-right: 0;
}

.home-data-metric span {
	display: block;
	color: #4b6458;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	line-height: 1.65;
	letter-spacing: 0;
}

.home-data-metric strong {
	display: block;
	margin-top: 0.5rem;
	color: #254b3c;
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	letter-spacing: 0;
}

@media (max-width: 900px) {
	.home-data-section__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.75rem;
	}
	.home-data-section__intro { max-width: 40rem; }
	.home-data-section__intro > p:last-child { max-width: none; }
	.home-data-metric:first-child { padding-left: 0; }
}

@media (max-width: 699px) {
	.home-data-section__inner {
		padding: 1.75rem 1.25rem;
	}
	.home-data-metric { padding: 0.25rem 0.75rem; }
	.home-data-metric strong { font-size: 2.5rem; }
}

/* 關於頁桌面採左文右圖，避免照片高度把文字推到首屏下方。 */
@media (min-width: 700px) {
	.static-page--about .about-stage__intro {
		display: block;
		min-height: 0;
		padding-right: clamp(340px, 29vw, 390px);
	}

	.static-page--about .about-stage__masthead,
	.static-page--about .about-stage__copy {
		display: grid;
		width: 100%;
		max-width: 42rem;
	}

	.static-page--about .about-stage__copy {
		margin-top: clamp(26px, 3.5vw, 48px);
	}

	.static-page--about .about-stage__rail {
		position: absolute;
		top: clamp(16px, 1.6vw, 24px);
		right: 0;
		width: min(320px, 27vw);
		margin: 0;
	}

	.static-page--about .about-stage__facts {
		clear: both;
		margin-top: clamp(28px, 3vw, 42px);
	}
}

/* 服務名稱以完整項目換行，文章說明依句子安排閱讀節奏。 */
.front-page .service-card__title {
 text-wrap: balance;
 line-height: 1.5;
}
.front-page .service-card__topic {
 display: inline-block;
 white-space: nowrap;
}
.front-page .home-section--notes .notes-more-copy {
 max-width: 48rem;
 text-wrap: pretty;
}
.front-page .notes-more-copy > span {
 display: block;
 text-wrap: balance;
}

/* 關於頁需求引導：原生展開內容，鍵盤與無腳本瀏覽皆可操作。 */
.about-page .about-brief__topic {
 display: block;
 padding: 0;
}
.about-page .about-brief__topic summary {
 cursor: pointer;
 min-height: 48px;
 padding: 16px 28px 16px 0;
 position: relative;
 list-style: none;
}
.about-page .about-brief__topic summary::-webkit-details-marker { display: none; }
.about-page .about-brief__topic summary::after {
 content: '+';
 position: absolute;
 right: 4px;
 top: 18px;
 color: #365f6b;
 font-size: 1.25rem;
}
.about-page .about-brief__topic[open] summary::after { content: '−'; }
.about-page .about-brief__topic summary strong {
 display: block;
 font-family: 'Noto Sans TC', sans-serif;
 font-size: 1rem;
 line-height: 1.65;
 letter-spacing: 0;
}
.about-page .about-brief__topic summary span { display: block; margin-top: 4px; }
.about-page .about-brief__topic p { margin: 0 0 8px; }
.about-page .about-brief__topic a { display: inline-flex; align-items: center; min-height: 48px; margin-bottom: 8px; }
.about-page .about-brief__topic summary:focus-visible,
.about-page a:focus-visible { outline: 2px solid #365f6b; outline-offset: 4px; }
.about-page .about-brief__topic p,
.about-page .about-brief__topic span,
.about-page .about-brief__header p,
.about-page .about-stage__summary,
.about-page .about-stage__lead,
.about-page .about-stage__body,
.about-page .about-stage__note { font-size: 1rem; line-height: 1.8; text-wrap: pretty; }
.about-page .about-stage__title-main { font-size: 2.25rem; line-height: 1.35; }
.about-page .about-brief__header h2 { font-size: 1.5rem; line-height: 1.5; text-wrap: balance; }
.about-page .about-reading { margin-top: 20px; }
.about-page .about-reading a { text-underline-offset: 4px; }
@media (max-width: 699px) {
 .about-page .about-stage__title-main { font-size: 1.875rem; }
 .about-page .about-brief__header h2 { font-size: 1.375rem; }
}

.about-page details.about-brief__topic::after { content: none; }
@media (min-width: 1000px) {
 .static-page--about .about-stage__intro { min-height: 570px; }
}

.about-page .about-brief__topic summary:focus-visible { outline-offset: -2px; }

/* 首屏按短語換行，避免中文字詞在行尾被切開。 */
.about-page .about-copy-phrase {
 display: inline-block;
 white-space: nowrap;
}
.about-page .about-stage__summary,
.about-page .about-stage__body {
 text-wrap: balance;
}
.about-page .about-stage__copy { gap: 0; }


/* 關於頁將人物、觀點與聯絡入口集中在同一閱讀範圍。 */
.about-page--personal { max-width: 1000px; margin-inline: auto; }
.about-page--personal .about-stage__intro {
 display: grid;
 grid-template-columns: 280px minmax(0, 1fr);
 grid-template-rows: auto auto;
 gap: 24px 64px;
 align-items: center;
 align-content: center;
 min-height: 0;
 padding: 24px 0 40px;
 background: none;
 border: 0;
 box-shadow: none;
}
.about-page--personal .about-stage__masthead,
.about-page--personal .about-stage__copy {
 float: none; width: auto; max-width: none; margin: 0; padding: 0;
}
.about-page--personal .about-stage__masthead { grid-column: 2; grid-row: 1; align-self: end; gap: 12px; }
.about-page--personal .about-stage__copy { grid-column: 2; grid-row: 2; align-self: start; }
.about-page--personal .about-stage__storyline { display: contents; }
.about-page--personal .about-stage__rail { position: static; grid-column: 1; grid-row: 1 / 3; width: auto; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.about-page--personal .about-stage__visual { width: 100%; margin: 0; padding: 8px; background: #faf8f3; border: 1px solid #d7d5cf; box-shadow: none; border-radius: 12px; overflow: hidden; }
.about-page--personal .about-stage__visual::before,
.about-page--personal .about-stage__visual::after { content: none; }
.about-page--personal .about-stage__visual img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.about-page--personal .about-stage__visual-caption { padding: 10px 4px 2px; background: none; gap: 16px; }
.about-page--personal .about-stage__visual-caption span { background: none; border: 0; box-shadow: none; color: #43565d; }
.about-page--personal .about-stage__title-main { font-size: 2.25rem; line-height: 1.35; }
.about-page--personal .about-stage__body { padding-left: 16px; border-left: 2px solid #b6c4bf; margin: 0; color: #334148; }
.about-page--personal .about-personal-line { display: block; text-wrap: balance; }
.about-page--personal .about-stage__actions { display: flex; align-items: flex-start; margin-top: 24px; }
.about-page--personal .about-stage__actions a { width: fit-content; flex: 0 0 auto; min-height: 48px; padding: 12px 22px; font-size: 0.9375rem; box-shadow: none; border: 1px solid #365f6b; border-radius: 5px; }
.about-page--personal .about-brief { padding: 32px 0; margin: 0; min-height: 0; background: none; box-shadow: none; border: 0; border-top: 1px solid #cecec5; border-radius: 0; gap: 16px 40px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.about-page--personal .about-brief__header { gap: 10px; padding: 0; }
.about-page--personal .about-reading { margin-top: 14px; }
.about-page--personal .about-brief__topics { grid-template-columns: minmax(0, 1fr); gap: 0; width: 100%; }
.about-page--personal .about-brief__topic { border: 0; border-bottom: 1px solid #d2d5ce; padding: 0 14px; border-radius: 0; transform: none; transition: background-color 160ms ease; }
.about-page--personal .about-brief__topic[open] { background: #e5ebe6; }
.about-page--personal .about-brief__topic summary { padding: 18px 28px 18px 0; }
.about-page--personal .about-brief__topic p { padding-bottom: 16px; margin: 0; }
.about-page--personal .about-brief__topic summary:focus-visible { outline-offset: -2px; }
@media (max-width: 900px) {
 .about-page--personal .about-stage__intro { grid-template-columns: 220px minmax(0, 1fr); gap: 24px 32px; }
 .about-page--personal .about-brief { grid-template-columns: minmax(0, 1fr); }
 .about-page--personal .about-brief__header,
 .about-page--personal .about-brief__topics { grid-column: 1; }
}
@media (max-width: 599px) {
 .about-page--personal .about-stage__intro { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 16px 12px 28px; }
 .about-page--personal .about-stage__masthead { grid-column: 1; grid-row: 1; }
 .about-page--personal .about-stage__rail { grid-column: 1; grid-row: 2; width: min(100%, 230px); justify-self: center; }
 .about-page--personal .about-stage__copy { grid-column: 1; grid-row: 3; }
 .about-page--personal .about-stage__title-main { font-size: 1.875rem; }
 .about-page--personal .about-stage__actions { margin-top: 18px; }
 .about-page--personal .about-brief { padding: 24px 12px; }
 .about-page--personal .about-copy-phrase { white-space: normal; }
}

/* 首頁介紹按句子分行，窄螢幕只在完整短語之間換行。 */
.front-page--home .home-hero .desk-masthead__intro--sentences {
 max-width: 42rem;
 font-size: 1rem;
 line-height: 1.8;
}
.desk-masthead__intro--sentences .intro-sentence {
 display: block;
 text-wrap: balance;
}
.desk-masthead__intro--sentences .intro-sentence + .intro-sentence { margin-top: 0.45rem; }
.desk-masthead__intro--sentences .intro-phrase {
 display: inline-block;
 white-space: nowrap;
}

/* 作品標題依名稱與類型分行，保留完整文字，避免字元截斷。 */
.works-page .works-board .paper-article-card--case .paper-article-card__title,
.front-page .home-section--works .paper-article-card--case .paper-article-card__title {
	display: block;
	min-height: 3.3em;
	overflow: visible;
	-webkit-line-clamp: unset;
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	line-height: 1.65;
	word-break: keep-all;
	overflow-wrap: anywhere;
	text-wrap: wrap;
}

.paper-article-card--case .case-title__name,
.paper-article-card--case .case-title__detail {
	display: block;
}

.paper-article-card--case .case-title__detail {
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* 手機內容不能依賴進場腳本；腳本延遲或失敗時仍直接顯示全部區塊。 */
@media (max-width: 699px) {
	.animate-in {
		opacity: 1 !important;
		transform: none !important;
	}

	/* 首頁第二層動效也不能成為手機內容的顯示前提。 */
	.front-page--home .home-hero .front-page-kicker,
	.front-page--home .home-hero .hand-badge,
	.front-page--home .home-hero .desk-masthead__copy h1,
	.front-page--home .home-hero .desk-masthead__intro,
	.front-page--home .home-hero .desk-masthead__actions,
	.front-page--home .home-hero .desk-masthead__portrait,
	.front-page--home .home-hero .desk-masthead__side-stack,
	.front-page--home .home-section .section-heading,
	.front-page--home .home-section .home-section__heading,
	.front-page--home .home-section .home-section__more,
	.front-page--home .home-section .service-card,
	.front-page--home .home-section .paper-article-card,
	.archive-main .paper-article-card,
	.archive-main .paper-article-card__link,
	.archive-main .paper-article-card__media,
	.archive-main .paper-article-card__body {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		visibility: visible !important;
	}

	/* Safari 行動版不能讓等高卡片以 1fr/100% 推滿父層，否則內容會被推離可視範圍。 */
	.front-page--home .home-section--works .works-board.article-board,
	.works-page .works-board.article-board {
		grid-auto-rows: auto !important;
	}

	.front-page--home .home-section--works .paper-article-card--case,
	.front-page--home .home-section--works .paper-article-card--case:nth-child(n),
	.works-page .works-board .paper-article-card--case,
	.works-page .works-board .paper-article-card--case:nth-child(n),
	.front-page--home .home-section--works .paper-article-card--case .paper-article-card__shell,
	.front-page--home .home-section--works .paper-article-card--case .paper-article-card__link,
	.works-page .works-board .paper-article-card--case .paper-article-card__shell,
	.works-page .works-board .paper-article-card--case .paper-article-card__link {
		height: auto !important;
		min-height: 0 !important;
	}

	.front-page--home .home-section--works .paper-article-card--case,
	.works-page .works-board .paper-article-card--case {
		display: block !important;
		position: relative !important;
	}

	.front-page--home .home-section--works .paper-article-card--case .paper-article-card__shell,
	.works-page .works-board .paper-article-card--case .paper-article-card__shell,
	.front-page--home .home-section--works .paper-article-card--case .paper-article-card__link,
	.works-page .works-board .paper-article-card--case .paper-article-card__link {
		display: flex !important;
		position: relative !important;
		flex-direction: column !important;
		flex: none !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.front-page--home .home-section--works .paper-article-card--case .paper-article-card__media,
	.works-page .works-board .paper-article-card--case .paper-article-card__media {
		display: block !important;
		position: relative !important;
		flex: none !important;
		width: calc(100% - 20px) !important;
		height: auto !important;
		aspect-ratio: 16 / 10 !important;
		min-height: 0 !important;
	}

	.front-page--home .home-section--works .paper-article-card--case .paper-article-card__media img,
	.works-page .works-board .paper-article-card--case .paper-article-card__media img {
		display: block !important;
		position: static !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.front-page--home .home-section--works .paper-article-card--case .paper-article-card__body,
	.works-page .works-board .paper-article-card--case .paper-article-card__body {
		display: flex !important;
		position: static !important;
		flex: none !important;
		flex-direction: column !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	/* Hero 雙按鈕於手機端上下直排，確保 48px 拇指點擊熱區與舒適左右內邊距。 */
	.front-page--home .home-hero .desk-masthead__actions {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
		width: 100% !important;
	}

	.front-page--home .home-hero .desk-masthead__actions .desktop-chip {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 48px !important;
		box-sizing: border-box !important;
		padding: 12px 18px !important;
		text-align: center !important;
	}

	/* 手機端語意短句整塊斷行，保證詞組完整性 */
	.desk-masthead__intro--sentences .intro-sentence {
		display: block !important;
		margin-bottom: 0.35rem !important;
	}

	.desk-masthead__intro--sentences .intro-phrase--lead,
	.desk-masthead__intro--sentences .intro-phrase--sub {
		display: inline-block !important;
		white-space: nowrap !important;
	}

	/* 隱藏手機版首屏飄在右上角被邊界切斷的靜態氣泡，防止遮蔽標題與產生介面破版感。 */
	.home-mascot--hero .home-mascot__bubble,
	.home-mascot--services .home-mascot__bubble {
		display: none !important;
	}

	/* 手機端微調右下角浮動按鈕邊距，避免遮蔽卡片關鍵操作。 */
	.tdetw-line-float {
		right: max(14px, env(safe-area-inset-right)) !important;
		bottom: max(76px, calc(env(safe-area-inset-bottom) + 60px)) !important;
	}

	:root .back-to-top {
		right: max(17px, calc(env(safe-area-inset-right) + 3px)) !important;
		bottom: max(14px, env(safe-area-inset-bottom)) !important;
	}
}

/* 桌面端文章單頁：將浮動吉祥物安全收合至右側邊緣，避免遮蔽延伸閱讀卡片 */
@media (min-width: 1025px) {
	.single .floating-mascot--desktop .home-mascot {
		transform: translate3d(calc(100vw - 110px), clamp(260px, 45vh, 420px), 0) scale(0.92) !important;
	}
}
