/* ========================================
   B-Craft Corporate Theme — Main Styles
   ======================================== */

/* --- Variables --- */
:root {
	--color-bg: #06080f;
	--color-bg-elevated: #0d1117;
	--color-bg-card: rgba(255, 255, 255, 0.03);
	--color-surface: #141925;
	--color-text: #e8eaed;
	--color-text-muted: #8b95a5;
	--color-orange: #ff6b35;
	--color-orange-dark: #e55a2b;
	--color-blue: #0066ff;
	--color-blue-light: #3385ff;
	--color-accent: #00d4aa;
	--color-border: rgba(255, 255, 255, 0.08);
	--color-glass: rgba(255, 255, 255, 0.05);
	--font-main: 'Noto Sans JP', 'Inter', sans-serif;
	--font-display: 'Inter', 'Noto Sans JP', sans-serif;
	--font-hero-en: 'Cormorant Garamond', Georgia, serif;
	--font-hero-jp: 'Shippori Mincho', 'Noto Serif JP', serif;
	--color-gold: #d4af37;
	--color-gold-light: #f0e2a8;
	--color-gold-deep: #a8842a;
	--header-height: 72px;
	--container-max: 1200px;
	--radius: 12px;
	--radius-lg: 20px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
	overflow-x: clip;
	max-width: 100%;
}

body {
	font-family: var(--font-main);
	background: var(--color-bg);
	color: var(--color-text);
	line-height: 1.7;
	overflow-x: clip;
	max-width: 100%;
	-webkit-font-smoothing: antialiased;
	word-break: normal;
	overflow-wrap: break-word;
	line-break: strict;
}

h1, h2, h3,
.section-title,
.hero-title,
.works-hero h1,
.works-contact-inner h2 {
	text-wrap: wrap;
	word-break: normal;
	overflow-wrap: anywhere;
	line-break: loose;
}

p,
.section-desc,
.hero-desc,
.works-hero-copy,
.works-intro-copy,
.stat-card p,
.split-content p,
.work-card-body,
.feature-list li,
li {
	text-wrap: wrap;
	word-break: normal;
	overflow-wrap: anywhere;
	line-break: loose;
}

/* --- Neon Scrollbar --- */
:root {
	--sb-a: #ff6b35;
	--sb-b: #00e5ff;
	--sb-glow: rgba(255, 107, 53, 0.75);
	--sb-glow-soft: rgba(0, 229, 255, 0.25);
	--sb-progress: 0;
}

html {
	scrollbar-width: none; /* Firefox: ネオンバーに統一 */
}

html.is-scrolling {
	scrollbar-color: var(--sb-b) rgba(8, 12, 24, 0.9);
}

*::-webkit-scrollbar {
	width: 0;
	height: 0;
}

/* Custom neon scrollbar (visual layer) */
.neon-scrollbar {
	position: fixed;
	top: 0;
	right: 0;
	width: 12px;
	height: 100vh;
	z-index: 2000;
	pointer-events: none;
	opacity: 0.92;
}

.neon-scrollbar__rail {
	position: absolute;
	inset: 8px 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow:
		inset 0 0 10px rgba(0, 229, 255, 0.12),
		0 0 12px rgba(255, 107, 53, 0.08);
	overflow: hidden;
}

.neon-scrollbar__rail::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent,
		rgba(255, 255, 255, 0.06),
		transparent
	);
	opacity: 0.5;
}

.neon-scrollbar__thumb {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 20%;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--sb-a), var(--sb-b));
	box-shadow:
		0 0 8px var(--sb-glow),
		0 0 18px var(--sb-glow),
		0 0 28px var(--sb-b),
		inset 0 0 8px rgba(255, 255, 255, 0.55);
	transform: translate3d(0, 0, 0);
	will-change: transform, background, box-shadow;
	transition: box-shadow 0.2s ease;
}

html.is-scrolling .neon-scrollbar__thumb {
	box-shadow:
		0 0 10px var(--sb-glow),
		0 0 24px var(--sb-glow),
		0 0 40px var(--sb-b),
		0 0 60px var(--sb-a),
		inset 0 0 10px rgba(255, 255, 255, 0.7);
	animation: neonScrollbarPulse 0.7s ease-in-out infinite alternate;
}

@keyframes neonScrollbarPulse {
	from {
		filter: brightness(1) saturate(1.1);
	}
	to {
		filter: brightness(1.25) saturate(1.4);
	}
}

@media (max-width: 768px) {
	.neon-scrollbar {
		width: 8px;
	}

	.neon-scrollbar__rail {
		inset: 6px 2px;
	}
}

/* --- Custom page TOP button --- */
.bcraft-page-top {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 1500;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
		rgba(10, 14, 24, 0.72);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 107, 53, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(16px) scale(0.92);
	transition:
		opacity 0.35s ease,
		visibility 0.35s ease,
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.bcraft-page-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.bcraft-page-top__glow {
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background: linear-gradient(135deg, var(--sb-a, #ff6b35), var(--sb-b, #00e5ff));
	opacity: 0.35;
	filter: blur(10px);
	z-index: -1;
	transition: opacity 0.3s ease;
}

.bcraft-page-top__icon {
	display: flex;
	color: var(--sb-a, #ff6b35);
	filter: drop-shadow(0 0 8px var(--sb-glow, rgba(255, 107, 53, 0.7)));
	transition: transform 0.3s ease, color 0.3s ease;
}

.bcraft-page-top__label {
	font-family: var(--font-display);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1;
	padding-left: 0.22em;
	color: rgba(255, 255, 255, 0.92);
}

.bcraft-page-top:hover {
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow:
		0 14px 36px rgba(0, 0, 0, 0.4),
		0 0 24px var(--sb-glow, rgba(255, 107, 53, 0.45)),
		0 0 40px rgba(0, 229, 255, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transform: translateY(-3px) scale(1.03);
}

.bcraft-page-top:hover .bcraft-page-top__glow {
	opacity: 0.6;
}

.bcraft-page-top:hover .bcraft-page-top__icon {
	transform: translateY(-2px);
	color: #fff;
}

.bcraft-page-top:active {
	transform: translateY(0) scale(0.98);
}

.bcraft-page-top:focus-visible {
	outline: 2px solid var(--sb-b, #00e5ff);
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.bcraft-page-top {
		right: 16px;
		bottom: 16px;
		width: 56px;
		height: 56px;
		border-radius: 16px;
	}
}

/* Hide leftover / third-party BACK TO TOP controls */
#back-to-top:not(.bcraft-page-top),
.back-to-top:not(.bcraft-page-top),
.backtotop,
.scroll-to-top,
.scrollup,
#toTop,
.cd-top,
.progress-wrap,
#wpfront-scroll-top-container,
.wpfront-scroll-top,
button#wpfront-scroll-top-container {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* --- Images / Video --- */
img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

ul { list-style: none; }

.container {
	max-width: var(--container-max);
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}

.hide-mobile { display: inline; }
.show-mobile { display: none; }

/* --- Header --- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-height);
	transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
	background: rgba(6, 8, 15, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 24px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
	min-width: 0;
}

.site-logo-badge {
	position: relative;
	display: block;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 14px;
	background: transparent;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.25),
		0 8px 18px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.08);
	transform: translateZ(0);
	transition: transform var(--transition), box-shadow var(--transition);
}

.site-logo-badge-face {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 7px;
	box-sizing: border-box;
	border-radius: inherit;
	overflow: hidden;
	background: #ffffff;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.55) inset,
		0 -1px 0 rgba(0, 0, 0, 0.1) inset;
}

.site-logo-badge-face::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.5) 0%,
		rgba(255, 255, 255, 0) 40%,
		rgba(0, 0, 0, 0.08) 100%
	);
}

.site-logo:hover .site-logo-badge {
	transform: translateY(-1px);
	box-shadow:
		0 4px 8px rgba(0, 0, 0, 0.28),
		0 12px 24px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 107, 53, 0.25);
}

.site-logo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0;
}

.site-logo-badge--footer {
	width: 60px;
	height: 60px;
	border-radius: 16px;
}

.site-logo-badge--footer .site-logo-badge-face {
	padding: 8px;
}

.site-logo-name {
	font-family: var(--font-main);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--color-text);
	line-height: 1.35;
	white-space: nowrap;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.logo-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--color-orange), var(--color-blue));
	border-radius: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: #fff;
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: 0.02em;
}

.logo-sub {
	font-size: 0.625rem;
	color: var(--color-text-muted);
	letter-spacing: 0.05em;
}

.site-nav .nav-list {
	display: flex;
	gap: 8px;
}

.site-nav .nav-list a {
	padding: 8px 16px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text-muted);
	border-radius: 8px;
	transition: color var(--transition), background var(--transition);
}

.site-nav .nav-list a:hover {
	color: var(--color-text);
	background: var(--color-glass);
}

.nav-toggle {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
}

.nav-toggle span {
	position: absolute;
	left: 50%;
	top: 50%;
	display: block;
	width: 24px;
	height: 2px;
	margin-left: -12px;
	background: var(--color-text);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

.nav-toggle span:nth-child(1) {
	transform: translateY(-7px);
}

.nav-toggle span:nth-child(2) {
	transform: translateY(0);
}

.nav-toggle span:nth-child(3) {
	transform: translateY(7px);
}

.nav-toggle.active span:nth-child(1) {
	transform: translateY(0) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
	transform: translateY(0) rotate(-45deg);
}

/* --- Hero --- */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-fallback {
	position: absolute;
	inset: 0;
	background: var(--color-bg);
}

.hero-fallback-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 60px 60px;
	animation: gridMove 20s linear infinite;
}

.hero-fallback-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.4;
	animation: glowPulse 8s ease-in-out infinite;
}

.hero-fallback-glow--1 {
	width: 500px;
	height: 500px;
	background: var(--color-orange);
	top: 20%;
	left: 10%;
}

.hero-fallback-glow--2 {
	width: 400px;
	height: 400px;
	background: var(--color-blue);
	bottom: 10%;
	right: 15%;
	animation-delay: -4s;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 50% 42%, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 55%, transparent 75%),
		linear-gradient(
			180deg,
			rgba(6, 8, 15, 0.35) 0%,
			rgba(6, 8, 15, 0.18) 40%,
			rgba(6, 8, 15, 0.45) 70%,
			rgba(6, 8, 15, 0.88) 100%
		);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 24px;
	max-width: 920px;
}

.hero-eyebrow {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0 auto 28px;
}

.hero-eyebrow-text {
	font-family: var(--font-hero-en);
	font-size: clamp(0.95rem, 1.6vw, 1.125rem);
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-eyebrow::after {
	content: '';
	display: block;
	width: 56px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

.hero-title {
	font-family: var(--font-hero-jp);
	font-size: clamp(1.85rem, 4.8vw, 3.4rem);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.08em;
	margin-bottom: 28px;
	color: #f7f3ea;
	text-shadow:
		0 2px 24px rgba(0, 0, 0, 0.55),
		0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-title-lead {
	display: block;
	font-size: 0.72em;
	font-weight: 400;
	letter-spacing: 0.14em;
	color: rgba(247, 243, 234, 0.88);
	margin-bottom: 0.35em;
}

.hero-title-main {
	display: block;
}

.hero-title-line {
	display: inline;
}

.hero-title-accent {
	display: inline;
	position: relative;
	font-weight: 700;
	background: linear-gradient(
		105deg,
		#fff8e7 0%,
		#ffe9a8 22%,
		#ffd700 48%,
		#fff1c2 72%,
		#e8c547 100%
	);
	background-size: 200% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	-webkit-text-stroke: 0.5px rgba(255, 248, 231, 0.35);
	animation: goldShimmer 6s ease-in-out infinite;
	filter:
		drop-shadow(0 0 1px rgba(0, 0, 0, 0.95))
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9))
		drop-shadow(0 2px 8px rgba(0, 0, 0, 0.75))
		drop-shadow(0 0 14px rgba(255, 215, 0, 0.35));
}

@keyframes goldShimmer {
	0%, 100% { background-position: 0% center; }
	50% { background-position: 100% center; }
}

.hero-desc {
	font-size: clamp(0.9rem, 1.7vw, 1.05rem);
	font-weight: 400;
	color: rgba(232, 234, 237, 0.78);
	margin: 0 auto 40px;
	max-width: 640px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-scroll {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(240, 226, 168, 0.7);
	font-family: var(--font-hero-en);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	z-index: 2;
}

.hero-scroll-line {
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, var(--color-gold), transparent);
	animation: scrollLine 2s ease-in-out infinite;
}

/* --- Buttons --- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	font-family: var(--font-main);
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 50px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--transition);
}

.btn-primary {
	background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
	color: #fff;
	box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn-outline {
	background: transparent;
	color: var(--color-text);
	border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
	border-color: var(--color-blue);
	color: var(--color-blue-light);
	background: rgba(0, 102, 255, 0.08);
}

.btn-outline--orange:hover {
	border-color: var(--color-orange);
	color: var(--color-orange);
	background: rgba(255, 107, 53, 0.08);
}

.btn-lg {
	padding: 18px 36px;
	font-size: 1rem;
}

/* --- Sections --- */
.section {
	padding: 120px 0;
	position: relative;
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 64px;
}

.section-label {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 16px;
}

.section-label--orange { color: var(--color-orange); }
.section-label--blue { color: var(--color-blue-light); }

.section-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.4;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.section-desc {
	color: var(--color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.8;
}

/* --- About --- */
.about {
	background: var(--color-bg-elevated);
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.stat-card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 40px 32px;
	min-width: 0;
	max-width: 100%;
	transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
	transform: translateY(-4px);
	border-color: rgba(212, 175, 55, 0.3);
}

.stat-number {
	display: block;
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-deep));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 8px;
}

.stat-label {
	display: block;
	font-weight: 700;
	font-size: 1.125rem;
	margin-bottom: 12px;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.35;
}

.stat-card p {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.75;
	overflow-wrap: anywhere;
	word-break: normal;
}

/* --- Split Layout --- */
.split-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.split-layout--reverse .split-visual { order: 2; }
.split-layout--reverse .split-content { order: 1; }

.visual-card {
	position: relative;
	aspect-ratio: 4/3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.visual-card--sign {
	background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
	border: 1px solid rgba(255, 107, 53, 0.2);
}

.visual-card--digital {
	background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 102, 255, 0.05));
	border: 1px solid rgba(0, 102, 255, 0.2);
}

.visual-card--slideshow {
	display: block;
	background: var(--color-surface);
	cursor: pointer;
}

.visual-card--slideshow:focus-visible {
	outline: 2px solid rgba(212, 175, 55, 0.7);
	outline-offset: 3px;
}

.visual-slideshow {
	position: absolute;
	inset: 0;
}

.visual-slideshow__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.visual-slideshow__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.visual-slideshow__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.visual-card--slideshow::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	content: '';
	background: linear-gradient(180deg, transparent 55%, rgba(6, 8, 15, 0.45) 100%);
	pointer-events: none;
}

.visual-slideshow__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.visual-slideshow__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: transform var(--transition), background var(--transition), width var(--transition);
}

.visual-slideshow__dot.is-active {
	width: 22px;
	border-radius: 999px;
	background: var(--color-gold-light);
}

.visual-slideshow__dot:hover,
.visual-slideshow__dot:focus-visible {
	background: rgba(240, 226, 168, 0.85);
	outline: none;
}

.visual-icon {
	color: var(--color-text);
	opacity: 0.8;
}

.visual-icon svg {
	width: 120px;
	height: 120px;
}

.visual-pattern {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		45deg,
		transparent,
		transparent 10px,
		rgba(255, 107, 53, 0.03) 10px,
		rgba(255, 107, 53, 0.03) 20px
	);
}

.visual-grid-lines {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
	background-size: 30px 30px;
}

.feature-list {
	margin: 32px 0;
	min-width: 0;
	max-width: 100%;
}

.feature-list li {
	position: relative;
	padding: 12px 0 12px 28px;
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
	border-bottom: 1px solid var(--color-border);
	overflow-wrap: anywhere;
	word-break: normal;
}

.feature-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1.15em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-orange);
}

.digital-section .feature-list li::before {
	background: var(--color-blue);
}

/* --- Smart Drive --- */
.smart-drive-section {
	background: var(--color-bg-elevated);
}

.smart-drive-card {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border);
}

.smart-drive-glow {
	position: absolute;
	top: -50%;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(0, 212, 170, 0.15), transparent 70%);
	pointer-events: none;
}

.smart-drive-inner {
	position: relative;
	padding: 64px;
	text-align: center;
}

.smart-drive-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 24px;
}

.badge-new {
	background: var(--color-accent);
	color: var(--color-bg);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 50px;
	letter-spacing: 0.05em;
}

.badge-label {
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.smart-drive-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	margin-bottom: 20px;
}

.text-gradient {
	background: linear-gradient(135deg, var(--color-accent), var(--color-blue-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.smart-drive-desc {
	max-width: 640px;
	margin: 0 auto 48px;
	color: var(--color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.8;
}

.smart-drive-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}

.sd-feature {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px 24px;
	transition: transform var(--transition), border-color var(--transition);
}

.sd-feature:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 212, 170, 0.3);
}

.sd-feature-icon {
	font-size: 2rem;
	margin-bottom: 16px;
}

.sd-feature h3 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.sd-feature p {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	line-height: 1.6;
}

.smart-drive-apps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	max-width: 900px;
	margin: 0 auto 40px;
	padding: 0;
	list-style: none;
}

.smart-drive-apps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(0, 212, 170, 0.08);
	border: 1px solid rgba(0, 212, 170, 0.2);
	border-radius: 50px;
	padding: 8px 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-text);
}

.smart-drive-apps li span {
	font-weight: 400;
	color: var(--color-text-muted);
	font-size: 0.75rem;
}

.smart-drive-apps li span::before {
	content: '—';
	margin-right: 6px;
	opacity: 0.5;
}

.smart-drive-cta {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.smart-drive-cta .btn-primary {
	background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-deep));
	color: var(--color-bg);
	box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.smart-drive-cta .btn-primary:hover {
	box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.smart-drive-cta .btn-outline:hover {
	border-color: var(--color-gold);
	color: var(--color-gold-light);
	background: rgba(212, 175, 55, 0.08);
}

/* --- Services --- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.service-card {
	display: block;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 40px 32px;
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.15);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.service-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.service-card p {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.75;
	letter-spacing: 0.02em;
	margin-bottom: 20px;
	line-break: loose;
	word-break: normal;
	overflow-wrap: anywhere;
	text-wrap: wrap;
}

.service-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-gold);
}

/* --- CTA --- */
.cta-section {
	padding-bottom: 160px;
}

.cta-box {
	text-align: center;
	background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 102, 255, 0.1));
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 64px 48px;
}

.cta-box h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin-bottom: 16px;
}

.cta-box p {
	color: var(--color-text-muted);
	margin-bottom: 32px;
}

.cta-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-actions .btn-primary {
	background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-deep));
	color: var(--color-bg);
	box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cta-actions .btn-primary:hover {
	box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.cta-actions .btn-outline:hover {
	border-color: var(--color-gold);
	color: var(--color-gold-light);
	background: rgba(212, 175, 55, 0.08);
}

/* --- Footer --- */
.site-footer {
	background: var(--color-bg-elevated);
	border-top: 1px solid var(--color-border);
	padding: 80px 0 0;
}

.footer-grid {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
	gap: 48px;
}

.footer-tagline {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.footer-info h3,
.footer-links h3,
.footer-partner h3 {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
	margin-bottom: 20px;
}

.footer-info dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 16px;
	font-size: 0.875rem;
}

.footer-info dt {
	color: var(--color-text-muted);
	font-weight: 500;
}

.footer-info dd a:hover {
	color: var(--color-gold);
}

.footer-links ul li {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	padding: 4px 0;
}

.footer-qualification {
	margin-top: 16px;
}

.badge {
	display: inline-block;
	background: rgba(212, 175, 55, 0.15);
	color: var(--color-gold-light);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 50px;
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-partner .partner-logo {
	display: block;
	width: 100%;
	max-width: 120px;
	height: auto;
	margin: 0 0 12px;
	padding: 6px 8px;
	border-radius: 8px;
	background: #fff;
	box-shadow:
		0 3px 10px rgba(0, 0, 0, 0.22),
		0 0 0 1px rgba(255, 255, 255, 0.08);
	object-fit: contain;
}

.footer-partner .partner-name {
	font-weight: 700;
	font-size: 0.9375rem;
	margin-bottom: 8px;
}

.footer-partner .partner-desc,
.footer-partner .partner-address {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	line-height: 1.7;
}

.footer-bottom {
	margin-top: 64px;
	padding: 24px;
	text-align: center;
	border-top: 1px solid var(--color-border);
	font-size: 0.8125rem;
	color: var(--color-text-muted);
}

/* --- Page Template --- */
.page-section {
	padding-top: calc(var(--header-height) + 64px);
	min-height: 60vh;
}

.page-content {
	color: var(--color-text-muted);
	line-height: 1.8;
}

.page-content h2,
.page-content h3 {
	color: var(--color-text);
	margin: 32px 0 16px;
}

.page-content p {
	margin-bottom: 16px;
}

.page-content a {
	color: var(--color-orange);
}

.page-content a:hover {
	text-decoration: underline;
}

/* --- Works Page --- */
.works-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-height) + 120px) 0 120px;
	background:
		linear-gradient(90deg, rgba(6, 8, 15, 0.96) 0%, rgba(6, 8, 15, 0.72) 58%, rgba(6, 8, 15, 0.88) 100%),
		url('https://images.unsplash.com/photo-1524230572899-a752b3835840?auto=format&fit=crop&w=2000&q=85') center/cover;
}

.works-hero--digital {
	background:
		linear-gradient(105deg, rgba(6, 8, 15, 0.96) 0%, rgba(6, 8, 15, 0.7) 55%, rgba(6, 8, 15, 0.88) 100%),
		url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=2000&q=85') center/cover;
}

.works-hero::after {
	position: absolute;
	right: 5%;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(212, 175, 55, 0.18);
	border-radius: 50%;
	content: '';
	box-shadow: 0 0 0 70px rgba(212, 175, 55, 0.03), 0 0 0 140px rgba(212, 175, 55, 0.02);
}

.works-hero .container {
	position: relative;
	z-index: 1;
}

.works-eyebrow {
	margin-bottom: 20px;
	color: var(--color-gold);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
}

.works-hero h1 {
	max-width: 820px;
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 4.5vw, 3.75rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.works-hero--service h1 {
	max-width: 720px;
	font-size: clamp(2rem, 4vw, 3.15rem);
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.works-hero h1 span {
	color: var(--color-gold-light);
}

.works-hero-copy {
	max-width: 680px;
	margin-top: 28px;
	color: rgba(232, 234, 237, 0.78);
	font-size: clamp(0.95rem, 1.4vw, 1.0625rem);
	line-height: 1.9;
}

.works-hero--service .works-hero-copy {
	margin-top: 24px;
	font-size: clamp(0.92rem, 1.3vw, 1.02rem);
	line-height: 1.85;
}

.works-hero-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 48px;
	color: rgba(240, 226, 168, 0.7);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.works-hero-meta i {
	width: 28px;
	height: 1px;
	background: rgba(212, 175, 55, 0.35);
}

.works-intro {
	background: var(--color-bg-elevated);
}

.works-intro-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 80px;
	align-items: end;
	min-width: 0;
}

.works-intro-grid > * {
	min-width: 0;
	max-width: 100%;
}

.works-intro-copy {
	padding-bottom: 8px;
	color: var(--color-text-muted);
	line-height: 2;
	overflow-wrap: anywhere;
}

.works-gallery {
	background:
		linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 64px 64px;
}

.works-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 56px;
}

.works-filters {
	margin: -24px 0 40px;
}

.works-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.works-filter-tab {
	padding: 10px 18px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-text-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.works-filter-tab:hover,
.works-filter-tab:focus-visible {
	border-color: rgba(212, 175, 55, 0.45);
	color: var(--color-gold-light);
	outline: none;
}

.works-filter-tab.is-active {
	border-color: rgba(212, 175, 55, 0.55);
	background: rgba(212, 175, 55, 0.12);
	color: var(--color-gold-light);
}

.works-filter-desc {
	margin-top: 14px;
	color: var(--color-text-muted);
	font-size: 0.875rem;
	line-height: 1.7;
}

.works-empty {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
}

.work-card.is-filtered-out {
	display: none;
}

.work-card-dept {
	margin-bottom: 8px;
	color: var(--color-gold);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.work-card-media {
	display: grid;
	gap: 10px;
}

.work-card-main {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.work-card-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.work-card-thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 0 2px 2px;
	scrollbar-width: thin;
}

.work-card-thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: var(--color-surface);
	cursor: pointer;
	opacity: 0.72;
	transition: opacity var(--transition), border-color var(--transition);
}

.work-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.work-card-thumb.is-active,
.work-card-thumb:hover,
.work-card-thumb:focus-visible {
	opacity: 1;
	border-color: rgba(212, 175, 55, 0.7);
	outline: none;
}

.work-card-thumb.is-video {
	display: grid;
	place-items: center;
	background: #121722;
}

.work-card-thumb.is-video img {
	grid-area: 1 / 1;
}

.work-card-thumb-video {
	grid-area: 1 / 1;
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: var(--color-gold-light);
	font-size: 0.75rem;
	line-height: 1;
}

.work-lightbox__video {
	max-width: 100%;
	max-height: 78vh;
	background: #000;
}

.work-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: grid;
	place-items: center;
}

.work-lightbox[hidden] {
	display: none;
}

.work-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 6, 12, 0.88);
}

.work-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(92vw, 1100px);
	max-height: 88vh;
	display: grid;
	place-items: center;
}

.work-lightbox__media {
	width: 100%;
	display: grid;
	place-items: center;
	min-height: 0;
}

.work-lightbox__image,
.work-lightbox__video {
	grid-area: 1 / 1;
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	background: #000;
}

.work-lightbox__image[hidden],
.work-lightbox__video[hidden] {
	display: none !important;
}

.work-lightbox__close,
.work-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	cursor: pointer;
}

.work-lightbox__close {
	top: -8px;
	right: -8px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.4rem;
}

.work-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1.6rem;
}

.work-lightbox__nav--prev { left: -8px; }
.work-lightbox__nav--next { right: -8px; }

.work-lightbox__counter {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
}

.works-heading > p {
	max-width: 440px;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	line-height: 1.8;
	text-align: right;
}

.works-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px 32px;
	width: 100%;
	max-width: 100%;
}

.work-card {
	min-width: 0;
	max-width: 100%;
}

.work-card--featured {
	grid-column: 1 / -1;
}

.work-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--color-surface);
}

.work-card--featured .work-card-image {
	aspect-ratio: 2.25 / 1;
}

.work-card-image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(6, 8, 15, 0.72));
	content: '';
	pointer-events: none;
}

.work-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.work-card-image-placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(255, 255, 255, 0.04));
}

.work-card:hover .work-card-image img {
	transform: scale(1.035);
}

.work-card-number,
.work-card-category {
	position: absolute;
	z-index: 1;
	bottom: 20px;
}

.work-card-number {
	left: 24px;
	color: var(--color-gold-light);
	font-family: var(--font-display);
	font-size: 1.5rem;
}

.work-card-category {
	right: 20px;
	padding: 7px 12px;
	border: 1px solid rgba(240, 226, 168, 0.38);
	background: rgba(6, 8, 15, 0.62);
	color: var(--color-gold-light);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	backdrop-filter: blur(8px);
}

.work-card-body {
	padding: 24px 4px 0;
	min-width: 0;
	max-width: 100%;
}

.work-card-body h3 {
	margin-bottom: 18px;
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 600;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.work-card-body dl {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 36px;
	padding-top: 16px;
	border-top: 1px solid var(--color-border);
	min-width: 0;
	max-width: 100%;
}

.work-card-body dl div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	min-width: 0;
	max-width: 100%;
}

.work-card-body dt {
	flex-shrink: 0;
	color: var(--color-gold-deep);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.work-card-body dd {
	min-width: 0;
	flex: 1 1 0;
	color: var(--color-text-muted);
	font-size: 0.78rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.works-process {
	background: var(--color-bg-elevated);
}

.process-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--color-border);
	list-style: none;
}

.process-list li {
	position: relative;
	padding: 32px 28px 0;
	border-left: 1px solid var(--color-border);
}

.process-list li:last-child {
	border-right: 1px solid var(--color-border);
}

.process-list span {
	display: block;
	margin-bottom: 32px;
	color: var(--color-gold);
	font-family: var(--font-display);
	font-size: 2rem;
}

.process-list h3 {
	margin-bottom: 12px;
	font-size: 1rem;
}

.process-list p {
	color: var(--color-text-muted);
	font-size: 0.82rem;
	line-height: 1.8;
}

.works-contact {
	background: var(--color-bg);
}

.works-contact-inner {
	padding: 80px 48px;
	border: 1px solid rgba(212, 175, 55, 0.22);
	background:
		radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.12), transparent 30%),
		var(--color-bg-card);
	text-align: center;
}

.works-contact-inner h2 {
	margin-bottom: 20px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 500;
	line-height: 1.3;
}

.works-contact-inner > p:not(.works-eyebrow) {
	color: var(--color-text-muted);
}

.works-contact-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 36px;
	flex-wrap: wrap;
}

.works-contact-actions .btn-primary {
	background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-deep));
	color: var(--color-bg);
	box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.works-contact-actions .btn-outline:hover {
	border-color: var(--color-gold);
	background: rgba(212, 175, 55, 0.08);
	color: var(--color-gold-light);
}

/* --- Service Pages --- */
.works-hero--service {
	background:
		linear-gradient(100deg, rgba(6, 8, 15, 0.96) 0%, rgba(6, 8, 15, 0.74) 55%, rgba(6, 8, 15, 0.9) 100%),
		url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2000&q=85') center/cover;
}

.service-page-section {
	background: var(--color-bg);
}

.service-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.service-feature-card {
	padding: 28px 24px;
	border: 1px solid var(--color-border);
	background: var(--color-bg-card);
}

.service-feature-card span {
	display: block;
	margin-bottom: 28px;
	color: var(--color-gold);
	font-family: var(--font-display);
	font-size: 1.6rem;
}

.service-feature-card h3 {
	margin-bottom: 12px;
	font-size: 1.05rem;
}

.service-feature-card p {
	color: var(--color-text-muted);
	font-size: 0.875rem;
	line-height: 1.8;
}

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

.service-plan-card {
	padding: 36px 28px;
	border: 1px solid var(--color-border);
	background: var(--color-bg-card);
}

.service-plan-name {
	margin-bottom: 8px;
	color: var(--color-gold-light);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.service-plan-price {
	margin-bottom: 12px;
	font-size: 1.35rem;
	font-weight: 700;
}

.service-plan-desc {
	margin-bottom: 24px;
	color: var(--color-text-muted);
	font-size: 0.875rem;
	line-height: 1.7;
}

.service-plan-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-plan-card li {
	position: relative;
	padding: 10px 0 10px 18px;
	border-top: 1px solid var(--color-border);
	color: var(--color-text-muted);
	font-size: 0.875rem;
}

.service-plan-card li::before {
	position: absolute;
	left: 0;
	top: 1.05em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-gold);
	content: '';
}

.service-faq-list {
	display: grid;
	gap: 12px;
}

.service-faq-item {
	border: 1px solid var(--color-border);
	background: var(--color-bg-card);
}

.service-faq-item summary {
	padding: 20px 24px;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

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

.service-faq-item summary::after {
	float: right;
	color: var(--color-gold);
	content: '+';
}

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

.service-faq-item p {
	padding: 0 24px 24px;
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.8;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.catalog-card {
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-bg-card);
}

.catalog-card-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.catalog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.catalog-card-category {
	position: absolute;
	right: 16px;
	bottom: 16px;
	padding: 6px 12px;
	border: 1px solid rgba(240, 226, 168, 0.38);
	background: rgba(6, 8, 15, 0.62);
	color: var(--color-gold-light);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	backdrop-filter: blur(8px);
}

.catalog-card-body {
	padding: 28px 24px 32px;
}

.catalog-card-body h3 {
	margin-bottom: 12px;
	font-size: 1.2rem;
}

.catalog-card-body > p {
	margin-bottom: 20px;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	line-height: 1.8;
}

.catalog-card-body dl {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-bottom: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--color-border);
}

.catalog-card-body dl div {
	display: flex;
	gap: 10px;
}

.catalog-card-body dt {
	color: var(--color-gold-deep);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.catalog-card-body dd {
	color: var(--color-text-muted);
	font-size: 0.78rem;
}

.btn.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.catalog-alert {
	margin: 0 0 28px;
	padding: 14px 18px;
	border: 1px solid var(--color-border);
	font-size: 0.9rem;
}

.catalog-alert--error {
	border-color: rgba(255, 107, 53, 0.45);
	background: rgba(255, 107, 53, 0.1);
	color: #ffc2ad;
}

.catalog-alert--success {
	border-color: rgba(212, 175, 55, 0.45);
	background: rgba(212, 175, 55, 0.1);
	color: var(--color-gold-light);
}

.catalog-card-image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(255, 255, 255, 0.04));
}

.catalog-card-lock {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 6px 10px;
	border: 1px solid rgba(240, 226, 168, 0.38);
	background: rgba(6, 8, 15, 0.72);
	color: var(--color-gold-light);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.catalog-password-form {
	margin-top: 4px;
}

.catalog-password-label {
	display: block;
	margin-bottom: 8px;
	color: var(--color-text-muted);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
}

.catalog-password-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.catalog-password-row input[type="password"] {
	flex: 1 1 180px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.03);
	color: var(--color-text);
}

.catalog-password-row input[type="password"]:focus {
	outline: 1px solid rgba(212, 175, 55, 0.55);
	border-color: rgba(212, 175, 55, 0.55);
}

/* --- Reveal Animation --- */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
	            transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Keyframes --- */
@keyframes gridMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(60px, 60px); }
}

@keyframes glowPulse {
	0%, 100% { opacity: 0.3; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.1); }
}

@keyframes scrollLine {
	0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
	50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
	51% { transform-origin: bottom; }
	100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.about-stats,
	.smart-drive-features {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.split-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.split-layout--reverse .split-visual { order: 0; }
	.split-layout--reverse .split-content { order: 0; }

	.works-intro-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		align-items: start;
	}

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

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

@media (max-width: 768px) {
	.hide-mobile { display: none; }
	.show-mobile { display: inline; }

	.site-logo {
		gap: 10px;
	}

	.site-logo-badge {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	.site-logo-badge-face {
		padding: 6px;
	}

	.site-logo-img {
		border-radius: 0;
	}

	.site-logo-name {
		font-size: 0.8125rem;
		letter-spacing: 0.02em;
	}

	.nav-toggle { display: flex; }

	.site-nav {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		background: rgba(6, 8, 15, 0.97);
		backdrop-filter: blur(20px);
		padding: 32px 24px;
		transform: translateX(100%);
		visibility: hidden;
		pointer-events: none;
		transition: transform var(--transition), visibility var(--transition);
	}

	.site-nav.open {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
	}

	.site-nav .nav-list {
		flex-direction: column;
		gap: 4px;
	}

	.site-nav .nav-list a {
		display: block;
		padding: 16px;
		font-size: 1.125rem;
	}

	.section { padding: 80px 0; }

	.about-stats,
	.services-grid,
	.smart-drive-features {
		grid-template-columns: 1fr;
	}

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

	.smart-drive-inner { padding: 40px 24px; }

	.cta-box { padding: 40px 24px; }

	/* ヒーロー説明など、モバイルでは1文で読みたい装飾改行のみ解除 */
	.hero-desc br.hide-mobile,
	.works-hero-copy br:not(.show-mobile),
	.footer-tagline br:not(.show-mobile) {
		display: none;
	}

	.section-title {
		font-size: clamp(1.35rem, 5.6vw, 1.85rem);
		line-height: 1.5;
		letter-spacing: 0.01em;
		max-width: 100%;
	}

	.works-intro .section-title {
		font-size: clamp(1.3rem, 5.4vw, 1.75rem);
		line-height: 1.55;
	}

	.section-desc {
		font-size: 0.95rem;
		line-height: 1.85;
		max-width: 100%;
	}

	.hero {
		height: auto;
		min-height: 100svh;
		min-height: 100dvh;
		align-items: flex-start;
		padding:
			calc(var(--header-height) + 28px)
			0
			max(72px, env(safe-area-inset-bottom, 0px) + 56px);
		box-sizing: border-box;
	}

	.hero-content {
		width: 100%;
		max-width: 100%;
		padding: 0 20px;
		margin-top: auto;
		margin-bottom: auto;
	}

	.hero-eyebrow {
		gap: 10px;
		margin-bottom: 18px;
	}

	.hero-eyebrow-text {
		font-size: 0.8rem;
		letter-spacing: 0.2em;
	}

	.hero-title {
		font-size: clamp(1.55rem, 7.2vw, 2rem);
		line-height: 1.45;
		letter-spacing: 0.04em;
		margin-bottom: 16px;
	}

	.hero-title-lead {
		font-size: 0.68em;
		letter-spacing: 0.08em;
		margin-bottom: 0.28em;
	}

	.hero-title-line {
		display: block;
	}

	.hero-desc {
		font-size: 0.875rem;
		line-height: 1.8;
		letter-spacing: 0.02em;
		margin: 0 auto 24px;
		max-width: 34em;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		width: min(100%, 280px);
		margin: 0 auto;
	}

	.hero-actions .btn {
		width: 100%;
		justify-content: center;
		padding: 13px 20px;
		font-size: 0.9rem;
	}

	/* ボタンと重ならないようモバイルでは Scroll を非表示 */
	.hero-scroll {
		display: none;
	}

	.works-hero {
		padding: calc(var(--header-height) + 80px) 0 80px;
		overflow: hidden;
	}

	.works-hero::after {
		width: min(240px, 55vw);
		height: min(240px, 55vw);
		right: -12%;
		bottom: -100px;
		box-shadow:
			0 0 0 40px rgba(212, 175, 55, 0.03),
			0 0 0 80px rgba(212, 175, 55, 0.02);
	}

	.works-hero h1 {
		font-size: clamp(1.65rem, 6.2vw, 2.2rem);
		line-height: 1.35;
		letter-spacing: 0.01em;
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.works-hero--service h1 {
		font-size: clamp(1.55rem, 5.8vw, 2rem);
		line-height: 1.4;
	}

	.works-hero-copy,
	.works-hero--service .works-hero-copy {
		margin-top: 20px;
		font-size: 0.9rem;
		line-height: 1.8;
		max-width: 100%;
	}

	.works-intro-copy {
		line-height: 1.85;
	}

	.stat-label {
		letter-spacing: 0;
		line-height: 1.4;
	}

	.about-stats {
		gap: 16px;
	}

	.stat-card {
		padding: 28px 22px;
	}

	.stat-card p {
		font-size: 0.9rem;
		line-height: 1.75;
	}

	.split-content,
	.split-content .section-title,
	.split-content .section-desc,
	.feature-list {
		min-width: 0;
		max-width: 100%;
	}

	.split-content h2,
	.split-content .section-title {
		line-height: 1.45;
	}

	.feature-list li {
		font-size: 0.9rem;
		line-height: 1.7;
		padding-right: 4px;
	}

	.works-hero-meta {
		flex-wrap: wrap;
		row-gap: 8px;
		column-gap: 8px;
		margin-top: 32px;
		font-size: 0.58rem;
		letter-spacing: 0.1em;
		max-width: 100%;
	}

	.works-hero-meta i {
		width: 16px;
	}

	.works-heading {
		display: block;
		margin-bottom: 36px;
	}

	.works-heading > p {
		margin-top: 20px;
		text-align: left;
		max-width: 100%;
	}

	.works-filters,
	.works-filter-tabs,
	.works-filter-desc {
		max-width: 100%;
	}

	.works-filter-tab {
		max-width: 100%;
		white-space: normal;
		text-align: center;
	}

	.works-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.work-card--featured {
		grid-column: auto;
	}

	.work-card--featured .work-card-image,
	.work-card-image {
		aspect-ratio: 4 / 3;
	}

	.work-card-media,
	.work-card-thumbs {
		max-width: 100%;
	}

	.work-card-body dl {
		flex-direction: column;
		gap: 12px;
	}

	.work-card-body dl div {
		width: 100%;
	}

	.process-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.process-list li,
	.process-list li:last-child {
		padding: 24px 16px 0;
		border-right: 1px solid var(--color-border);
		min-width: 0;
	}

	.process-list span {
		margin-bottom: 16px;
	}

	.works-contact-inner {
		padding: 48px 20px;
		overflow: hidden;
		max-width: 100%;
	}

	.works-contact-actions {
		width: 100%;
	}

	.works-contact-actions .btn {
		width: 100%;
		max-width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}

	.work-lightbox__dialog {
		width: min(calc(100% - 32px), 1100px);
		max-width: 100%;
		padding: 0 8px;
	}

	.work-lightbox__close {
		top: 8px;
		right: 8px;
	}

	.work-lightbox__nav--prev { left: 8px; }
	.work-lightbox__nav--next { right: 8px; }

	.footer-grid,
	.footer-brand,
	.footer-info,
	.footer-info dl,
	.footer-info dd {
		min-width: 0;
		max-width: 100%;
	}

	.footer-info dd,
	.footer-partner .partner-address,
	.footer-partner .partner-desc {
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.site-logo-name {
		white-space: normal;
	}

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

	.service-card {
		padding: 28px 22px;
	}

	.service-card p {
		font-size: 0.875rem;
		line-height: 1.7;
		margin-bottom: 16px;
	}

	.service-feature-grid,
	.service-plan-grid,
	.catalog-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) and (max-height: 700px) {
	.hero {
		padding-top: calc(var(--header-height) + 16px);
		padding-bottom: 40px;
	}

	.hero-eyebrow {
		margin-bottom: 12px;
	}

	.hero-title {
		margin-bottom: 12px;
	}

	.hero-desc {
		margin-bottom: 18px;
		font-size: 0.8125rem;
		line-height: 1.65;
	}
}

@media (max-width: 380px) {
	.hero-content {
		padding: 0 16px;
	}

	.hero-title {
		font-size: 1.4rem;
	}

	.hero-actions {
		width: 100%;
	}
}
