/* ===================================================================
   PORTFOLIO 2026 — one-page narrative layer
   Built on the existing dark theme tokens:
   bg #0a0a0a–#121212 · cards rgba(255,255,255,0.06) · accent #00ffcc
   =================================================================== */

/* -------------------------------------------------------------
   0. MOTION PRIMITIVES (subtle, futuristic, never noisy)
   ------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }

/* Thin scroll-progress hairline — reads as instrumentation, not decoration */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, rgba(0,255,204,0) 0%, #00ffcc 60%, #fff 100%);
	z-index: 9999;
	pointer-events: none;
}

/* Accent dot with a slow sonar pulse */
.pulse-dot {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #00ffcc;
	display: inline-block;
	flex: 0 0 auto;
}
.pulse-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #00ffcc;
	animation: sonar 2.8s ease-out infinite;
}
@keyframes sonar {
	0%   { transform: scale(1);   opacity: 0.55; }
	70%  { transform: scale(3.6); opacity: 0; }
	100% { transform: scale(3.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.pulse-dot::after { animation: none; }
	.scroll-progress { display: none; }
	* { scroll-behavior: auto !important; }
}

/* -------------------------------------------------------------
   1. HERO
   ------------------------------------------------------------- */
/* .banner-one is display:flex in improved-styles.css, so the
   container shrink-wraps unless forced to full width */
.banner-one .auto-container { width: 100%; }
/* theme ships this heading centered with an 80px gap */
.banner-one_heading {
	text-align: left !important;
	margin-bottom: 30px !important;
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #00ffcc;
	margin-bottom: 26px;
}
.hero-role {
	font-size: 15px;
	letter-spacing: 0.02em;
	color: rgba(255,255,255,0.65);
	margin-bottom: 10px;
}

/* Credential strip: the three-second read */
.hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 34px 0 6px;
	border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-fact {
	flex: 1 1 210px;
	min-width: 180px;
	padding: 22px 28px 22px 0;
	border-right: 1px solid rgba(255,255,255,0.10);
	padding-right: 28px;
	margin-right: 28px;
}
.hero-fact:last-child {
	border-right: 0;
	margin-right: 0;
}
.hero-fact_v {
	display: block;
	font-size: 30px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	margin-bottom: 7px;
	letter-spacing: -0.01em;
}
.hero-fact_v em {
	font-style: normal;
	color: #00ffcc;
}
.hero-fact_k {
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255,255,255,0.58);
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 38px;
}
.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 8px;
	background: #00ffcc;
	color: #0a0a0a !important;
	font-weight: 700;
	font-size: 15px;
	border: 1px solid #00ffcc;
	transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-button:hover {
	background: transparent;
	color: #00ffcc !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0,255,204,0.18);
}
.cta-button svg { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.cta-button:hover svg { transform: translateX(5px); }

.hero-secondary-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: rgba(255,255,255,0.78) !important;
	font-size: 15px;
	font-weight: 600;
	border-bottom: 1px solid rgba(255,255,255,0.25);
	padding-bottom: 3px;
	transition: all 0.3s ease;
}
.hero-secondary-link:hover {
	color: #00ffcc !important;
	border-bottom-color: #00ffcc;
}
.hero-secondary-link i { transition: transform 0.3s ease; }
.hero-secondary-link:hover i { transform: translateX(4px); }

/* -------------------------------------------------------------
   2. ERA BEATS — the narrative connective tissue
   ------------------------------------------------------------- */
.era-divider {
	margin: 20px 0 64px;
	padding-top: 34px;
	border-top: 1px solid rgba(255,255,255,0.10);
}
.era-divider_label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #00ffcc;
	margin-bottom: 16px;
}
.era-divider h3 {
	font-size: 27px;
	line-height: 1.35;
	color: #fff;
	font-weight: 700;
	margin-bottom: 14px;
	max-width: 900px;
}
.era-divider p {
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255,255,255,0.72);
	max-width: 820px;
	margin: 0;
}

/* -------------------------------------------------------------
   3. PROJECT CARDS — image beneath, scrim + copy over one side
   ------------------------------------------------------------- */
.project-card {
	position: relative;
	display: block;
	min-height: 540px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.10);
	background: #0d0d0d;
	margin-bottom: 40px;
	isolation: isolate;
}
.project-card_bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
	z-index: 0;
	transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card_bg { transform: scale(1.035); }

/* The scrim: opaque where the text sits, clear where the product shows */
.project-card_scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg,
			rgba(10,10,10,0.97) 0%,
			rgba(10,10,10,0.94) 32%,
			rgba(10,10,10,0.72) 52%,
			rgba(10,10,10,0.25) 72%,
			rgba(10,10,10,0.05) 100%);
	transition: opacity 0.5s ease;
}
/* Mirrored variant so consecutive cards alternate */
.project-card.is-flipped .project-card_bg { object-position: center left; }
.project-card.is-flipped .project-card_scrim {
	background:
		linear-gradient(270deg,
			rgba(10,10,10,0.97) 0%,
			rgba(10,10,10,0.94) 32%,
			rgba(10,10,10,0.72) 52%,
			rgba(10,10,10,0.25) 72%,
			rgba(10,10,10,0.05) 100%);
}
/* thin accent edge that wipes in on hover */
.project-card::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, #00ffcc, rgba(0,255,204,0));
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 3;
}
.project-card:hover::after { transform: scaleX(1); }

.project-card_content {
	position: relative;
	z-index: 2;
	max-width: 50%;
	padding: 54px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 540px;
}
.project-card.is-flipped .project-card_content {
	margin-left: auto;
}

.project-eyebrow {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.52);
	margin-bottom: 14px;
}
.project-title {
	font-size: 33px;
	line-height: 1.22;
	font-weight: 700;
	margin-bottom: 16px;
}
.project-title a { color: #fff !important; transition: color 0.3s ease; }
.project-title a:hover { color: #00ffcc !important; }
.project-lede {
	font-size: 16.5px;
	line-height: 1.75;
	color: rgba(255,255,255,0.76);
	margin-bottom: 22px;
}
.project-domain-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
}
.project-domain-tags span {
	padding: 6px 14px;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: 16px;
	font-size: 12px;
	color: rgba(255,255,255,0.78);
	backdrop-filter: blur(4px);
}
.project-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 30px;
	margin-bottom: 28px;
}
.project-metric {
	font-size: 12.5px;
	line-height: 1.45;
	color: rgba(255,255,255,0.60);
	max-width: 160px;
}
.project-metric_value {
	display: block;
	font-size: 25px;
	font-weight: 700;
	color: #00ffcc;
	margin-bottom: 3px;
	letter-spacing: -0.01em;
}
.project-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 26px;
	border: 1px solid rgba(0,255,204,0.45);
	background: rgba(0,255,204,0.08);
	border-radius: 8px;
	color: #00ffcc !important;
	font-weight: 600;
	font-size: 14px;
	align-self: flex-start;
	transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-cta:hover {
	background: #00ffcc;
	color: #0a0a0a !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0,255,204,0.18);
}
.project-cta i { transition: transform 0.35s ease; }
.project-cta:hover i { transform: translateX(4px); }

/* -------------------------------------------------------------
   4. NEURONAV SPLIT (live video beside the copy)
   ------------------------------------------------------------- */
.project-split {
	display: flex;
	flex-wrap: wrap;
	gap: 52px;
	align-items: center;
	margin-bottom: 40px;
	padding: 40px;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,0.10);
	background: rgba(255,255,255,0.03);
}
.project-split_media { flex: 0 1 360px; min-width: 260px; }
.project-split_copy  { flex: 1 1 460px; min-width: 280px; }

.videoframe {
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(255,255,255,0.04);
	padding: 16px;
}
.videoframe_screen {
	border-radius: 14px;
	overflow: hidden;
	background: #000;
	position: relative;
}
.videoframe_screen.is-portrait { aspect-ratio: 9/19.5; }
.videoframe_screen.is-wide     { aspect-ratio: 16/9; }
.videoframe_screen video,
.videoframe_screen img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.videoframe_controls { display: flex; gap: 10px; margin-top: 12px; }
.videoframe_btn {
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.05);
	color: #fff;
	padding: 7px 14px;
	border-radius: 8px;
	font-size: 12.5px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.videoframe_btn:hover { border-color: rgba(0,255,204,0.5); color: #00ffcc; }
.videoframe_caption {
	font-size: 12.5px;
	line-height: 1.6;
	color: rgba(255,255,255,0.55);
	margin: 14px 2px 0;
}

/* -------------------------------------------------------------
   5. HIGHLIGHT REELS (desktop + mobile interaction videos)
   ------------------------------------------------------------- */
.reel-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}
.reel {
	flex: 1 1 420px;
	min-width: 280px;
	padding: 28px;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,0.10);
	background: rgba(255,255,255,0.03);
	transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.reel:hover { border-color: rgba(0,255,204,0.30); transform: translateY(-3px); }
.reel--mobile { flex: 0 1 340px; }
.reel_label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #00ffcc;
	margin-bottom: 14px;
}
.reel_title {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}
.reel_desc {
	font-size: 14px;
	line-height: 1.65;
	color: rgba(255,255,255,0.65);
	margin-bottom: 20px;
}

/* -------------------------------------------------------------
   6. WHERE I'VE BEEN
   ------------------------------------------------------------- */
.timeline-item {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 34px;
	align-items: baseline;
	padding: 26px 0;
	border-bottom: 1px solid rgba(255,255,255,0.10);
	transition: background 0.4s ease, padding-left 0.4s cubic-bezier(0.22,1,0.36,1);
}
.timeline-item:first-of-type { border-top: 1px solid rgba(255,255,255,0.10); }
.timeline-item:hover { padding-left: 12px; background: rgba(255,255,255,0.02); }
.timeline-num {
	flex: 0 0 60px;
	font-size: 22px;
	font-weight: 700;
	color: rgba(255,255,255,0.25);
	transition: color 0.4s ease;
}
.timeline-item:hover .timeline-num { color: #00ffcc; }
.timeline-main { flex: 1 1 380px; min-width: 240px; }
.timeline-org { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.timeline-role { font-size: 14.5px; color: rgba(255,255,255,0.62); line-height: 1.6; }
.timeline-link {
	color: #00ffcc !important;
	font-size: 13.5px;
	font-weight: 600;
	border-bottom: 1px solid rgba(0,255,204,0.4);
}

.resume-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 26px;
	margin-top: 38px;
}
.resume-btn {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 15px 30px;
	border-radius: 8px;
	background: #00ffcc;
	color: #0a0a0a !important;
	font-weight: 700;
	font-size: 15px;
	border: 1px solid #00ffcc;
	transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.resume-btn:hover {
	background: transparent;
	color: #00ffcc !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0,255,204,0.18);
}

/* -------------------------------------------------------------
   7. ABOUT PAGE
   ------------------------------------------------------------- */
.portrait-frame {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(255,255,255,0.03);
}
.portrait-frame img { width: 100%; display: block; }
.portrait-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,255,204,0) 55%, rgba(0,255,204,0.07) 100%);
	pointer-events: none;
}

/* -------------------------------------------------------------
   8. RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1199px) {
	.project-card_content { max-width: 62%; padding: 46px 38px; }
}

@media (max-width: 991px) {
	/* Stack: image on top at full opacity, copy below on solid ground */
	.project-card { min-height: 0; }
	.project-card_bg {
		position: relative;
		height: 260px;
		object-position: center;
	}
	.project-card_scrim { display: none; }
	.project-card_content,
	.project-card.is-flipped .project-card_content {
		max-width: 100%;
		min-height: 0;
		margin-left: 0;
		padding: 32px 26px 36px;
		background: #0d0d0d;
	}
	.project-split { padding: 28px; gap: 34px; }
	.hero-fact {
		border-right: 0;
		margin-right: 0;
		padding: 16px 0;
		border-bottom: 1px solid rgba(255,255,255,0.08);
		flex: 1 1 100%;
	}
	.hero-facts { flex-direction: column; }
}

@media (max-width: 767px) {
	.project-title { font-size: 25px; }
	.era-divider h3 { font-size: 22px; }
	.timeline-num { flex: 0 0 auto; }
	.hero-fact_v { font-size: 26px; }
	.reel { padding: 20px; }
}

/* -------------------------------------------------------------
   9. STICKY HEADER
   The theme's own .fixed-header rule is trapped inside a stray
   comment block in header.css, so the nav scrolled away even
   though the class was being applied. Reinstated here.
   ------------------------------------------------------------- */
.main-header {
	position: fixed !important;
	transition: padding 0.35s ease, background-color 0.35s ease !important;
}
.main-header .header-lower {
	transition: background-color 0.35s ease;
}
.main-header.fixed-header {
	padding-top: 8px;
	padding-bottom: 8px;
	min-height: 0;
	background-color: rgba(10, 10, 10, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
/* Keep the mobile drawer above the condensed bar */
.main-header .mobile-menu { z-index: 1002; }

/* Anchor targets clear the fixed bar */
#projects, #about, #contact, #experience, #home {
	scroll-margin-top: 96px;
}

/* -------------------------------------------------------------
   10. PREV / NEXT PROJECT NAVIGATION (case-study pages)
   ------------------------------------------------------------- */
.project-pager {
	/* case-study pages paint an opaque .page-wrapper.image-layer:before
	   overlay at z-index 0 — sections must sit above it */
	position: relative;
	z-index: 1;
	padding: 60px 0 10px;
	border-top: 1px solid rgba(255,255,255,0.10);
	margin-top: 40px;
}
.project-pager_grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
}
.project-pager_link {
	flex: 1 1 320px;
	min-width: 260px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 26px 30px;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	background: rgba(255,255,255,0.03);
	transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-pager_link:hover {
	border-color: rgba(0,255,204,0.40);
	background: rgba(0,255,204,0.06);
	transform: translateY(-3px);
}
.project-pager_link.is-next { text-align: right; align-items: flex-end; }
.project-pager_dir {
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #00ffcc;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.project-pager_name {
	font-size: 20px;
	font-weight: 700;
	color: #fff !important;
	line-height: 1.3;
}
.project-pager_link:hover .project-pager_name { color: #00ffcc !important; }
.project-pager_desc {
	font-size: 13.5px;
	color: rgba(255,255,255,0.58);
	line-height: 1.55;
}
.project-pager_all {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 26px 28px;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	color: rgba(255,255,255,0.80) !important;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.35s ease;
}
.project-pager_all:hover {
	border-color: rgba(0,255,204,0.40);
	color: #00ffcc !important;
}
@media (max-width: 767px) {
	.project-pager_link.is-next { text-align: left; align-items: flex-start; }
	.project-pager_link { padding: 20px 22px; }
}

/* -------------------------------------------------------------
   11. NUMBERED CASE-STUDY CHAPTERS
   Adds an "01." style chapter marker above each existing
   section heading. Purely a wrapper — no content is altered.
   ------------------------------------------------------------- */
.chapter-num {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #00ffcc;
	margin-bottom: 14px;
	position: relative;
	padding-left: 34px;
	line-height: 1;
}
.chapter-num::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 24px;
	height: 1px;
	background: rgba(0, 255, 204, 0.55);
}
@media (max-width: 767px) {
	.chapter-num { font-size: 11px; padding-left: 26px; }
	.chapter-num::before { width: 18px; }
}

/* -------------------------------------------------------------
   12. POSITIONING STATEMENT + AVAILABILITY + READER NOTE
   ------------------------------------------------------------- */
.hero-statement {
	font-size: 25px;
	line-height: 1.55;
	font-weight: 500;
	color: #fff;
	max-width: 900px;
	margin: 0 0 22px;
	letter-spacing: -0.01em;
}
.hero-statement em {
	font-style: normal;
	color: #00ffcc;
}
.availability {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	border: 1px solid rgba(0,255,204,0.35);
	background: rgba(0,255,204,0.07);
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: #00ffcc;
	margin-top: 26px;
}
.reader-note {
	max-width: 860px;
	margin: 0 0 56px;
	padding: 22px 26px;
	border-left: 2px solid rgba(0,255,204,0.45);
	background: rgba(255,255,255,0.03);
	border-radius: 0 10px 10px 0;
	font-size: 15.5px;
	line-height: 1.75;
	color: rgba(255,255,255,0.72);
}
@media (max-width: 767px) {
	.hero-statement { font-size: 20px; }
	.reader-note { padding: 18px 20px; font-size: 14.5px; }
}

/* -------------------------------------------------------------
   13. PROBLEM-SOLVING FRAME (case-study pages)
   Challenge -> Approach pairs + the principles behind them.
   ------------------------------------------------------------- */
.solving-frame {
	position: relative;
	z-index: 1;
	padding: 70px 0;
	scroll-margin-top: 96px;
}
.solving-frame_eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #00ffcc;
	margin-bottom: 16px;
}
.solving-frame_eyebrow::before {
	content: "";
	width: 24px;
	height: 1px;
	background: rgba(0,255,204,0.55);
}
.solving-frame h2.solving-frame_title {
	font-size: 32px;
	line-height: 1.25;
	color: #fff;
	margin-bottom: 14px;
}
.solving-frame_intro {
	font-size: 16.5px;
	line-height: 1.8;
	color: rgba(255,255,255,0.72);
	max-width: 860px;
	margin-bottom: 40px;
}

.solving-grid {
	display: grid;
	/* four cards read best as a clean 2x2 rather than 3 + orphan */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-bottom: 46px;
}
@media (max-width: 860px) {
	.solving-grid { grid-template-columns: 1fr; }
}
.solve-card {
	padding: 28px 28px 24px;
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 14px;
	background: rgba(255,255,255,0.03);
	transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.solve-card:hover {
	border-color: rgba(0,255,204,0.32);
	transform: translateY(-3px);
}
.solve-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.45);
	margin-bottom: 8px;
}
.solve-label.is-solution { color: #00ffcc; margin-top: 20px; }
.solve-text {
	font-size: 15px;
	line-height: 1.72;
	color: rgba(255,255,255,0.78);
	margin: 0;
}
.solve-principle {
	display: block;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.10);
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255,255,255,0.60);
}
.solve-principle strong { color: #fff; font-weight: 600; }

.principles-box {
	padding: 34px 34px 30px;
	border: 1px solid rgba(0,255,204,0.22);
	border-radius: 14px;
	background: rgba(0,255,204,0.04);
}
.principles-box h3 {
	font-size: 20px;
	color: #fff;
	margin-bottom: 8px;
}
.principles-box > p {
	font-size: 14.5px;
	line-height: 1.7;
	color: rgba(255,255,255,0.65);
	margin-bottom: 24px;
	max-width: 760px;
}
.principles-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 18px 34px;
}
.principles-list li {
	font-size: 14.5px;
	line-height: 1.65;
	color: rgba(255,255,255,0.70);
	padding-left: 18px;
	position: relative;
}
.principles-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #00ffcc;
}
.principles-list li strong {
	display: block;
	color: #fff;
	font-weight: 600;
	margin-bottom: 2px;
}
@media (max-width: 767px) {
	.solving-frame { padding: 50px 0; }
	.solving-frame h2.solving-frame_title { font-size: 25px; }
	.solve-card { padding: 22px; }
	.principles-box { padding: 24px 22px; }
}

/* -------------------------------------------------------------
   14. SAFETY NET — body background
   Every page shipped with a white <body> under the dark wrapper,
   so any markup that escapes .page-wrapper flashes white.
   ------------------------------------------------------------- */
body {
	background-color: #0e0e0e;
}
