/* Hainiao — LABS-inspired editorial layout, navy corporate palette */

:root {
	--hn-navy: #1a3347;
	--hn-navy-deep: #142a3a;
	--hn-navy-soft: #2a4d66;
	--hn-slate: #3d5a73;
	--hn-bg: #f4f5f3;
	--hn-bg-white: #fafaf8;
	--hn-bg-muted: #e6eaed;
	--hn-ink: #1a3347;
	--hn-text: #3a4f5f;
	--hn-text-light: rgba(255, 255, 255, 0.72);
	--hn-accent: #4a8fb8;
	--hn-line: rgba(26, 51, 71, 0.14);
	--hn-line-light: rgba(255, 255, 255, 0.14);
	--hn-display: "Space Grotesk", "Noto Sans SC", sans-serif;
	--hn-body: "Noto Sans SC", "PingFang SC", sans-serif;
	--hn-mono: "JetBrains Mono", monospace;
	--hn-rail-w: 56px;
	--hn-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--hn-topbar-h: 64px;
}

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

html {
	scroll-behavior: smooth;
}

body.hainiao-site {
	margin: 0;
	background: var(--hn-bg-muted);
	color: var(--hn-ink);
	font-family: var(--hn-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

/* App shell */
.hn-app {
	display: flex;
	min-height: 100vh;
}

.hn-rail {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: var(--hn-rail-w);
	background: var(--hn-navy-deep);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 200;
}

.hn-rail__text {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--hn-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.45em;
	color: rgba(255, 255, 255, 0.35);
	user-select: none;
}

.hn-main {
	flex: 1;
	margin-left: var(--hn-rail-w);
	min-width: 0;
	background: var(--hn-bg-white);
}

/* Topbar */
.hn-topbar {
	position: fixed;
	top: 0;
	left: var(--hn-rail-w);
	right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--hn-topbar-h);
	padding: 0 clamp(20px, 4vw, 48px);
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background 0.35s var(--hn-ease), border-color 0.35s, color 0.35s;
}

.hn-topbar--on-hero .hn-brand__cn,
.hn-topbar--on-hero .hn-brand__en,
.hn-topbar--on-hero .hn-topbar__nav a {
	color: #fff;
}

.hn-topbar--on-hero .hn-burger span {
	background: #fff;
}

.hn-topbar.is-scrolled {
	background: rgba(250, 250, 248, 0.94);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--hn-line);
}

.hn-topbar.is-scrolled .hn-brand__cn {
	color: var(--hn-navy);
}

.hn-topbar.is-scrolled .hn-brand__en,
.hn-topbar.is-scrolled .hn-topbar__nav a {
	color: var(--hn-text);
}

.hn-topbar.is-scrolled .hn-burger span {
	background: var(--hn-navy);
}

.hn-brand {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.hn-brand__cn {
	font-family: var(--hn-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: var(--hn-navy);
}

.hn-brand__en {
	font-family: var(--hn-mono);
	font-size: 0.58rem;
	letter-spacing: 0.2em;
	color: var(--hn-slate);
}

.hn-topbar__nav {
	display: flex;
	gap: clamp(16px, 3vw, 36px);
}

.hn-topbar__nav a {
	font-family: var(--hn-body);
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--hn-text);
	transition: color 0.2s;
}

.hn-topbar__nav a:hover {
	color: var(--hn-navy);
}

.hn-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
}

.hn-burger span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--hn-navy);
}

/* Panels */
.hn-panel {
	border-bottom: 1px solid var(--hn-line);
}

.hn-panel--light {
	background: var(--hn-bg-white);
}

.hn-panel--dark {
	background: var(--hn-navy);
	color: #fff;
}

.hn-panel--muted {
	background: var(--hn-bg-muted);
}

.hn-panel__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px);
}

/* Typography */
.hn-display {
	font-family: var(--hn-display);
	font-size: clamp(3rem, 10vw, 6.5rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.03em;
	margin: 0;
	color: var(--hn-navy);
}

.hn-display--sm {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.hn-display--light {
	color: #fff;
}

.hn-meta {
	font-family: var(--hn-mono);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hn-slate);
}

.hn-panel--dark .hn-meta {
	color: rgba(255, 255, 255, 0.45);
}

.hn-lead {
	max-width: 42ch;
	margin: 20px 0 0;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--hn-text);
}

.hn-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-family: var(--hn-mono);
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hn-accent);
	transition: gap 0.25s var(--hn-ease);
}

.hn-link-arrow::after {
	content: "→";
}

.hn-link-arrow:hover {
	gap: 12px;
}

/* Hero + fullscreen carousel */
.hn-hero {
	position: relative;
}

.hn-carousel {
	width: 100%;
}

.hn-carousel__viewport {
	position: relative;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
	background: var(--hn-navy-deep);
}

.hn-hero-brand {
	position: absolute;
	z-index: 5;
	top: clamp(100px, 18vh, 160px);
	left: clamp(24px, 6vw, 80px);
	right: clamp(24px, 6vw, 80px);
	pointer-events: none;
	color: #fff;
}

.hn-hero-brand__badge {
	display: inline-block;
	margin: 0 0 20px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-family: var(--hn-mono);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
	background: rgba(0, 0, 0, 0.2);
}

.hn-hero-brand__title {
	font-family: var(--hn-display);
	font-size: clamp(3.5rem, 14vw, 9rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: 0.06em;
	margin: 0;
	text-shadow: 0 4px 48px rgba(0, 0, 0, 0.35);
}

.hn-hero-brand__en {
	margin: 16px 0 0;
	font-family: var(--hn-mono);
	font-size: clamp(0.65rem, 1.2vw, 0.85rem);
	letter-spacing: 0.45em;
	opacity: 0.7;
}

.hn-hero-brand__slogan {
	max-width: 36ch;
	margin: 20px 0 0;
	font-size: clamp(0.9rem, 1.5vw, 1.05rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.hn-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--hn-ease), visibility 1s;
	pointer-events: none;
}

.hn-carousel__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.hn-carousel__media {
	position: absolute;
	inset: 0;
}

.hn-carousel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 8s linear;
}

.hn-carousel__slide.is-active .hn-carousel__media img {
	transform: scale(1);
}

.hn-carousel__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(20, 42, 58, 0.88) 0%, rgba(20, 42, 58, 0.45) 42%, rgba(20, 42, 58, 0.15) 100%),
		linear-gradient(0deg, rgba(20, 42, 58, 0.75) 0%, transparent 45%);
	pointer-events: none;
}

.hn-carousel__slide-text {
	position: absolute;
	z-index: 3;
	left: clamp(24px, 6vw, 80px);
	bottom: clamp(120px, 16vh, 160px);
	max-width: min(520px, 80vw);
	color: #fff;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s var(--hn-ease) 0.2s, transform 0.6s var(--hn-ease) 0.2s;
}

.hn-carousel__slide.is-active .hn-carousel__slide-text {
	opacity: 1;
	transform: translateY(0);
}

.hn-caption__label {
	font-family: var(--hn-mono);
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.65;
	margin: 0 0 10px;
}

.hn-carousel__slide-text h2 {
	font-family: var(--hn-display);
	font-size: clamp(1.1rem, 2.2vw, 1.6rem);
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
}

.hn-carousel__bar {
	position: absolute;
	z-index: 6;
	left: clamp(24px, 6vw, 80px);
	right: clamp(24px, 6vw, 80px);
	bottom: clamp(28px, 5vh, 48px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.hn-carousel__progress {
	flex: 1;
	min-width: 100px;
	max-width: 280px;
	height: 2px;
	background: rgba(255, 255, 255, 0.25);
	overflow: hidden;
}

.hn-carousel__progress-fill {
	display: block;
	width: 0%;
	height: 100%;
	background: #fff;
	transition: width 0.1s linear;
}

.hn-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hn-tag {
	padding: 12px 22px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(8px);
	font-family: var(--hn-body);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: none;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	transition: all 0.25s var(--hn-ease);
}

.hn-tag:hover {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.hn-tag.is-active {
	background: #fff;
	border-color: #fff;
	color: var(--hn-navy);
}

/* Bilingual section titles */
.hn-section-title {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.hn-section-title__cn {
	font-family: var(--hn-body);
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	margin: 0;
	color: var(--hn-navy);
}

.hn-section-title__en {
	display: block;
	margin-top: 8px;
	font-family: var(--hn-mono);
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--hn-slate);
}

.hn-section-title--light .hn-section-title__cn {
	color: #fff;
}

.hn-section-title--light .hn-section-title__en {
	color: rgba(255, 255, 255, 0.5);
}

.hn-panel--dark .hn-section-title {
	margin-bottom: clamp(32px, 5vw, 48px);
}

/* Section head */
.hn-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: clamp(40px, 6vw, 64px);
}

.hn-section-head__sub {
	max-width: 36ch;
	margin: 0;
	font-size: 1rem;
	color: var(--hn-text);
	text-align: right;
	line-height: 1.65;
}

/* FLBook catalog */
.hn-catalog__lead {
	margin: 14px 0 0;
	font-family: var(--hn-body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--hn-text);
	line-height: 1.6;
}

.hn-catalog__open {
	flex-shrink: 0;
	color: var(--hn-navy);
}

.hn-catalog {
	display: grid;
	grid-template-columns: minmax(240px, 320px) 1fr;
	gap: clamp(24px, 4vw, 40px);
	align-items: start;
}

.hn-catalog__aside {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hn-catalog__cover {
	border: 1px solid var(--hn-line);
	background: var(--hn-bg-white);
	box-shadow: 12px 12px 0 var(--hn-navy);
	overflow: hidden;
}

.hn-catalog__cover img {
	width: 100%;
	aspect-ratio: 220/311;
	object-fit: cover;
}

.hn-catalog__info h3 {
	font-family: var(--hn-display);
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0 0 12px;
	color: var(--hn-navy);
}

.hn-catalog__info p {
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--hn-text);
}

.hn-catalog__hints {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hn-catalog__hints li {
	font-family: var(--hn-body);
	font-size: 0.92rem;
	letter-spacing: 0;
	color: var(--hn-text);
	padding-left: 14px;
	position: relative;
}

.hn-catalog__hints li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 1px;
	background: var(--hn-accent);
}

.hn-catalog__viewer {
	position: relative;
	min-height: clamp(520px, 72vh, 760px);
	border: 1px solid var(--hn-line);
	background: var(--hn-bg-white);
	overflow: hidden;
}

.hn-catalog__viewer::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(26, 51, 71, 0.06);
	pointer-events: none;
	z-index: 1;
}

.hn-catalog__iframe {
	display: block;
	width: 100%;
	height: clamp(520px, 72vh, 760px);
	border: 0;
	background: #fff;
}

.hn-catalog__viewer.is-loading .hn-catalog__iframe {
	opacity: 0;
}

.hn-catalog__viewer.is-loading::after {
	content: "样本册加载中…";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--hn-mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	color: var(--hn-text);
}

/* Project grid — mixed landscape / portrait */
.hn-project-track {
	position: relative;
}

.hn-project-scroll-hint,
.hn-section-head__sub--scroll {
	display: none;
	margin: 0;
	font-family: var(--hn-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	color: var(--hn-text-muted, #6b7280);
	text-align: right;
}

.hn-section-head__sub--scroll:not([hidden]) {
	display: block;
}

.hn-project-grid {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	gap: clamp(20px, 3vw, 32px);
	padding-bottom: 10px;
	scrollbar-width: thin;
	scrollbar-color: rgba(15, 35, 68, 0.28) transparent;
}

.hn-project-grid::-webkit-scrollbar {
	height: 4px;
}

.hn-project-grid::-webkit-scrollbar-thumb {
	background: rgba(15, 35, 68, 0.28);
	border-radius: 999px;
}

.hn-project-grid .hn-project {
	flex: 0 0 clamp(260px, 36vw, 380px);
	scroll-snap-align: start;
	min-width: 0;
}

.hn-project-grid .hn-project--stagger {
	margin-top: 0;
}

.hn-project {
	display: flex;
	flex-direction: column;
	gap: 20px;
	transition: opacity 0.35s var(--hn-ease), transform 0.35s var(--hn-ease);
}

.hn-project.is-hidden {
	display: none;
}

.hn-project--stagger {
	margin-top: clamp(40px, 8vw, 80px);
}

.hn-project__img {
	overflow: hidden;
	background: var(--hn-bg-muted);
}

.hn-project--landscape .hn-project__img {
	aspect-ratio: 16 / 10;
}

.hn-project--portrait .hn-project__img {
	aspect-ratio: 4 / 5;
}

.hn-project--square .hn-project__img {
	aspect-ratio: 1 / 1;
}

.hn-project__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--hn-ease);
}

.hn-project:hover .hn-project__img img {
	transform: scale(1.03);
}

.hn-project__body h3 {
	font-family: var(--hn-display);
	font-size: 1.3rem;
	font-weight: 600;
	margin: 8px 0 8px;
	color: var(--hn-navy);
}

.hn-project__body p {
	margin: 0;
	font-size: 1rem;
	color: var(--hn-text);
	line-height: 1.7;
}

.hn-project-grid__empty {
	flex: 0 0 100%;
	width: 100%;
	margin: 0;
	padding: clamp(32px, 5vw, 48px) 0;
	font-size: 1rem;
	color: var(--hn-text-muted, #6b7280);
	text-align: center;
}

/* Capabilities */
.hn-cap-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--hn-line-light);
	margin-top: clamp(32px, 5vw, 56px);
	border: 1px solid var(--hn-line-light);
}

.hn-cap-block {
	padding: clamp(28px, 4vw, 40px);
	background: var(--hn-navy);
}

.hn-cap-block__num {
	font-family: var(--hn-mono);
	font-size: 0.6rem;
	letter-spacing: 0.12em;
	opacity: 0.4;
	display: block;
	margin-bottom: 20px;
}

.hn-cap-block h3 {
	font-family: var(--hn-display);
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0 0 12px;
}

.hn-cap-block p {
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--hn-text-light);
}

.hn-cap-block__tags {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hn-cap-block__tags li {
	padding: 5px 12px;
	border: 1px solid var(--hn-line-light);
	font-family: var(--hn-body);
	font-size: 0.9rem;
	letter-spacing: 0;
	opacity: 0.85;
}

/* Specs bar */
.hn-specs {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 24px;
	padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 48px);
	max-width: 1200px;
	margin: 0 auto;
}

.hn-spec {
	text-align: center;
}

.hn-spec span {
	display: block;
	font-family: var(--hn-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	color: var(--hn-navy);
	margin-bottom: 8px;
}

.hn-spec small {
	font-family: var(--hn-body);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--hn-text);
}

/* Workflow log */
.hn-log {
	list-style: none;
	padding: 0;
	margin: clamp(32px, 5vw, 48px) 0 0;
}

.hn-log li {
	padding: clamp(24px, 4vw, 36px) 0;
	border-top: 1px solid var(--hn-line);
}

.hn-log li:last-child {
	border-bottom: 1px solid var(--hn-line);
}

.hn-log__title {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin-bottom: 10px;
}

.hn-log__idx {
	font-family: var(--hn-mono);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	color: var(--hn-accent);
}

.hn-log h3 {
	font-family: var(--hn-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
	color: var(--hn-navy);
}

.hn-log p {
	margin: 0 0 12px;
	max-width: 56ch;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--hn-text);
}

.hn-log__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hn-log__tags span {
	padding: 5px 12px;
	border: 1px solid var(--hn-line);
	font-family: var(--hn-body);
	font-size: 0.9rem;
	letter-spacing: 0;
	color: var(--hn-text);
}

/* About split */
.hn-panel--split {
	padding: 0;
	background: var(--hn-bg-white);
}

.hn-about-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 420px;
}

.hn-about-split__media {
	overflow: hidden;
}

.hn-about-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hn-about-split__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(40px, 6vw, 80px);
}

.hn-about-split__text p:not(.hn-meta) {
	margin: 20px 0 32px;
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--hn-text);
	max-width: 42ch;
}

.hn-about-stats {
	display: flex;
	gap: clamp(24px, 5vw, 48px);
	margin: 0;
}

.hn-about-stats div {
	border-top: 1px solid var(--hn-line);
	padding-top: 12px;
}

.hn-about-stats dt {
	font-family: var(--hn-display);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--hn-navy);
}

.hn-about-stats dd {
	margin: 6px 0 0;
	font-family: var(--hn-body);
	font-size: 0.95rem;
	letter-spacing: 0;
	color: var(--hn-text);
}

/* Contact */
.hn-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--hn-line);
	border: 1px solid var(--hn-line);
	margin-top: clamp(32px, 5vw, 48px);
}

.hn-contact-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(28px, 4vw, 40px);
	background: var(--hn-bg-white);
	transition: background 0.25s;
}

.hn-contact-card:hover {
	background: var(--hn-bg);
}

.hn-contact-card strong {
	font-family: var(--hn-display);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--hn-navy);
}

.hn-contact-card__note {
	font-size: 0.95rem;
	color: var(--hn-text);
}

.hn-link-arrow {
	font-size: 0.88rem;
}

/* Footer */
.hn-footer {
	background: var(--hn-navy-deep);
	color: rgba(255, 255, 255, 0.55);
}

.hn-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 48px);
}

.hn-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hn-footer__brand .hn-brand__cn {
	color: #fff;
	font-size: 0.9rem;
}

.hn-footer__brand .hn-brand__en {
	color: rgba(255, 255, 255, 0.4);
}

.hn-footer__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	font-family: var(--hn-mono);
	font-size: 0.58rem;
	letter-spacing: 0.06em;
}

.hn-footer__meta a:hover {
	color: #fff;
}

/* Reveal */
[data-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s var(--hn-ease), transform 0.7s var(--hn-ease);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Grid switching */
.hn-project-grid.is-filtering {
	opacity: 0.4;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.hn-hero-brand__title {
		letter-spacing: 0.04em;
	}

	.hn-carousel__slide-text {
		bottom: clamp(140px, 18vh, 180px);
	}

	.hn-catalog {
		grid-template-columns: 1fr;
	}

	.hn-catalog__aside {
		flex-direction: row;
		align-items: flex-start;
	}

	.hn-catalog__cover {
		flex: 0 0 140px;
		box-shadow: 8px 8px 0 var(--hn-navy);
	}

	.hn-cap-grid {
		grid-template-columns: 1fr;
	}

	.hn-about-split {
		grid-template-columns: 1fr;
	}

	.hn-about-split__media {
		max-height: 320px;
	}

	.hn-contact-grid {
		grid-template-columns: 1fr;
	}

	.hn-section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.hn-section-head__sub {
		text-align: left;
	}
}

@media (max-width: 768px) {
	.hn-rail {
		display: none;
	}

	.hn-main {
		margin-left: 0;
	}

	.hn-topbar {
		left: 0;
	}

	.hn-hero-brand {
		top: 88px;
		left: 20px;
		right: 20px;
	}

	.hn-hero-brand__slogan {
		font-size: 0.85rem;
	}

	.hn-carousel__slide-text {
		left: 20px;
		right: 20px;
		bottom: 150px;
	}

	.hn-carousel__bar {
		left: 20px;
		right: 20px;
	}

	.hn-catalog__aside {
		flex-direction: column;
	}

	.hn-catalog__cover {
		flex: none;
		max-width: 200px;
	}

	.hn-topbar__nav {
		display: none;
		position: fixed;
		top: var(--hn-topbar-h);
		left: 0;
		right: 0;
		flex-direction: column;
		padding: 24px;
		background: var(--hn-bg-white);
		border-bottom: 1px solid var(--hn-line);
		gap: 20px;
	}

	.hn-topbar__nav.is-open {
		display: flex;
	}

	.hn-burger {
		display: flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}

	.hn-carousel__media img {
		transform: none !important;
	}
}
