/*
Theme Name: 源亚小吃车
Theme URI: https://www.orimach.com/
Author: ORIMACH
Description: 面向国内小吃车、移动餐车与景区售卖设备业务的 WordPress 企业主题。
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yuanya-foodcart
*/

:root {
	--ink: #111a20;
	--ink-soft: #25323a;
	--paper: #f5f1e8;
	--paper-strong: #ebe4d6;
	--white: #ffffff;
	--orange: #e85d24;
	--orange-dark: #bd4112;
	--yellow: #f2b544;
	--green: #44665a;
	--muted: #68747a;
	--line: rgba(17, 26, 32, 0.14);
	--shadow: 0 24px 70px rgba(17, 26, 32, 0.13);
	--site-shell: 1440px;
	--container: min(1180px, calc(100vw - 40px));
	--font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--font-display: "Noto Serif SC", "Songti SC", SimSun, serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

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

p,
h1,
h2,
h3,
h4,
ul,
ol {
	margin-top: 0;
}

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

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid rgba(232, 93, 36, 0.45);
	outline-offset: 3px;
}

.container {
	width: var(--container);
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	left: 16px;
	top: -80px;
	z-index: 9999;
	background: var(--white);
	color: var(--ink);
	padding: 10px 16px;
	box-shadow: var(--shadow);
}

.skip-link:focus {
	top: 16px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--orange);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 34px;
	height: 2px;
	background: currentColor;
	content: "";
}

.section {
	padding: 112px 0;
}

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

.section--ink {
	background: var(--ink);
	color: var(--white);
}

.section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	align-items: end;
	gap: 48px;
	margin-bottom: 48px;
}

.section-title {
	max-width: 760px;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(34px, 4.4vw, 62px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.13;
}

.section-lead {
	margin: 0;
	color: var(--muted);
	font-size: 17px;
}

.section--ink .section-lead {
	color: rgba(255, 255, 255, 0.67);
}

.button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 12px 22px;
	background: var(--orange);
	color: var(--white);
	font-weight: 800;
	line-height: 1.2;
	transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
	background: var(--orange-dark);
	transform: translateY(-2px);
}

.button--dark {
	background: var(--ink);
}

.button--dark:hover {
	background: var(--ink-soft);
}

.button--outline {
	border-color: rgba(255, 255, 255, 0.35);
	background: transparent;
	color: var(--white);
}

.button--outline:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--ink);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--orange);
	font-weight: 800;
}

.text-link::after {
	content: "→";
	transition: transform 180ms ease;
}

.text-link:hover::after {
	transform: translateX(5px);
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
}

.site-header.is-sticky .main-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 12px 34px rgba(17, 26, 32, 0.1);
	backdrop-filter: blur(12px);
}

.topbar {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}

.topbar__inner {
	display: flex;
	min-height: 38px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.topbar a {
	color: var(--white);
	font-weight: 700;
}

.main-header {
	z-index: 101;
	height: 82px;
	transition: box-shadow 180ms ease, background 180ms ease;
}

.main-header__inner {
	display: flex;
	height: 82px;
	align-items: center;
	gap: 26px;
}

.site-brand {
	display: inline-flex;
	width: 220px;
	align-items: center;
	flex: 0 0 auto;
}

.site-brand img,
.custom-logo {
	width: 100%;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 25px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	position: relative;
	display: block;
	padding: 29px 0 26px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.primary-nav a::after {
	position: absolute;
	right: 0;
	bottom: 18px;
	left: 0;
	height: 2px;
	background: var(--orange);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-action {
	min-height: 44px;
	padding: 10px 16px;
	font-size: 14px;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	content: "";
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
	position: relative;
}

.menu-toggle span::before {
	position: absolute;
	top: -6px;
}

.menu-toggle span::after {
	position: absolute;
	top: 6px;
}

.menu-open .menu-toggle span {
	background: transparent;
}

.menu-open .menu-toggle span::before {
	transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
	position: relative;
	min-height: 700px;
	overflow: hidden;
	background: #e9edea;
	color: var(--white);
}

.hero__grid {
	display: grid;
	width: 100%;
	max-width: var(--site-shell);
	min-height: 700px;
	margin-inline: auto;
	background: var(--ink);
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	padding: 82px clamp(48px, 5vw, 78px);
}

.hero__content::after {
	position: absolute;
	right: -90px;
	bottom: 40px;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	content: "";
}

.hero__inner {
	max-width: 590px;
}

.hero .eyebrow {
	color: var(--yellow);
}

.hero h1 {
	margin-bottom: 26px;
	font-family: var(--font-display);
	font-size: clamp(46px, 6vw, 82px);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 1.04;
}

.hero__lead {
	max-width: 550px;
	margin-bottom: 34px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 46px;
}

.hero__proof {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 0;
	padding: 26px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	list-style: none;
}

.hero__proof strong {
	display: block;
	margin-bottom: 3px;
	color: var(--white);
	font-size: 15px;
}

.hero__proof span {
	color: rgba(255, 255, 255, 0.52);
	font-size: 12px;
}

.hero__media {
	position: relative;
	min-width: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 26, 32, 0.28), transparent 30%);
	content: "";
}

.hero__stamp {
	position: absolute;
	right: 28px;
	bottom: 28px;
	z-index: 2;
	width: 210px;
	border-left: 4px solid var(--orange);
	padding: 16px 18px;
	background: rgba(17, 26, 32, 0.9);
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
	line-height: 1.55;
}

.hero__stamp strong {
	display: block;
	color: var(--white);
	font-size: 17px;
}

/* Product cards */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.product-card,
.news-card,
.case-card {
	position: relative;
	overflow: hidden;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover,
.news-card:hover,
.case-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-6px);
}

.product-card__media,
.case-card__media,
.news-card__media {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--paper-strong);
}

.product-card__media img,
.case-card__media img,
.news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.product-card:hover img,
.case-card:hover img,
.news-card:hover img {
	transform: scale(1.04);
}

.card-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 7px 10px;
	background: var(--orange);
	color: var(--white);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.product-card__body,
.case-card__body,
.news-card__body {
	padding: 26px;
}

.product-card h3,
.case-card h3,
.news-card h2,
.news-card h3 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: 23px;
	line-height: 1.3;
}

.product-card p,
.case-card p,
.news-card p {
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 14px;
}

.card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 14px;
	color: var(--orange);
	font-size: 12px;
	font-weight: 800;
}

/* Scenarios */
.scenario-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.scenario-card {
	min-height: 310px;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding: 34px 28px;
	transition: background 180ms ease, color 180ms ease;
}

.scenario-card:hover {
	background: var(--orange);
}

.scenario-card__number {
	display: block;
	margin-bottom: 62px;
	color: rgba(255, 255, 255, 0.36);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.scenario-card h3 {
	margin-bottom: 14px;
	font-family: var(--font-display);
	font-size: 25px;
}

.scenario-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 14px;
}

.scenario-card:hover p,
.scenario-card:hover .scenario-card__number {
	color: rgba(255, 255, 255, 0.83);
}

/* Factory */
.factory-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 80px;
	align-items: center;
}

.factory-media {
	position: relative;
	min-height: 580px;
}

.factory-media__main {
	width: calc(100% - 72px);
	height: 520px;
	object-fit: cover;
	box-shadow: var(--shadow);
}

.factory-media__detail {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 44%;
	height: 240px;
	border: 10px solid var(--paper);
	object-fit: cover;
}

.factory-copy .section-title {
	margin-bottom: 24px;
}

.factory-copy > p {
	margin-bottom: 34px;
	color: var(--muted);
	font-size: 17px;
}

.capability-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 36px;
	padding: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.capability-list li {
	position: relative;
	border-bottom: 1px solid var(--line);
	padding: 16px 12px 16px 24px;
	font-weight: 700;
}

.capability-list li::before {
	position: absolute;
	top: 26px;
	left: 0;
	width: 8px;
	height: 8px;
	background: var(--orange);
	content: "";
}

/* Process */
.process-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	margin-top: 44px;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.process-step {
	min-height: 250px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 28px 24px;
}

.process-step__number {
	display: block;
	margin-bottom: 56px;
	color: var(--orange);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.process-step h3 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: 20px;
}

.process-step p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

/* CTA and forms */
.cta-band {
	position: relative;
	overflow: hidden;
	padding: 72px 0;
	background: var(--orange);
	color: var(--white);
}

.cta-band::after {
	position: absolute;
	right: -120px;
	top: -190px;
	width: 480px;
	height: 480px;
	border: 70px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	content: "";
}

.cta-band__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.cta-band h2 {
	max-width: 720px;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 50px);
	line-height: 1.2;
}

.cta-band .button {
	background: var(--ink);
	white-space: nowrap;
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 64px;
}

.contact-panel {
	padding: 44px;
	background: var(--ink);
	color: var(--white);
}

.contact-panel h2 {
	margin-bottom: 28px;
	font-family: var(--font-display);
	font-size: 36px;
	line-height: 1.3;
}

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

.contact-list li {
	padding: 18px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list span {
	display: block;
	margin-bottom: 2px;
	color: rgba(255, 255, 255, 0.48);
	font-size: 12px;
	letter-spacing: 0.08em;
}

.contact-list a,
.contact-list strong {
	font-size: 17px;
}

.qr-card {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 28px;
}

.qr-card img {
	width: 108px;
	height: 108px;
	padding: 6px;
	background: var(--white);
}

.qr-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 13px;
}

.inquiry-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.form-field--full {
	grid-column: 1 / -1;
}

.form-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 2px;
	padding: 13px 14px;
	background: var(--white);
	color: var(--ink);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
	min-height: 150px;
	resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(232, 93, 36, 0.12);
	outline: none;
}

.form-honeypot {
	position: absolute !important;
	left: -9999px !important;
}

.form-status {
	grid-column: 1 / -1;
	margin: 0;
	border-left: 4px solid var(--green);
	padding: 12px 14px;
	background: rgba(68, 102, 90, 0.1);
}

.form-status--error {
	border-color: var(--orange);
	background: rgba(232, 93, 36, 0.08);
}

/* Page headers and content */
.page-hero {
	position: relative;
	width: 100%;
	max-width: var(--site-shell);
	overflow: hidden;
	margin-inline: auto;
	padding: 104px 0 92px;
	background: var(--ink);
	color: var(--white);
}

.page-hero::after {
	position: absolute;
	right: 6vw;
	top: 50%;
	width: 320px;
	height: 320px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
}

.page-hero h1 {
	margin-bottom: 16px;
	font-family: var(--font-display);
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.1;
}

.page-hero p {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 18px;
}

.breadcrumbs {
	border-bottom: 1px solid var(--line);
	padding: 15px 0;
	background: var(--white);
	color: var(--muted);
	font-size: 13px;
}

.breadcrumbs a:hover {
	color: var(--orange);
}

.archive-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 34px;
}

.filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.filter-list a {
	display: block;
	border: 1px solid var(--line);
	padding: 8px 13px;
	background: var(--white);
	font-size: 13px;
	font-weight: 700;
}

.filter-list a:hover,
.filter-list .is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.entry-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 64px;
	align-items: start;
}

.entry-content {
	font-size: 17px;
}

.entry-content > * {
	max-width: 780px;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2.1em;
	margin-bottom: 0.65em;
	font-family: var(--font-display);
	line-height: 1.35;
}

.entry-content h2 {
	font-size: 31px;
}

.entry-content h3 {
	font-size: 24px;
}

.entry-content p,
.entry-content li {
	color: #3f4a50;
}

.entry-content img {
	margin: 30px 0;
}

.product-faq {
	background: var(--paper-strong);
}

.faq-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.faq-item {
	border: 1px solid var(--line);
	background: var(--white);
}

.faq-item summary {
	position: relative;
	padding: 22px 58px 22px 24px;
	cursor: pointer;
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 800;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	position: absolute;
	top: 20px;
	right: 22px;
	content: "+";
	color: var(--orange);
	font-family: var(--font-body);
	font-size: 24px;
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-item p {
	margin: 0;
	border-top: 1px solid var(--line);
	padding: 18px 24px 24px;
	color: var(--muted);
}

.entry-sidebar {
	position: sticky;
	top: 112px;
}

.sidebar-card {
	margin-bottom: 22px;
	border-top: 4px solid var(--orange);
	padding: 28px;
	background: var(--white);
}

.sidebar-card h3 {
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-size: 23px;
}

.sidebar-card p {
	color: var(--muted);
	font-size: 14px;
}

.sidebar-card .button {
	width: 100%;
}

.product-hero {
	display: grid;
	width: 100%;
	max-width: var(--site-shell);
	margin-inline: auto;
	grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
	min-height: 590px;
	background: var(--ink);
	color: var(--white);
}

.product-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-hero__content {
	display: flex;
	align-items: center;
	padding: 70px clamp(44px, 5vw, 82px) 70px clamp(44px, 4vw, 64px);
}

.product-hero h1 {
	margin-bottom: 18px;
	font-family: var(--font-display);
	font-size: clamp(42px, 5vw, 66px);
	line-height: 1.1;
}

.product-hero__subtitle {
	margin-bottom: 32px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 18px;
}

.spec-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 30px;
	padding: 1px;
	background: rgba(255, 255, 255, 0.14);
	list-style: none;
}

.spec-list li {
	padding: 14px 16px;
	background: var(--ink);
}

.spec-list span {
	display: block;
	color: rgba(255, 255, 255, 0.45);
	font-size: 11px;
	letter-spacing: 0.08em;
}

.spec-list strong {
	font-size: 14px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 230px;
	gap: 18px;
}

.gallery-grid figure {
	position: relative;
	grid-column: span 4;
	margin: 0;
	overflow: hidden;
	background: var(--paper-strong);
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(4) {
	grid-column: span 8;
}

.gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.gallery-grid figure:hover img {
	transform: scale(1.035);
}

.gallery-grid figcaption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 28px 18px 14px;
	background: linear-gradient(transparent, rgba(17, 26, 32, 0.8));
	color: var(--white);
	font-size: 13px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: var(--white);
}

.pagination .current,
.pagination a:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

/* Footer */
.site-footer {
	padding: 78px 0 26px;
	background: #0b1216;
	color: rgba(255, 255, 255, 0.67);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 1fr 0.7fr;
	gap: 58px;
	padding-bottom: 56px;
}

.footer-brand img {
	width: 220px;
	margin-bottom: 20px;
	filter: brightness(0) invert(1);
}

.footer-brand p {
	max-width: 360px;
	font-size: 14px;
}

.footer-heading {
	margin-bottom: 18px;
	color: var(--white);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.footer-links,
.footer-contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links li,
.footer-contact li {
	margin-bottom: 9px;
	font-size: 13px;
}

.footer-links a:hover,
.footer-contact a:hover {
	color: var(--white);
}

.footer-qr img {
	width: 126px;
	padding: 7px;
	background: var(--white);
}

.footer-qr span {
	display: block;
	margin-top: 8px;
	font-size: 12px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 24px;
	font-size: 12px;
}

.footer-note {
	max-width: 660px;
	color: rgba(255, 255, 255, 0.4);
}

.mobile-contact-bar {
	display: none;
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.empty-state {
	grid-column: 1 / -1;
	border: 1px dashed var(--line);
	padding: 46px;
	background: rgba(255, 255, 255, 0.45);
	text-align: center;
}

@media (max-width: 1080px) {
	.primary-nav ul {
		gap: 16px;
	}

	.primary-nav a {
		font-size: 13px;
	}

	.header-action {
		display: none;
	}

	.hero__grid {
		grid-template-columns: 1fr 0.9fr;
	}

	.hero__content {
		padding-right: 48px;
	}

	.process-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1.2fr 0.8fr 1fr;
	}

	.footer-qr {
		display: none;
	}
}

@media (max-width: 900px) {
	:root {
		--container: min(100% - 32px, 760px);
	}

	.section {
		padding: 84px 0;
	}

	.topbar {
		display: none;
	}

	.main-header,
	.main-header__inner {
		height: 70px;
	}

	.site-brand {
		width: 190px;
	}

	.menu-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.primary-nav {
		position: fixed;
		top: 70px;
		right: 0;
		bottom: 0;
		left: 0;
		display: none;
		overflow-y: auto;
		margin: 0;
		padding: 22px 24px 100px;
		background: var(--white);
	}

	.menu-open .primary-nav {
		display: block;
	}

	.primary-nav ul {
		display: block;
	}

	.primary-nav a {
		border-bottom: 1px solid var(--line);
		padding: 17px 4px;
		font-size: 17px;
	}

	.primary-nav a::after {
		display: none;
	}

	.hero,
	.hero__grid {
		min-height: auto;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__content {
		min-height: 620px;
		padding: 76px 28px;
	}

	.hero__media {
		height: 520px;
	}

	.section-heading {
		grid-template-columns: 1fr;
		gap: 20px;
	}

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

	.scenario-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.factory-split,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 52px;
	}

	.entry-layout {
		grid-template-columns: 1fr;
	}

	.faq-list {
		grid-template-columns: 1fr;
	}

	.entry-sidebar {
		position: static;
	}

	.product-hero {
		grid-template-columns: 1fr;
	}

	.product-hero__media {
		height: 520px;
	}

	.product-hero__content {
		padding: 60px max(24px, calc((100vw - 760px) / 2));
	}

	.gallery-grid figure,
	.gallery-grid figure:nth-child(1),
	.gallery-grid figure:nth-child(4) {
		grid-column: span 6;
	}

	.footer-grid {
		grid-template-columns: 1.2fr 0.8fr;
	}
}

@media (max-width: 640px) {
	:root {
		--container: calc(100% - 28px);
	}

	body {
		padding-bottom: 62px;
	}

	.section {
		padding: 68px 0;
	}

	.site-brand {
		width: 172px;
	}

	.hero__content {
		min-height: 570px;
		padding: 64px 20px;
	}

	.hero h1 {
		font-size: 48px;
	}

	.hero__lead {
		font-size: 16px;
	}

	.hero__proof {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hero__proof li {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.hero__proof strong {
		margin: 0;
	}

	.hero__media {
		height: 390px;
	}

	.hero__stamp {
		right: 14px;
		bottom: 14px;
		width: 190px;
	}

	.card-grid {
		grid-template-columns: 1fr;
	}

	.scenario-grid,
	.process-grid {
		grid-template-columns: 1fr;
	}

	.scenario-card,
	.process-step {
		min-height: auto;
	}

	.scenario-card__number,
	.process-step__number {
		margin-bottom: 28px;
	}

	.factory-media {
		min-height: 430px;
	}

	.factory-media__main {
		width: calc(100% - 34px);
		height: 390px;
	}

	.factory-media__detail {
		width: 48%;
		height: 175px;
		border-width: 7px;
	}

	.capability-list {
		grid-template-columns: 1fr;
	}

	.cta-band__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.inquiry-form {
		grid-template-columns: 1fr;
	}

	.form-field--full {
		grid-column: auto;
	}

	.contact-panel {
		padding: 30px 24px;
	}

	.page-hero {
		padding: 78px 0 68px;
	}

	.page-hero p {
		font-size: 16px;
	}

	.archive-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.product-hero__media {
		height: 360px;
	}

	.product-hero__content {
		padding: 48px 20px;
	}

	.spec-list {
		grid-template-columns: 1fr;
	}

	.gallery-grid {
		grid-auto-rows: 210px;
	}

	.gallery-grid figure,
	.gallery-grid figure:nth-child(1),
	.gallery-grid figure:nth-child(4) {
		grid-column: 1 / -1;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.mobile-contact-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 999;
		display: grid;
		grid-template-columns: 1fr 1fr;
		box-shadow: 0 -8px 28px rgba(17, 26, 32, 0.18);
	}

	.mobile-contact-bar a {
		display: flex;
		height: 62px;
		align-items: center;
		justify-content: center;
		background: var(--ink);
		color: var(--white);
		font-weight: 800;
	}

	.mobile-contact-bar a:last-child {
		background: var(--orange);
	}
}

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

	.reveal {
		opacity: 1;
		transform: none;
	}
}
