/*
Theme Name: Issabella
Theme URI: https://github.com/issabella
Author: Issabella
Author URI: https://github.com/issabella
Description: A fully customizable theme for personal portfolio and blog. Edit everything with Elementor or the block editor. Header, footer, single, and archive are Elementor Theme Builder ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: issabella
*/

/* ==========================================================================
   TECHE DESIGN SYSTEM – Hardcoded fallbacks so design always shows.
   Override in Customizer, child theme, or Elementor via same variable names.
   ========================================================================== */

:root {
	/* Techie palette: dark base + cyan accent */
	--isabella-primary: #0f0f14;
	--isabella-secondary: #16161d;
	--isabella-accent: #22d3ee;
	--isabella-accent-dim: #0891b2;
	--isabella-background: #0f0f14;
	--isabella-foreground: #e2e8f0;
	--isabella-subtle: #94a3b8;
	--isabella-border: rgba(34, 211, 238, 0.15);
	--isabella-glow: rgba(34, 211, 238, 0.4);

	/* Typography – tech feel */
	--isabella-font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--isabella-font-mono: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
	--isabella-font-size-base: 1rem;
	--isabella-font-size-sm: 0.875rem;
	--isabella-font-size-lg: 1.25rem;
	--isabella-font-size-xl: 1.5rem;
	--isabella-font-size-2xl: 2rem;
	--isabella-font-size-3xl: 2.5rem;
	--isabella-line-height: 1.65;
	--isabella-line-height-tight: 1.25;
	--isabella-letter-spacing: -0.02em;

	/* Spacing */
	--isabella-space-1: 0.25rem;
	--isabella-space-2: 0.5rem;
	--isabella-space-3: 0.75rem;
	--isabella-space-4: 1rem;
	--isabella-space-6: 1.5rem;
	--isabella-space-8: 2rem;
	--isabella-space-12: 3rem;
	--isabella-space-16: 4rem;
	--isabella-container: min(72rem, 100% - 2rem);

	/* Radii & shadows – subtle tech */
	--isabella-radius-sm: 0.25rem;
	--isabella-radius: 0.5rem;
	--isabella-radius-lg: 0.75rem;
	--isabella-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
	--isabella-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(34, 211, 238, 0.08);
	--isabella-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(34, 211, 238, 0.1);

	/* Motion */
	--isabella-duration-fast: 0.15s;
	--isabella-duration: 0.3s;
	--isabella-duration-slow: 0.45s;
	--isabella-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--isabella-ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* Focus styles for accessibility */
:root :where(a:focus, button:focus),
:root :where(a:focus-visible, button:focus-visible) {
	outline: 2px solid var(--isabella-accent);
	outline-offset: 2px;
}

/* Base typography and smooth scrolling */
html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--isabella-font-sans);
	font-size: var(--isabella-font-size-base);
	line-height: var(--isabella-line-height);
	color: var(--isabella-foreground);
	background-color: var(--isabella-background);
	letter-spacing: var(--isabella-letter-spacing);
}

/* Global links – techie accent */
a {
	color: var(--isabella-accent);
	text-decoration: none;
	transition: color var(--isabella-duration-fast) var(--isabella-ease), box-shadow var(--isabella-duration-fast) var(--isabella-ease);
}
a:hover {
	color: var(--isabella-foreground);
}

/* Reduce motion: disable animations and use instant transitions */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   Keyframe animations (respect prefers-reduced-motion via :root duration)
   ========================================================================== */

@keyframes isabella-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes isabella-slide-up {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes isabella-scale-in {
	from {
		opacity: 0;
		transform: scale(0.98);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Apply entrance animations to main content and cards */
.site-main {
	animation: isabella-fade-in var(--isabella-duration-slow) var(--isabella-ease-out) both;
}

.blog-list .issabella-post-card,
.issabella-post {
	animation: isabella-slide-up var(--isabella-duration-slow) var(--isabella-ease-out) both;
}

.blog-list .issabella-post-card:nth-child(1) { animation-delay: 0.05s; }
.blog-list .issabella-post-card:nth-child(2) { animation-delay: 0.1s; }
.blog-list .issabella-post-card:nth-child(3) { animation-delay: 0.15s; }
.blog-list .issabella-post-card:nth-child(4) { animation-delay: 0.2s; }
.blog-list .issabella-post-card:nth-child(5) { animation-delay: 0.25s; }
.blog-list .issabella-post-card:nth-child(6) { animation-delay: 0.3s; }

.page-header {
	animation: isabella-slide-up var(--isabella-duration) var(--isabella-ease-out) both;
}

/* Scroll-triggered animation (use class .isabella-animate-on-scroll in HTML) */
.isabella-animate-on-scroll {
	opacity: 0;
	transform: translateY(1.25rem);
	transition: opacity var(--isabella-duration-slow) var(--isabella-ease-out),
		transform var(--isabella-duration-slow) var(--isabella-ease-out);
}

.isabella-animate-on-scroll.is-in-view {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered delay for blog cards and service cards */
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(9) { transition-delay: 0.45s; }
.blog-list .issabella-post-card.isabella-animate-on-scroll:nth-child(10) { transition-delay: 0.5s; }

/* ==========================================================================
   Layout: container, header, footer
   ========================================================================== */

.issabella-container {
	max-width: var(--isabella-container);
	margin: 0 auto;
	padding-left: var(--isabella-space-4);
	padding-right: var(--isabella-space-4);
}

/* Skip to content – visible on focus */
.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: var(--isabella-space-4);
	z-index: 100000;
	padding: var(--isabella-space-3) var(--isabella-space-4);
	background: var(--isabella-accent);
	color: var(--isabella-primary);
	font-weight: 600;
	border-radius: var(--isabella-radius);
	text-decoration: none;
	transition: left var(--isabella-duration-fast) var(--isabella-ease), transform var(--isabella-duration-fast) var(--isabella-ease);
}
.skip-link.screen-reader-text:focus {
	left: var(--isabella-space-4);
	outline: 2px solid var(--isabella-foreground);
	outline-offset: 2px;
}

.site-header {
	padding: var(--isabella-space-4) 0;
	border-bottom: 1px solid var(--isabella-border);
	background: rgba(15, 15, 20, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: background var(--isabella-duration) var(--isabella-ease),
		box-shadow var(--isabella-duration) var(--isabella-ease);
}

.site-header.is-scrolled {
	background: rgba(15, 15, 20, 0.92);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.site-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--isabella-space-4);
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--isabella-border);
	background: transparent;
	color: var(--isabella-foreground);
	border-radius: var(--isabella-radius);
	cursor: pointer;
	transition: background var(--isabella-duration-fast) var(--isabella-ease),
		color var(--isabella-duration-fast) var(--isabella-ease),
		border-color var(--isabella-duration-fast) var(--isabella-ease);
}
.menu-toggle:hover,
.menu-toggle:focus {
	background: var(--isabella-secondary);
	border-color: var(--isabella-accent);
	color: var(--isabella-accent);
}
.menu-toggle-icon {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
	transition: transform var(--isabella-duration) var(--isabella-ease),
		box-shadow var(--isabella-duration) var(--isabella-ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
	transform: rotate(45deg);
	box-shadow: 0 0 0 currentColor;
}

@media (max-width: 767px) {
	.menu-toggle {
		display: flex;
	}
	.main-navigation {
		position: relative;
	}
	.main-navigation .issabella-menu,
	.main-navigation .menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(15, 15, 20, 0.98);
		backdrop-filter: blur(12px);
		padding: var(--isabella-space-4);
		gap: 0;
		border-bottom: 1px solid var(--isabella-border);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	}
	.main-navigation.is-open .issabella-menu,
	.main-navigation.is-open .menu {
		display: flex;
	}
	.main-navigation .menu li {
		width: 100%;
		border-bottom: 1px solid var(--isabella-border);
	}
	.main-navigation .menu li:last-child {
		border-bottom: none;
	}
	.main-navigation .menu a {
		display: block;
		padding: var(--isabella-space-4);
	}
}
@media (min-width: 768px) {
	.main-navigation .issabella-menu,
	.main-navigation .menu {
		display: flex;
	}
}

body.issabella-menu-open {
	overflow: hidden;
}

.site-branding .site-title {
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-lg);
	font-weight: 600;
	text-decoration: none;
	color: var(--isabella-foreground);
	letter-spacing: 0.02em;
	transition: color var(--isabella-duration-fast) var(--isabella-ease);
}

.site-branding .site-title:hover {
	color: var(--isabella-accent);
}

.main-navigation ul.menu,
.main-navigation ul.issabella-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--isabella-space-6);
}

.main-navigation a {
	text-decoration: none;
	color: var(--isabella-subtle);
	font-size: var(--isabella-font-size-sm);
	font-weight: 500;
	font-family: var(--isabella-font-mono);
	position: relative;
	transition: color var(--isabella-duration-fast) var(--isabella-ease);
}

.main-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: var(--isabella-accent);
	transition: width var(--isabella-duration) var(--isabella-ease);
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--isabella-accent);
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
	width: 100%;
}

.site-footer {
	padding: var(--isabella-space-12) 0;
	margin-top: var(--isabella-space-16);
	border-top: 1px solid var(--isabella-border);
	background: var(--isabella-primary);
}

.site-footer-grid {
	display: grid;
	gap: var(--isabella-space-8);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.site-footer-grid {
		grid-template-columns: 1fr auto;
		align-items: start;
	}
}

.site-footer-brand {
	display: flex;
	flex-direction: column;
	gap: var(--isabella-space-2);
}

.site-footer-logo {
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-lg);
	font-weight: 700;
	color: var(--isabella-foreground);
	text-decoration: none;
	transition: color var(--isabella-duration-fast) var(--isabella-ease);
}

.site-footer-logo:hover {
	color: var(--isabella-accent);
}

.site-footer-tagline {
	margin: 0;
	font-size: var(--isabella-font-size-sm);
	color: var(--isabella-subtle);
}

.site-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--isabella-space-4);
}

.site-footer-nav a {
	font-size: var(--isabella-font-size-sm);
	font-family: var(--isabella-font-mono);
	color: var(--isabella-subtle);
	text-decoration: none;
	transition: color var(--isabella-duration-fast) var(--isabella-ease);
}

.site-footer-nav a:hover {
	color: var(--isabella-accent);
}

.site-footer-bottom {
	grid-column: 1 / -1;
	padding-top: var(--isabella-space-8);
	border-top: 1px solid var(--isabella-border);
	margin-top: var(--isabella-space-4);
}

.site-footer-copy {
	margin: 0;
	font-size: var(--isabella-font-size-sm);
	color: var(--isabella-subtle);
}

.site-footer a {
	color: var(--isabella-foreground);
}

.site-footer a:hover {
	color: var(--isabella-accent);
}

/* Scroll to top button */
.scroll-to-top {
	position: fixed;
	bottom: var(--isabella-space-8);
	right: var(--isabella-space-8);
	z-index: 999;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--isabella-border);
	background: rgba(15, 15, 20, 0.9);
	backdrop-filter: blur(8px);
	color: var(--isabella-accent);
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--isabella-duration) var(--isabella-ease),
		visibility var(--isabella-duration) var(--isabella-ease),
		transform var(--isabella-duration) var(--isabella-ease),
		background var(--isabella-duration-fast) var(--isabella-ease),
		border-color var(--isabella-duration-fast) var(--isabella-ease);
}
.scroll-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.scroll-to-top:hover,
.scroll-to-top:focus {
	background: var(--isabella-accent);
	color: var(--isabella-primary);
	border-color: var(--isabella-accent);
}

.site-main {
	padding: var(--isabella-space-8) 0;
	background: var(--isabella-primary);
	min-height: 50vh;
}

/* ==========================================================================
   Blog list and single post – cards with hover and transitions
   ========================================================================== */

.blog-list {
	display: grid;
	gap: var(--isabella-space-8);
}

.issabella-post-card {
	background: var(--isabella-secondary);
	border: 1px solid var(--isabella-border);
	border-radius: var(--isabella-radius);
	overflow: hidden;
	box-shadow: var(--isabella-shadow-sm);
	transition: transform var(--isabella-duration-slow) var(--isabella-ease),
		box-shadow var(--isabella-duration-slow) var(--isabella-ease),
		border-color var(--isabella-duration) var(--isabella-ease);
}

.issabella-post-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(34, 211, 238, 0.12), 0 0 24px var(--isabella-glow);
	border-color: rgba(34, 211, 238, 0.3);
}

.issabella-post-card .post-thumbnail-link {
	display: block;
	line-height: 0;
	overflow: hidden;
}

.issabella-post-card .post-thumbnail-link img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform var(--isabella-duration-slow) var(--isabella-ease);
}

.issabella-post-card:hover .post-thumbnail-link img {
	transform: scale(1.03);
}

.issabella-post-card .entry-header,
.issabella-post-card .entry-summary {
	padding: var(--isabella-space-4) var(--isabella-space-6);
}

.issabella-post-card .entry-title {
	margin: 0 0 var(--isabella-space-2);
	font-family: var(--isabella-font-serif);
	font-size: var(--isabella-font-size-lg);
	font-weight: 700;
	line-height: var(--isabella-line-height-tight);
}

.issabella-post-card .entry-title a {
	text-decoration: none;
	color: var(--isabella-foreground);
	transition: color var(--isabella-duration-fast) var(--isabella-ease);
}

.issabella-post-card .entry-title a:hover {
	color: var(--isabella-accent);
}

.issabella-post-card .entry-meta {
	font-size: var(--isabella-font-size-sm);
	color: var(--isabella-subtle);
	margin-bottom: var(--isabella-space-3);
}

.issabella-post-card .read-more {
	display: inline-block;
	margin-top: var(--isabella-space-2);
	font-weight: 500;
	color: var(--isabella-accent);
	text-decoration: none;
	transition: color var(--isabella-duration-fast) var(--isabella-ease),
		transform var(--isabella-duration-fast) var(--isabella-ease);
}

.issabella-post-card .read-more:hover {
	color: var(--isabella-primary);
	transform: translateX(4px);
}

/* Single post */
.issabella-post .entry-header {
	margin-bottom: var(--isabella-space-6);
}

.issabella-post .entry-title {
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-2xl);
	font-weight: 700;
	line-height: var(--isabella-line-height-tight);
	margin: 0 0 var(--isabella-space-2);
	color: var(--isabella-foreground);
}

.issabella-post .entry-meta {
	font-size: var(--isabella-font-size-sm);
	color: var(--isabella-subtle);
	margin-bottom: var(--isabella-space-4);
}

.issabella-post .post-thumbnail {
	margin-bottom: var(--isabella-space-6);
	border-radius: var(--isabella-radius);
	overflow: hidden;
	box-shadow: var(--isabella-shadow);
}

.issabella-post .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.issabella-post .entry-content a {
	color: var(--isabella-accent);
	text-decoration: none;
	transition: color var(--isabella-duration-fast) var(--isabella-ease);
}

.issabella-post .entry-content a:hover {
	color: var(--isabella-primary);
	text-decoration: underline;
}

/* Pagination */
.site-main .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--isabella-space-2);
	justify-content: center;
	margin-top: var(--isabella-space-12);
}

.site-main .nav-links a,
.site-main .nav-links span {
	padding: var(--isabella-space-2) var(--isabella-space-4);
	border-radius: var(--isabella-radius-sm);
	text-decoration: none;
	color: var(--isabella-foreground);
	background: var(--isabella-background);
	border: 1px solid var(--isabella-border);
	transition: background var(--isabella-duration-fast) var(--isabella-ease),
		color var(--isabella-duration-fast) var(--isabella-ease),
		border-color var(--isabella-duration-fast) var(--isabella-ease);
}

.site-main .nav-links a:hover {
	background: var(--isabella-accent);
	color: var(--isabella-primary);
	border-color: var(--isabella-accent);
}

.site-main .nav-links .current {
	background: var(--isabella-accent);
	color: var(--isabella-primary);
	border-color: var(--isabella-accent);
}

/* Page header and titles */
.page-header {
	margin-bottom: var(--isabella-space-8);
}

.page-title {
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-2xl);
	font-weight: 700;
	line-height: var(--isabella-line-height-tight);
	margin: 0 0 var(--isabella-space-4);
	color: var(--isabella-foreground);
}

/* Buttons (e.g. 404, entry content) */
.entry-content .button,
.error-404 .button,
.page-content .button {
	display: inline-block;
	padding: var(--isabella-space-2) var(--isabella-space-6);
	font-size: var(--isabella-font-size-sm);
	font-weight: 600;
	font-family: var(--isabella-font-mono);
	color: var(--isabella-primary);
	background: var(--isabella-accent);
	border: none;
	border-radius: var(--isabella-radius);
	text-decoration: none;
	transition: background var(--isabella-duration) var(--isabella-ease),
		transform var(--isabella-duration-fast) var(--isabella-ease);
}

.entry-content .button:hover,
.error-404 .button:hover,
.page-content .button:hover {
	background: var(--isabella-foreground);
	color: var(--isabella-primary);
	transform: translateY(-1px);
}

/* ==========================================================================
   Landing page – Isabella portfolio (front page)
   ========================================================================== */

.issabella-landing {
	animation: isabella-fade-in var(--isabella-duration-slow) var(--isabella-ease-out) both;
}

/* Hero – techie: grid + gradient + cyan glow */
.issabella-hero {
	position: relative;
	background: var(--isabella-primary);
	color: var(--isabella-foreground);
	padding: var(--isabella-space-16) var(--isabella-space-4);
	min-height: 80vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.issabella-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
}

.issabella-hero::after {
	content: "";
	position: absolute;
	top: -50%;
	left: 50%;
	transform: translate(-50%, 0);
	width: 120%;
	height: 100%;
	background: radial-gradient(ellipse at center, var(--isabella-glow) 0%, transparent 60%);
	opacity: 0.15;
	pointer-events: none;
}

.issabella-hero-inner {
	max-width: 65ch;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

.issabella-hero-layout {
	max-width: 72rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--isabella-space-12);
	text-align: left;
}

.issabella-hero-layout .issabella-hero-content {
	flex: 1 1  min(100%, 40rem);
	min-width: 0;
}

.issabella-hero-image-wrap {
	flex: 0 0 auto;
}

.issabella-hero-headshot {
	width: 100%;
	max-width: 280px;
	height: auto;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--isabella-border);
	box-shadow: var(--isabella-shadow-lg);
}

@media (max-width: 640px) {
	.issabella-hero-layout {
		text-align: center;
	}
	.issabella-hero-layout .issabella-hero-buttons {
		justify-content: center;
	}
	.issabella-hero-image-wrap {
		order: -1;
		margin: 0 auto;
	}
	.issabella-hero-headshot {
		max-width: 200px;
	}
}

.issabella-hero-title {
	font-family: var(--isabella-font-mono);
	font-size: clamp(1.75rem, 4vw, var(--isabella-font-size-3xl));
	font-weight: 700;
	margin: 0 0 var(--isabella-space-4);
	line-height: var(--isabella-line-height-tight);
	color: var(--isabella-foreground);
	letter-spacing: -0.03em;
}

.issabella-hero-tagline {
	font-size: clamp(1.125rem, 2.5vw, var(--isabella-font-size-xl));
	font-weight: 600;
	margin: 0 0 var(--isabella-space-4);
	color: var(--isabella-accent);
}

.issabella-hero-text {
	margin: 0 0 var(--isabella-space-4);
	color: var(--isabella-subtle);
	font-size: var(--isabella-font-size-base);
}

.issabella-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--isabella-space-4);
	justify-content: center;
	margin-top: var(--isabella-space-8);
}

.issabella-btn {
	display: inline-block;
	padding: var(--isabella-space-3) var(--isabella-space-6);
	font-size: var(--isabella-font-size-sm);
	font-weight: 600;
	font-family: var(--isabella-font-mono);
	border-radius: var(--isabella-radius);
	text-decoration: none;
	transition: background var(--isabella-duration) var(--isabella-ease),
		color var(--isabella-duration) var(--isabella-ease),
		transform var(--isabella-duration-fast) var(--isabella-ease),
		box-shadow var(--isabella-duration) var(--isabella-ease);
}

.issabella-btn-primary {
	background: var(--isabella-accent);
	color: var(--isabella-primary);
	border: none;
}

.issabella-btn-primary:hover {
	background: var(--isabella-foreground);
	color: var(--isabella-primary);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--isabella-glow);
}

.issabella-btn-secondary {
	background: transparent;
	color: var(--isabella-accent);
	border: 2px solid var(--isabella-accent);
}

.issabella-btn-secondary:hover {
	background: var(--isabella-accent);
	color: var(--isabella-primary);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--isabella-glow);
}

.issabella-section {
	padding: var(--isabella-space-12) var(--isabella-space-4);
	background: var(--isabella-primary);
}

.issabella-section-alt {
	background: var(--isabella-secondary);
	color: var(--isabella-foreground);
	border-top: 1px solid var(--isabella-border);
	border-bottom: 1px solid var(--isabella-border);
}

.issabella-section-alt .issabella-section-title-light,
.issabella-section-alt .issabella-section-text-light {
	color: var(--isabella-foreground);
}

.issabella-section-alt .issabella-list {
	color: var(--isabella-subtle);
}

.issabella-section-dark {
	background: var(--isabella-primary);
	color: var(--isabella-foreground);
	border-top: 1px solid var(--isabella-border);
}

.issabella-section-dark .issabella-section-title-light,
.issabella-section-dark .issabella-section-text-light,
.issabella-section-dark .issabella-contact-links a {
	color: var(--isabella-foreground);
}

.issabella-section-dark .issabella-contact-links a:hover {
	color: var(--isabella-accent);
}

.issabella-section-title {
	font-family: var(--isabella-font-mono);
	font-size: clamp(1.5rem, 3vw, var(--isabella-font-size-2xl));
	font-weight: 700;
	text-align: center;
	margin: 0 0 var(--isabella-space-6);
	color: var(--isabella-foreground);
	letter-spacing: -0.02em;
}

.issabella-section-text {
	text-align: center;
	max-width: 65ch;
	margin: 0 auto var(--isabella-space-6);
	color: var(--isabella-subtle);
}

.issabella-list {
	max-width: 50ch;
	margin: 0 auto var(--isabella-space-6);
	padding-left: 1.5rem;
	color: var(--isabella-subtle);
}

.issabella-list li {
	margin-bottom: var(--isabella-space-2);
}

.issabella-strategy-image-wrap {
	text-align: center;
	margin: var(--isabella-space-8) 0;
}

.issabella-strategy-image {
	max-width: 100%;
	height: auto;
	border-radius: var(--isabella-radius);
	box-shadow: var(--isabella-shadow);
	border: 1px solid var(--isabella-border);
}

.issabella-case-study-images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--isabella-space-8);
	margin: var(--isabella-space-8) 0;
}

.issabella-case-study-img {
	width: 100%;
	height: auto;
	border-radius: var(--isabella-radius);
	box-shadow: var(--isabella-shadow-sm);
	border: 1px solid var(--isabella-border);
	object-fit: cover;
}

.issabella-subtitle {
	font-size: var(--isabella-font-size-lg);
	font-weight: 600;
	font-family: var(--isabella-font-mono);
	margin: var(--isabella-space-6) 0 var(--isabella-space-3);
	color: var(--isabella-accent);
}

/* Brands / fingerprints section – image */
.issabella-brands-wrap {
	text-align: center;
	margin-top: var(--isabella-space-8);
}

.issabella-brands-img {
	max-width: 100%;
	height: auto;
	opacity: 0.9;
	filter: brightness(0.95);
}

.issabella-services {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--isabella-space-6);
	margin-top: var(--isabella-space-8);
}

.issabella-service-card {
	position: relative;
	background: var(--isabella-secondary);
	border: 1px solid var(--isabella-border);
	border-radius: var(--isabella-radius);
	padding: var(--isabella-space-6);
	box-shadow: var(--isabella-shadow-sm);
	overflow: hidden;
	transition: transform var(--isabella-duration-slow) var(--isabella-ease),
		box-shadow var(--isabella-duration-slow) var(--isabella-ease),
		border-color var(--isabella-duration) var(--isabella-ease);
}

.issabella-service-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 0%, rgba(34, 211, 238, 0.06) 50%, transparent 100%);
	transform: translateX(-100%);
	transition: transform 0.5s var(--isabella-ease);
	pointer-events: none;
	z-index: 0;
}

.issabella-service-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(34, 211, 238, 0.15), 0 0 20px var(--isabella-glow);
	border-color: rgba(34, 211, 238, 0.35);
}

.issabella-service-card:hover::after {
	transform: translateX(100%);
}

.issabella-service-title,
.issabella-service-card p {
	position: relative;
	z-index: 1;
}

.issabella-service-title {
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-lg);
	font-weight: 700;
	margin: 0 0 var(--isabella-space-3);
	color: var(--isabella-accent);
}

.issabella-service-card p {
	color: var(--isabella-subtle);
	margin: 0;
	font-size: var(--isabella-font-size-sm);
}

.issabella-contact-links {
	text-align: center;
	margin-top: var(--isabella-space-8);
	font-size: var(--isabella-font-size-base);
	font-family: var(--isabella-font-mono);
}

.issabella-contact-links a {
	color: var(--isabella-accent);
}

/* Contact form */
.issabella-contact-section {
	border-top: 1px solid var(--isabella-border);
}

.issabella-contact-form {
	max-width: 32rem;
	margin: var(--isabella-space-8) auto 0;
	text-align: left;
}

.issabella-form-row {
	margin: 0 0 var(--isabella-space-4);
}

.issabella-form-row label {
	display: block;
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-sm);
	font-weight: 500;
	color: var(--isabella-foreground);
	margin-bottom: var(--isabella-space-2);
}

.issabella-form-row .required {
	color: var(--isabella-accent);
}

.issabella-form-row input,
.issabella-form-row textarea {
	width: 100%;
	padding: var(--isabella-space-3) var(--isabella-space-4);
	font-size: var(--isabella-font-size-base);
	font-family: var(--isabella-font-sans);
	color: var(--isabella-foreground);
	background: var(--isabella-secondary);
	border: 1px solid var(--isabella-border);
	border-radius: var(--isabella-radius);
	transition: border-color var(--isabella-duration-fast) var(--isabella-ease), box-shadow var(--isabella-duration-fast) var(--isabella-ease);
}

.issabella-form-row input:focus,
.issabella-form-row textarea:focus {
	outline: none;
	border-color: var(--isabella-accent);
	box-shadow: 0 0 0 3px var(--isabella-glow);
}

.issabella-form-row textarea {
	resize: vertical;
	min-height: 120px;
}

.issabella-form-submit {
	margin: var(--isabella-space-6) 0 0;
}

.issabella-form-submit .issabella-btn {
	cursor: pointer;
	border: none;
}

.issabella-form-submit .issabella-btn:active {
	transform: translateY(0);
}

.issabella-form-message {
	margin: 0 0 var(--isabella-space-4);
	padding: var(--isabella-space-3) var(--isabella-space-4);
	border-radius: var(--isabella-radius);
	font-size: var(--isabella-font-size-sm);
}

.issabella-form-success {
	background: rgba(34, 211, 238, 0.15);
	border: 1px solid var(--isabella-accent);
	color: var(--isabella-foreground);
}

.issabella-form-error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.5);
	color: var(--isabella-foreground);
}

/* FAQ accordion */
.issabella-faq {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: var(--isabella-space-6);
	max-width: 48rem;
}

.issabella-faq-item {
	border-bottom: 1px solid var(--isabella-border);
	transition: background var(--isabella-duration-fast) var(--isabella-ease);
}

.issabella-faq-item:first-child {
	border-top: 1px solid var(--isabella-border);
}

.issabella-faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--isabella-space-4);
	padding: var(--isabella-space-4) 0;
	text-align: left;
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-base);
	font-weight: 600;
	color: var(--isabella-foreground);
	background: none;
	border: none;
	cursor: pointer;
	transition: color var(--isabella-duration-fast) var(--isabella-ease);
}

.issabella-faq-question::after {
	content: "";
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--isabella-accent);
	border-bottom: 2px solid var(--isabella-accent);
	transform: rotate(45deg);
	transition: transform var(--isabella-duration) var(--isabella-ease);
}

.issabella-faq-item.is-open .issabella-faq-question::after {
	transform: rotate(-135deg);
}

.issabella-faq-question:hover,
.issabella-faq-question:focus {
	color: var(--isabella-accent);
	outline: none;
}

.issabella-faq-item.is-open .issabella-faq-question {
	color: var(--isabella-accent);
}

.issabella-faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--isabella-duration) var(--isabella-ease);
}

.issabella-faq-item.is-open .issabella-faq-answer {
	grid-template-rows: 1fr;
}

.issabella-faq-answer > * {
	overflow: hidden;
}

.issabella-faq-answer p {
	margin: 0 0 var(--isabella-space-4);
	padding-bottom: var(--isabella-space-4);
	color: var(--isabella-subtle);
	font-size: var(--isabella-font-size-sm);
	line-height: var(--isabella-line-height);
}

.issabella-section-work {
	padding-bottom: var(--isabella-space-16);
}

.issabella-work-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--isabella-space-8);
	margin-top: var(--isabella-space-8);
}

.issabella-work-card {
	position: relative;
	background: var(--isabella-secondary);
	border: 1px solid var(--isabella-border);
	border-radius: var(--isabella-radius);
	overflow: hidden;
	box-shadow: var(--isabella-shadow-sm);
	transition: transform var(--isabella-duration-slow) var(--isabella-ease),
		box-shadow var(--isabella-duration-slow) var(--isabella-ease),
		border-color var(--isabella-duration) var(--isabella-ease);
}

.issabella-work-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 0%, rgba(34, 211, 238, 0.07) 50%, transparent 100%);
	transform: translateX(-100%);
	transition: transform 0.5s var(--isabella-ease);
	pointer-events: none;
	z-index: 1;
}

.issabella-work-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(34, 211, 238, 0.15), 0 0 24px var(--isabella-glow);
	border-color: rgba(34, 211, 238, 0.35);
}

.issabella-work-card:hover::after {
	transform: translateX(100%);
}

.issabella-work-card-image {
	display: block;
	line-height: 0;
	overflow: hidden;
	position: relative;
	z-index: 0;
}

.issabella-work-card-body {
	position: relative;
	z-index: 1;
	padding: var(--isabella-space-4) var(--isabella-space-6);
}

.issabella-work-card-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform var(--isabella-duration-slow) var(--isabella-ease);
}

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

.issabella-work-card-title {
	font-family: var(--isabella-font-mono);
	font-size: var(--isabella-font-size-lg);
	font-weight: 700;
	margin: 0 0 var(--isabella-space-2);
}

.issabella-work-card-title a {
	color: var(--isabella-foreground);
}

.issabella-work-card-title a:hover {
	color: var(--isabella-accent);
}

.issabella-work-card-body p {
	color: var(--isabella-subtle);
	font-size: var(--isabella-font-size-sm);
	margin: 0;
}

.issabella-no-work {
	text-align: center;
	color: var(--isabella-subtle);
	grid-column: 1 / -1;
}
