/* ==========================================================================
   Syed Tahir Rasul — Executive Single-Page Portfolio Design System v2.1
   Scoped strictly to syedtahirrasul.com (Hello Elementor Child Theme)
   Dark Obsidian Hero/Gallery/Contact + Crisp Light Editorial Middle Rhythm
   ========================================================================== */

:root {
	/* Dark Surfaces */
	--str-bg: #080d18;
	--str-bg-elev: #0e1525;
	--str-surface: #121b2e;
	--str-surface-hi: #18243d;
	--str-border: rgba(148, 163, 184, 0.18);
	--str-border-strong: rgba(148, 163, 184, 0.34);

	/* Light Surfaces (Zero Purple — Crisp Porcelain & White) */
	--str-light-bg: #f8fafc;
	--str-light-slate: #f1f5f9;
	--str-light-card: #ffffff;
	--str-light-border: #e2e8f0;
	--str-light-border-hi: #cbd5e1;

	/* Dark-mode Ink */
	--str-ink: #f8fafc;
	--str-ink-body: #cbd5e1;
	--str-ink-muted: #94a3b8;

	/* Light-mode Ink (High WCAG AAA Contrast) */
	--str-l-ink: #0f172a;
	--str-l-body: #334155;
	--str-l-muted: #64748b;

	/* Brand Accents — Warm Executive Gold + Precision Teal + Signal Crimson */
	--str-gold: #f4c44e;
	--str-gold-hover: #fbd166;
	--str-gold-ink: #080d18;
	--str-gold-soft: rgba(244, 196, 78, 0.14);

	--str-teal: #2dd4bf;
	--str-teal-deep: #0f766e;
	--str-teal-soft: rgba(45, 212, 191, 0.12);
	--str-teal-soft-light: #ecfdf5;
	--str-teal-border: rgba(45, 212, 191, 0.38);
	--str-teal-border-light: #99f6e4;

	--str-crimson: #f87171;
	--str-crimson-solid: #dc2626;
	--str-crimson-hover: #b91c1c;
	--str-crimson-soft: rgba(239, 68, 68, 0.12);
	--str-crimson-border: rgba(248, 113, 113, 0.38);

	--str-font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--str-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--str-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

	--str-radius-sm: 8px;
	--str-radius: 14px;
	--str-radius-lg: 20px;
	--str-header-h: 76px;
	--str-max-w: 1200px;
	--str-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
	scroll-behavior: smooth;
	background-color: var(--str-bg) !important;
	color: var(--str-ink);
	font-size: 16px;
	overflow-x: clip;
}

body.str-body {
	margin: 0;
	padding: 0;
	background-color: var(--str-bg) !important;
	background-image: none !important;
	color: var(--str-ink-body) !important;
	font-family: var(--str-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

a {
	color: var(--str-teal);
	text-decoration: none;
	transition: color 180ms var(--str-ease), border-color 180ms var(--str-ease), background-color 180ms var(--str-ease), transform 180ms var(--str-ease);
}

a:hover {
	color: var(--str-gold);
}

:focus-visible {
	outline: 2px solid var(--str-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.str-skip-link {
	position: absolute;
	left: -9999px;
	top: 12px;
	z-index: 2000;
	background: var(--str-gold);
	color: var(--str-gold-ink);
	font-weight: 700;
	padding: 10px 16px;
	border-radius: var(--str-radius-sm);
}

.str-skip-link:focus {
	left: 16px;
}

.str-container {
	width: 100%;
	max-width: var(--str-max-w);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 36px);
}

/* Scroll Progress Hairline */
.str-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--str-teal), var(--str-gold));
	z-index: 1200;
	pointer-events: none;
}

body.admin-bar .str-scroll-progress {
	top: 32px;
}

/* ==========================================================================
   Header & Navigation (with Syed's Circular Avatar Left of Name)
   ========================================================================== */

.str-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 900;
	min-height: var(--str-header-h);
	background: rgba(8, 13, 24, 0.86);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
	transition: background-color 200ms var(--str-ease), border-color 200ms var(--str-ease), box-shadow 200ms var(--str-ease);
}

body.admin-bar .str-header {
	top: 32px;
}

.str-header.is-scrolled,
.str-header--solid {
	background: rgba(8, 13, 24, 0.96);
	border-bottom-color: var(--str-border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.str-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--str-header-h);
}

.str-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--str-ink);
	flex-shrink: 0;
}

.str-brand:hover {
	color: var(--str-ink);
}

.str-brand__avatar {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	padding: 2px;
	background: linear-gradient(135deg, var(--str-teal), var(--str-gold));
	flex-shrink: 0;
	transition: transform 200ms var(--str-ease), box-shadow 200ms var(--str-ease);
}

.str-brand:hover .str-brand__avatar {
	transform: scale(1.05);
	box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}

.str-brand__avatar img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 34%;
	transform: scale(1.18);
	clip-path: circle(42% at 50% 50%);
	background: #6ee7d7;
}

.str-brand__online {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #22c55e;
	border: 2px solid var(--str-bg);
}

.str-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.22;
}

.str-brand__text strong {
	font-family: var(--str-font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--str-ink);
}

.str-brand__text span {
	font-size: 0.74rem;
	color: var(--str-ink-muted);
}

.str-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.str-nav__link {
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--str-ink-body);
	white-space: nowrap;
}

.str-nav__link:hover,
.str-nav__link.is-active {
	color: var(--str-ink);
	background: rgba(148, 163, 184, 0.12);
}

.str-nav__link.is-active {
	color: var(--str-gold);
}

.str-nav__link--urgent {
	color: #fca5a5;
}

.str-nav__link--urgent:hover,
.str-nav__link--urgent.is-active {
	color: #ffffff;
	background: rgba(220, 38, 38, 0.24);
}

.str-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.str-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0 9px;
	background: var(--str-surface);
	border: 1px solid var(--str-border);
	border-radius: 10px;
	cursor: pointer;
}

.str-menu-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--str-ink);
	border-radius: 2px;
	transition: transform 180ms var(--str-ease), opacity 180ms var(--str-ease);
}

.str-menu-toggle[aria-expanded='true'] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.str-menu-toggle[aria-expanded='true'] span:nth-child(2) {
	opacity: 0;
}

.str-menu-toggle[aria-expanded='true'] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.str-mobile-drawer {
	background: rgba(8, 13, 24, 0.98);
	border-bottom: 1px solid var(--str-border);
	padding: 16px 20px 24px;
}

.str-mobile-drawer__nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.str-mobile-drawer__link {
	padding: 12px 14px;
	border-radius: 10px;
	color: var(--str-ink);
	font-weight: 500;
	font-size: 0.98rem;
}

.str-mobile-drawer__link:hover {
	background: var(--str-surface);
	color: var(--str-gold);
}

.str-mobile-drawer__link--urgent {
	color: #fca5a5;
}

.str-mobile-drawer__cta {
	margin-top: 10px;
	width: 100%;
	justify-content: center;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.str-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-family: var(--str-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 180ms var(--str-ease), background-color 180ms var(--str-ease), border-color 180ms var(--str-ease), color 180ms var(--str-ease), box-shadow 180ms var(--str-ease);
}

.str-btn:hover {
	transform: translateY(-2px);
}

.str-btn:active {
	transform: translateY(0);
}

.str-btn svg {
	transition: transform 180ms var(--str-ease);
}

.str-btn:hover svg {
	transform: translateX(3px);
}

.str-btn--sm {
	padding: 10px 16px;
	font-size: 0.875rem;
}

.str-btn--lg {
	padding: 15px 26px;
	font-size: 1rem;
}

.str-btn--primary {
	background: var(--str-gold);
	color: var(--str-gold-ink);
	border-color: var(--str-gold);
	box-shadow: 0 6px 20px rgba(244, 196, 78, 0.22);
}

.str-btn--primary:hover {
	background: var(--str-gold-hover);
	border-color: var(--str-gold-hover);
	color: var(--str-gold-ink);
	box-shadow: 0 10px 26px rgba(244, 196, 78, 0.34);
}

.str-btn--ghost {
	background: rgba(255, 255, 255, 0.05);
	color: var(--str-ink);
	border-color: var(--str-border-strong);
}

.str-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(248, 250, 252, 0.52);
	color: var(--str-ink);
}

.str-btn--emergency {
	background: var(--str-crimson-solid);
	color: #ffffff;
	border-color: var(--str-crimson-solid);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.28);
}

.str-btn--emergency:hover {
	background: var(--str-crimson-hover);
	border-color: var(--str-crimson-hover);
	color: #ffffff;
	box-shadow: 0 10px 26px rgba(220, 38, 38, 0.38);
}

.str-btn--emergency-outline {
	background: var(--str-crimson-soft);
	color: #fecaca;
	border-color: var(--str-crimson-border);
}

.str-btn--emergency-outline:hover {
	background: rgba(239, 68, 68, 0.22);
	color: #ffffff;
}

.str-mono-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-family: var(--str-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--str-gold-soft);
	color: var(--str-gold);
	border: 1px solid rgba(244, 196, 78, 0.30);
}

.str-mono-badge--teal {
	background: var(--str-teal-soft);
	color: var(--str-teal);
	border-color: var(--str-teal-border);
}

.str-mono-badge--crimson {
	background: var(--str-crimson-soft);
	color: #fca5a5;
	border-color: var(--str-crimson-border);
}

/* Light-section badge variants for razor-sharp contrast */
.str-section--light .str-mono-badge,
.str-section--white .str-mono-badge,
.str-section--slate .str-mono-badge {
	background: #fef3c7;
	color: #92400e;
	border-color: #fde68a;
}

.str-section--light .str-mono-badge--teal,
.str-section--white .str-mono-badge--teal,
.str-section--slate .str-mono-badge--teal {
	background: var(--str-teal-soft-light);
	color: var(--str-teal-deep);
	border-color: var(--str-teal-border-light);
}

.str-section--light .str-mono-badge--crimson,
.str-section--white .str-mono-badge--crimson,
.str-section--slate .str-mono-badge--crimson {
	background: #fef2f2;
	color: #b91c1c;
	border-color: #fecaca;
}

/* Restore dark badge inside dark emergency card sitting on light section */
.str-emergency-card .str-mono-badge--crimson {
	background: var(--str-crimson-soft);
	color: #fca5a5;
	border-color: var(--str-crimson-border);
}

/* ==========================================================================
   Hero & Credibility Strip (Deep Midnight Slate — Zero Purple!)
   ========================================================================== */

.str-hero {
	position: relative;
	background-color: var(--str-bg) !important;
	padding-top: calc(var(--str-header-h) + clamp(42px, 6vw, 76px));
	padding-bottom: clamp(52px, 6.5vw, 84px);
	overflow: hidden;
}

body.admin-bar .str-hero {
	padding-top: calc(var(--str-header-h) + 32px + clamp(32px, 5vw, 60px));
}

.str-hero__bg-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 35%, transparent 100%);
	-webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 35%, transparent 100%);
	pointer-events: none;
}

.str-hero__glow {
	position: absolute;
	width: 540px;
	height: 540px;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.14;
	pointer-events: none;
}

.str-hero__glow--amber {
	top: -180px;
	left: -140px;
	background: var(--str-gold);
}

.str-hero__glow--teal {
	top: 30px;
	right: -160px;
	background: var(--str-teal);
}

.str-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.str-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.92);
	border: 1px solid var(--str-teal-border);
	font-family: var(--str-font-mono);
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--str-teal);
	margin-bottom: 22px;
}

.str-status-pill__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--str-teal);
	box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.22);
	flex-shrink: 0;
}

.str-hero__title {
	margin: 0 0 22px;
	font-family: var(--str-font-display);
	font-size: clamp(2.15rem, 4.1vw, 3.5rem);
	font-weight: 700;
	line-height: 1.09;
	letter-spacing: -0.03em;
	color: var(--str-ink);
}

.str-hero__lead {
	margin: 0 0 30px;
	font-size: clamp(1.02rem, 1.3vw, 1.14rem);
	line-height: 1.68;
	color: var(--str-ink-body);
	max-width: 60ch;
}

.str-hero__lead strong {
	color: var(--str-ink);
	font-weight: 600;
}

.str-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 24px;
}

.str-hero__urgent-cue {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(239, 68, 68, 0.10);
	border: 1px solid rgba(248, 113, 113, 0.28);
	font-size: 0.88rem;
	color: var(--str-ink-body);
	transition: border-color 180ms var(--str-ease), background-color 180ms var(--str-ease);
}

.str-hero__urgent-cue:hover {
	border-color: rgba(248, 113, 113, 0.52);
	background: rgba(239, 68, 68, 0.16);
}

.str-urgent-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--str-crimson);
	flex-shrink: 0;
}

.str-hero__urgent-cue a {
	color: #fca5a5;
	font-weight: 600;
}

.str-hero__urgent-cue a:hover {
	color: #ffffff;
}

/* Executive Hero Portrait Card (Circular Medallion Crop — Zero Sparkle / Zero Box) */
.str-portrait-card {
	margin: 0;
	background: linear-gradient(180deg, rgba(18, 27, 46, 0.96), rgba(11, 17, 32, 0.98));
	border: 1px solid var(--str-border-strong);
	border-radius: var(--str-radius-lg);
	overflow: hidden;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
	transition: transform 240ms var(--str-ease), border-color 240ms var(--str-ease), box-shadow 240ms var(--str-ease);
}

.str-portrait-card:hover {
	transform: translateY(-4px);
	border-color: rgba(45, 212, 191, 0.48);
	box-shadow: 0 34px 72px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(45, 212, 191, 0.20);
}

.str-portrait-card__frame {
	position: relative;
	padding: 36px 28px 28px;
	background:
		radial-gradient(circle at 50% 48%, rgba(45, 212, 191, 0.16), transparent 64%),
		radial-gradient(circle at 75% 18%, rgba(244, 196, 78, 0.14), transparent 52%),
		linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
		#0d1526;
	background-size: auto, auto, 24px 24px, 24px 24px, auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.str-portrait-ring {
	width: clamp(230px, 24vw, 290px);
	height: clamp(230px, 24vw, 290px);
	border-radius: 50%;
	padding: 5px;
	background: linear-gradient(135deg, var(--str-teal), rgba(244, 196, 78, 0.78));
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48), 0 0 0 8px rgba(45, 212, 191, 0.08);
	overflow: hidden;
	transition: transform 280ms var(--str-ease), box-shadow 280ms var(--str-ease);
}

.str-portrait-card:hover .str-portrait-ring {
	transform: scale(1.025);
	box-shadow: 0 24px 52px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(45, 212, 191, 0.14);
}

.str-portrait-ring img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 34%;
	transform: scale(1.28);
	clip-path: circle(39% at 50% 50%);
	background: #77e6d6;
}

.str-portrait-card__meta {
	padding: 20px 24px 22px;
	border-top: 1px solid var(--str-border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.str-portrait-card__identity {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.str-portrait-card__identity strong {
	font-family: var(--str-font-display);
	font-size: 1.08rem;
	color: var(--str-ink);
}

.str-portrait-card__identity span {
	font-size: 0.85rem;
	color: var(--str-ink-muted);
}

.str-portrait-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.str-mini-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--str-ink);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--str-border);
}

.str-mini-pill:hover {
	border-color: var(--str-gold);
	background: var(--str-gold-soft);
	color: var(--str-gold);
	transform: translateY(-1px);
}

/* Credibility Bar (Lively Hover Cards) */
.str-credibility-bar {
	position: relative;
	z-index: 1;
	margin-top: clamp(36px, 5vw, 58px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.str-credibility-item {
	position: relative;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: var(--str-surface);
	border: 1px solid var(--str-border);
	border-radius: var(--str-radius);
	overflow: hidden;
	transition: transform 200ms var(--str-ease), border-color 200ms var(--str-ease), background-color 200ms var(--str-ease), box-shadow 200ms var(--str-ease);
}

.str-credibility-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--str-teal), var(--str-gold));
	opacity: 0;
	transition: opacity 200ms var(--str-ease);
}

.str-credibility-item:hover {
	transform: translateY(-4px);
	background: var(--str-surface-hi);
	border-color: rgba(45, 212, 191, 0.40);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.str-credibility-item:hover::before {
	opacity: 1;
}

.str-credibility-item__label {
	font-family: var(--str-font-mono);
	font-size: 0.70rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--str-teal);
}

.str-credibility-item__value {
	font-family: var(--str-font-display);
	font-size: 1.06rem;
	font-weight: 700;
	color: var(--str-ink);
}

.str-credibility-item__sub {
	font-size: 0.84rem;
	color: var(--str-ink-muted);
}

/* ==========================================================================
   Section Surfaces (Explicit Dark & Light Contrast — Zero Bleed!)
   ========================================================================== */

.str-section {
	padding-block: clamp(64px, 7.5vw, 104px);
	scroll-margin-top: calc(var(--str-header-h) + 20px);
}

.str-section--tight {
	padding-block: clamp(32px, 4.5vw, 56px);
}

.str-section--dark {
	background-color: var(--str-bg) !important;
	color: var(--str-ink-body);
}

.str-section--light {
	background-color: var(--str-light-bg) !important;
	color: var(--str-l-body);
	border-top: 1px solid var(--str-light-border);
	border-bottom: 1px solid var(--str-light-border);
}

.str-section--white {
	background-color: var(--str-light-card) !important;
	color: var(--str-l-body);
}

.str-section--slate {
	background-color: var(--str-light-slate) !important;
	color: var(--str-l-body);
	border-top: 1px solid var(--str-light-border);
	border-bottom: 1px solid var(--str-light-border);
}

.str-section__head {
	max-width: 72ch;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.str-section__head--split {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.str-section__head--split > div:first-child {
	max-width: 62ch;
}

.str-section__title {
	margin: 14px 0 14px;
	font-family: var(--str-font-display);
	font-size: clamp(1.65rem, 2.8vw, 2.45rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--str-ink);
}

.str-section__lead {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--str-ink-body);
}

/* Light-section typography overrides */
.str-section--light .str-section__title,
.str-section--white .str-section__title,
.str-section--slate .str-section__title {
	color: var(--str-l-ink);
}

.str-section--light .str-section__lead,
.str-section--white .str-section__lead,
.str-section--slate .str-section__lead {
	color: var(--str-l-body);
}

.str-section--light a,
.str-section--white a,
.str-section--slate a {
	color: var(--str-teal-deep);
}

.str-section--light a:hover,
.str-section--white a:hover,
.str-section--slate a:hover {
	color: #0b534d;
}

/* ==========================================================================
   About Section (Crisp Porcelain + Interactive Hover Fact Tiles)
   ========================================================================== */

.str-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.str-about__body p {
	margin: 0 0 18px;
	font-size: 1.03rem;
	color: var(--str-l-body);
}

.str-facts-grid {
	margin: 28px 0 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.str-facts-grid > div {
	padding: 16px 18px;
	background: var(--str-light-card);
	border: 1px solid var(--str-light-border);
	border-radius: 12px;
	transition: transform 180ms var(--str-ease), border-color 180ms var(--str-ease), box-shadow 180ms var(--str-ease);
}

.str-facts-grid > div:hover {
	transform: translateY(-3px);
	border-color: var(--str-teal-deep);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.str-facts-grid dt {
	font-family: var(--str-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--str-teal-deep);
	margin-bottom: 5px;
}

.str-facts-grid dd {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 500;
	color: var(--str-l-ink);
}

.str-facts-grid dd a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Interactive Capability Explorer (Crisp White + Dark Active Tab Contrast)
   ========================================================================== */

.str-explorer {
	display: grid;
	grid-template-columns: 310px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.str-explorer__tabs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.str-explorer__tab {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--str-light-bg);
	border: 1px solid var(--str-light-border);
	color: var(--str-l-body);
	font-family: var(--str-font-body);
	font-size: 0.94rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 180ms var(--str-ease), background-color 180ms var(--str-ease), border-color 180ms var(--str-ease), color 180ms var(--str-ease), box-shadow 180ms var(--str-ease);
}

.str-explorer__tab:hover {
	transform: translateX(4px);
	background: var(--str-light-card);
	color: var(--str-l-ink);
	border-color: var(--str-teal-deep);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.str-explorer__tab.is-active {
	transform: translateX(4px);
	background: var(--str-bg);
	color: var(--str-ink);
	border-color: var(--str-bg);
	box-shadow: inset 4px 0 0 var(--str-teal), 0 12px 26px rgba(8, 13, 24, 0.16);
}

.str-explorer__tab.is-urgent-tab:hover {
	border-color: var(--str-crimson-solid);
}

.str-explorer__tab.is-urgent-tab.is-active {
	background: #1b1018;
	border-color: var(--str-crimson-solid);
	box-shadow: inset 4px 0 0 var(--str-crimson), 0 12px 26px rgba(220, 38, 38, 0.16);
}

.str-explorer__tab-num {
	font-family: var(--str-font-mono);
	font-size: 0.75rem;
	color: var(--str-l-muted);
	flex-shrink: 0;
}

.str-explorer__tab.is-active .str-explorer__tab-num {
	color: var(--str-teal);
}

.str-explorer__tab.is-urgent-tab.is-active .str-explorer__tab-num {
	color: var(--str-crimson);
}

.str-explorer__panel {
	background: var(--str-light-bg);
	border: 1px solid var(--str-light-border);
	border-radius: var(--str-radius-lg);
	padding: clamp(24px, 3.5vw, 38px);
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.str-explorer__panel-title {
	margin: 14px 0 12px;
	font-family: var(--str-font-display);
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: var(--str-l-ink);
}

.str-explorer__panel-summary {
	margin: 0 0 26px;
	color: var(--str-l-body);
	max-width: 64ch;
}

.str-explorer__panel-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
	gap: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--str-light-border);
}

.str-explorer__subhead {
	margin: 0 0 14px;
	font-family: var(--str-font-mono);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--str-l-muted);
}

.str-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.str-check-list li {
	position: relative;
	padding-left: 22px;
	font-size: 0.95rem;
	color: var(--str-l-body);
}

.str-check-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--str-teal-deep);
}

.str-modal .str-check-list li {
	color: var(--str-ink-body);
}

.str-modal .str-check-list li::before {
	background: var(--str-teal);
}

.str-explorer__fit-box {
	padding: 18px 20px;
	border-radius: 12px;
	background: var(--str-light-card);
	border: 1px solid var(--str-light-border);
	margin-bottom: 18px;
	transition: border-color 180ms var(--str-ease), box-shadow 180ms var(--str-ease);
}

.str-explorer__fit-box:hover {
	border-color: var(--str-teal-deep);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.str-explorer__fit-box p {
	margin: 0;
	font-size: 0.93rem;
	color: var(--str-l-body);
}

.str-explorer__cta-row {
	margin-top: 20px;
}

.str-inline-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 0.96rem;
	color: var(--str-l-ink) !important;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--str-gold);
}

.str-inline-cta:hover {
	color: var(--str-teal-deep) !important;
	border-bottom-color: var(--str-teal-deep);
	transform: translateX(3px);
}

/* Tags (Dark & Light Aware + Hover Polish) */
.str-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.str-tag {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 7px;
	font-family: var(--str-font-mono);
	font-size: 0.76rem;
	color: var(--str-ink-body);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--str-border);
	transition: transform 150ms var(--str-ease), border-color 150ms var(--str-ease), background-color 150ms var(--str-ease), color 150ms var(--str-ease);
}

.str-tag:hover {
	transform: translateY(-1px);
	border-color: var(--str-teal-border);
	color: var(--str-ink);
}

.str-section--light .str-tag,
.str-section--white .str-tag,
.str-section--slate .str-tag {
	color: var(--str-l-ink);
	background: var(--str-light-card);
	border-color: var(--str-light-border-hi);
}

.str-section--light .str-tag:hover,
.str-section--white .str-tag:hover,
.str-section--slate .str-tag:hover {
	background: var(--str-bg);
	border-color: var(--str-bg);
	color: var(--str-ink);
}

.str-tag--lg {
	padding: 7px 12px;
	font-size: 0.80rem;
}

/* ==========================================================================
   Emergency Help & Hack Removal Card (Dark Crimson Spotlight on Light Band)
   ========================================================================== */

.str-emergency-card {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	padding: clamp(28px, 4.2vw, 46px);
	border-radius: var(--str-radius-lg);
	background:
		radial-gradient(circle at 95% 10%, rgba(239, 68, 68, 0.20), transparent 48%),
		linear-gradient(135deg, #160f19 0%, #0d1526 100%);
	border: 1px solid var(--str-crimson-border);
	box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
	transition: transform 220ms var(--str-ease), box-shadow 220ms var(--str-ease), border-color 220ms var(--str-ease);
}

.str-emergency-card:hover {
	transform: translateY(-3px);
	border-color: rgba(248, 113, 113, 0.62);
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
}

.str-emergency-card__title {
	margin: 14px 0 12px;
	font-family: var(--str-font-display);
	font-size: clamp(1.5rem, 2.5vw, 2.05rem);
	line-height: 1.18;
	letter-spacing: -0.025em;
	color: var(--str-ink);
}

.str-emergency-card__lead {
	margin: 0 0 18px;
	color: var(--str-ink-body);
	max-width: 60ch;
}

.str-emergency-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.str-emergency-points li {
	position: relative;
	padding-left: 20px;
	font-size: 0.93rem;
	color: #f1f5f9;
}

.str-emergency-points li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--str-crimson);
}

.str-emergency-card__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.str-emergency-card__actions .str-btn {
	width: 100%;
}

.str-emergency-wa {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-top: 6px;
	font-size: 0.88rem;
	color: var(--str-ink-muted);
}

.str-emergency-card a.str-wa-inline,
.str-wa-inline,
.str-wa-channel,
.str-footer__wa {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #4ade80 !important;
	font-weight: 600;
}

.str-emergency-card a.str-wa-inline:hover,
.str-wa-inline:hover,
.str-wa-channel:hover,
.str-footer__wa:hover {
	color: #86efac !important;
}

/* ==========================================================================
   Selected Work & Case Studies (Deep Obsidian Showcase + Lively Hover)
   ========================================================================== */

.str-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.str-filter-pill {
	padding: 8px 15px;
	border-radius: 999px;
	background: var(--str-surface);
	border: 1px solid var(--str-border);
	color: var(--str-ink-body);
	font-family: var(--str-font-body);
	font-size: 0.86rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 150ms var(--str-ease), background-color 150ms var(--str-ease), border-color 150ms var(--str-ease), color 150ms var(--str-ease);
}

.str-filter-pill:hover {
	transform: translateY(-1px);
	border-color: var(--str-teal-border);
	color: var(--str-ink);
}

.str-filter-pill.is-active {
	background: var(--str-gold);
	border-color: var(--str-gold);
	color: var(--str-gold-ink);
}

.str-work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.str-project-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--str-surface);
	border: 1px solid var(--str-border);
	border-radius: var(--str-radius);
	overflow: hidden;
	transition: transform 220ms var(--str-ease), border-color 220ms var(--str-ease), box-shadow 220ms var(--str-ease), background-color 220ms var(--str-ease);
}

.str-project-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--str-teal), var(--str-gold));
	opacity: 0;
	transition: opacity 220ms var(--str-ease);
}

.str-project-card:hover {
	transform: translateY(-6px);
	background: var(--str-surface-hi);
	border-color: rgba(45, 212, 191, 0.48);
	box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

.str-project-card:hover::after {
	opacity: 1;
}

.str-project-card[hidden] {
	display: none;
}

.str-project-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #0b1120;
	border-bottom: 1px solid var(--str-border);
	overflow: hidden;
}

.str-project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 340ms var(--str-ease);
}

.str-project-card:hover .str-project-card__media img {
	transform: scale(1.04);
}

.str-project-card__badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(8, 13, 24, 0.90);
	border: 1px solid var(--str-border-strong);
	font-family: var(--str-font-mono);
	font-size: 0.70rem;
	color: var(--str-ink);
	backdrop-filter: blur(8px);
}

/* Architectural Preview Cards for non-screenshot case studies */
.str-arch-preview {
	width: 100%;
	height: 100%;
	padding: 20px 18px 46px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	background:
		radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.16), transparent 55%),
		linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px),
		#0a101f;
	background-size: auto, 24px 24px, 24px 24px, auto;
	transition: background-color 220ms var(--str-ease);
}

.str-arch-preview--security {
	background:
		radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.18), transparent 55%),
		linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px),
		#130d18;
	background-size: auto, 24px 24px, 24px 24px, auto;
}

.str-arch-preview__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.str-arch-chip {
	padding: 5px 9px;
	border-radius: 6px;
	background: rgba(18, 27, 46, 0.92);
	border: 1px solid var(--str-teal-border);
	font-family: var(--str-font-mono);
	font-size: 0.72rem;
	color: var(--str-teal);
	transition: transform 200ms var(--str-ease);
}

.str-project-card:hover .str-arch-chip {
	transform: translateY(-1px);
}

.str-arch-chip--crimson {
	border-color: var(--str-crimson-border);
	color: #fca5a5;
}

.str-arch-preview__wire {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-family: var(--str-font-mono);
	font-size: 0.72rem;
	color: var(--str-ink-muted);
}

.str-project-card__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.str-project-card__role {
	font-family: var(--str-font-mono);
	font-size: 0.72rem;
	color: var(--str-teal);
	margin-bottom: 8px;
}

.str-project-card__title {
	margin: 0 0 8px;
	font-family: var(--str-font-display);
	font-size: 1.2rem;
	line-height: 1.25;
	color: var(--str-ink);
}

.str-project-card__desc {
	margin: 0 0 18px;
	font-size: 0.93rem;
	color: var(--str-ink-body);
}

.str-project-card__body .str-tag-row {
	margin-top: auto;
	margin-bottom: 18px;
}

.str-project-card__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 0 0;
	border: 0;
	border-top: 1px solid var(--str-border);
	background: transparent;
	color: var(--str-gold);
	font-family: var(--str-font-body);
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}

.str-project-card__trigger svg {
	transition: transform 180ms var(--str-ease);
}

.str-project-card:hover .str-project-card__trigger {
	color: var(--str-gold-hover);
}

.str-project-card:hover .str-project-card__trigger svg {
	transform: translateX(4px);
}

/* ==========================================================================
   Technology Ecosystem (Light Porcelain + Interactive White Cards)
   ========================================================================== */

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

.str-ecosystem-card {
	position: relative;
	padding: 26px 28px;
	background: var(--str-light-card);
	border: 1px solid var(--str-light-border);
	border-radius: var(--str-radius);
	overflow: hidden;
	transition: transform 200ms var(--str-ease), border-color 200ms var(--str-ease), box-shadow 200ms var(--str-ease);
}

.str-ecosystem-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--str-teal-deep), var(--str-gold));
	opacity: 0;
	transition: opacity 200ms var(--str-ease);
}

.str-ecosystem-card:hover {
	transform: translateY(-4px);
	border-color: var(--str-teal-deep);
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.str-ecosystem-card:hover::before {
	opacity: 1;
}

.str-ecosystem-card__title {
	margin: 0 0 16px;
	font-family: var(--str-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--str-l-ink);
}

/* ==========================================================================
   Experience Timeline (Crisp White + Interactive Slide Cards)
   ========================================================================== */

.str-experience__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.str-timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 26px;
	border-left: 2px solid var(--str-light-border-hi);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.str-timeline__item {
	position: relative;
}

.str-timeline__marker {
	position: absolute;
	left: -33px;
	top: 26px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--str-teal-deep);
	border: 2px solid var(--str-light-card);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.20);
	transition: background-color 180ms var(--str-ease), transform 180ms var(--str-ease);
}

.str-timeline__item:hover .str-timeline__marker {
	background: var(--str-gold);
	transform: scale(1.2);
}

.str-timeline__card {
	padding: 24px 26px;
	background: var(--str-light-bg);
	border: 1px solid var(--str-light-border);
	border-radius: var(--str-radius);
	transition: transform 200ms var(--str-ease), background-color 200ms var(--str-ease), border-color 200ms var(--str-ease), box-shadow 200ms var(--str-ease);
}

.str-timeline__item:hover .str-timeline__card {
	transform: translateX(5px);
	background: var(--str-light-card);
	border-color: var(--str-teal-deep);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.str-timeline__period {
	display: block;
	font-family: var(--str-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--str-teal-deep);
	margin-bottom: 6px;
}

.str-timeline__role {
	margin: 0 0 4px;
	font-family: var(--str-font-display);
	font-size: 1.18rem;
	color: var(--str-l-ink);
}

.str-timeline__org {
	margin: 0 0 12px;
	font-size: 0.93rem;
	font-weight: 700;
	color: #b45309;
}

.str-timeline__org a {
	color: #b45309;
}

.str-timeline__org a:hover {
	color: var(--str-teal-deep);
}

.str-timeline__summary {
	margin: 0 0 12px;
	font-size: 0.94rem;
	color: var(--str-l-body);
}

.str-timeline__scope {
	display: inline-block;
	font-family: var(--str-font-mono);
	font-size: 0.74rem;
	color: var(--str-l-muted);
}

/* ==========================================================================
   Client Testimonials (Soft Slate + Crisp White Cards with Lively Hover)
   ========================================================================== */

.str-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.str-review-card {
	position: relative;
	margin: 0;
	padding: 26px;
	background: var(--str-light-card);
	border: 1px solid var(--str-light-border);
	border-radius: var(--str-radius);
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: hidden;
	transition: transform 200ms var(--str-ease), border-color 200ms var(--str-ease), box-shadow 200ms var(--str-ease);
}

.str-review-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--str-teal-deep), var(--str-gold));
	opacity: 0;
	transition: opacity 200ms var(--str-ease);
}

.str-review-card:hover {
	transform: translateY(-5px);
	border-color: var(--str-teal-deep);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.str-review-card:hover::before {
	opacity: 1;
}

.str-review-card__tag {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--str-teal-soft-light);
	border: 1px solid var(--str-teal-border-light);
	font-family: var(--str-font-mono);
	font-size: 0.70rem;
	font-weight: 600;
	color: var(--str-teal-deep);
}

.str-review-card__quote {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.66;
	color: var(--str-l-ink);
	flex: 1;
}

.str-review-card__footer {
	padding-top: 14px;
	border-top: 1px solid var(--str-light-border);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.str-review-card__footer strong {
	font-size: 0.95rem;
	color: var(--str-l-ink);
}

.str-review-card__footer span {
	font-family: var(--str-font-mono);
	font-size: 0.76rem;
	color: var(--str-l-muted);
}

/* ==========================================================================
   Start a Project & Contact Form (Deep Obsidian Conversion Zone)
   ========================================================================== */

.str-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
	gap: clamp(32px, 5vw, 60px);
	align-items: start;
}

.str-contact-steps {
	margin: 28px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.str-contact-step {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid transparent;
	transition: border-color 180ms var(--str-ease), background-color 180ms var(--str-ease), transform 180ms var(--str-ease);
}

.str-contact-step:hover {
	transform: translateX(4px);
	background: var(--str-surface);
	border-color: var(--str-border);
}

.str-contact-step__num {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--str-gold-soft);
	border: 1px solid rgba(244, 196, 78, 0.35);
	color: var(--str-gold);
	font-family: var(--str-font-mono);
	font-size: 0.80rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.str-contact-step strong {
	display: block;
	color: var(--str-ink);
	font-size: 0.95rem;
	margin-bottom: 2px;
}

.str-contact-step p {
	margin: 0;
	font-size: 0.90rem;
	color: var(--str-ink-muted);
}

.str-contact-channels {
	padding: 20px 22px;
	background: var(--str-surface);
	border: 1px solid var(--str-border);
	border-radius: var(--str-radius);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.str-channel-row {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 0.93rem;
}

.str-channel-row__label {
	font-family: var(--str-font-mono);
	font-size: 0.70rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--str-ink-muted);
}

.str-chat-link {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--str-gold);
	font-family: var(--str-font-body);
	font-size: 0.94rem;
	font-weight: 600;
	cursor: pointer;
}

.str-chat-link:hover {
	color: var(--str-gold-hover);
}

/* Form Card */
.str-contact__form-wrap {
	background: var(--str-surface);
	border: 1px solid var(--str-border-strong);
	border-radius: var(--str-radius-lg);
	padding: clamp(24px, 3.5vw, 36px);
	box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.str-form__header {
	margin-bottom: 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--str-border);
}

.str-form__header h3 {
	margin: 0 0 6px;
	font-family: var(--str-font-display);
	font-size: 1.35rem;
	color: var(--str-ink);
}

.str-form__header p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--str-ink-muted);
}

.str-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.str-fieldset {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.str-label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--str-ink);
	margin-bottom: 8px;
}

.str-opt {
	font-weight: 400;
	color: var(--str-ink-muted);
}

.str-service-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.str-service-chip {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.str-service-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.str-service-chip span {
	display: inline-flex;
	align-items: center;
	padding: 9px 13px;
	border-radius: 9px;
	background: var(--str-bg);
	border: 1px solid var(--str-border);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--str-ink-body);
	transition: transform 150ms var(--str-ease), border-color 150ms var(--str-ease), background-color 150ms var(--str-ease), color 150ms var(--str-ease);
}

.str-service-chip:hover span {
	transform: translateY(-1px);
	border-color: var(--str-teal-border);
	color: var(--str-ink);
}

.str-service-chip input:focus-visible + span {
	outline: 2px solid var(--str-gold);
	outline-offset: 2px;
}

.str-service-chip input:checked + span {
	background: var(--str-gold-soft);
	border-color: var(--str-gold);
	color: var(--str-gold);
	font-weight: 600;
}

.str-service-chip.is-urgent input:checked + span {
	background: var(--str-crimson-soft);
	border-color: var(--str-crimson);
	color: #fecaca;
}

.str-form-row {
	display: grid;
	gap: 16px;
	margin-bottom: 16px;
}

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

.str-form-row--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.str-field {
	margin-bottom: 16px;
}

.str-form-row .str-field {
	margin-bottom: 0;
}

.str-input {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--str-bg);
	border: 1px solid var(--str-border-strong);
	color: var(--str-ink);
	font-family: var(--str-font-body);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 150ms var(--str-ease), box-shadow 150ms var(--str-ease);
}

.str-input::placeholder {
	color: #64748b;
}

.str-input:hover {
	border-color: rgba(148, 163, 184, 0.54);
}

.str-input:focus {
	outline: none;
	border-color: var(--str-gold);
	box-shadow: 0 0 0 3px rgba(244, 196, 78, 0.22);
}

.str-input.is-invalid {
	border-color: var(--str-crimson);
}

.str-textarea {
	min-height: 118px;
	resize: vertical;
}

.str-select-wrap {
	position: relative;
}

.str-select-wrap::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--str-ink-muted);
	border-bottom: 2px solid var(--str-ink-muted);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.str-select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	height: 48px;
	cursor: pointer;
}

.str-select::picker-icon {
	display: none;
}

.str-field-error {
	margin: 6px 0 0;
	font-size: 0.82rem;
	color: #fca5a5;
	min-height: 0;
}

.str-field-error:empty {
	display: none;
}

.str-form-alert {
	margin: 0 0 18px;
	padding: 13px 16px;
	border-radius: 10px;
	background: var(--str-crimson-soft);
	border: 1px solid var(--str-crimson-border);
	color: #fecaca;
	font-size: 0.90rem;
}

.str-form__footer {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.str-form__note {
	font-size: 0.84rem;
	color: var(--str-ink-muted);
}

.str-btn__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(8, 13, 24, 0.28);
	border-top-color: var(--str-gold-ink);
	border-radius: 50%;
	animation: str-spin 700ms linear infinite;
}

.str-btn.is-loading .str-btn__spinner {
	display: inline-block;
}

@keyframes str-spin {
	to {
		transform: rotate(360deg);
	}
}

.str-form-success {
	padding: 12px 4px;
}

.str-form-success h3 {
	margin: 14px 0 10px;
	font-family: var(--str-font-display);
	font-size: 1.45rem;
	color: var(--str-ink);
}

.str-form-success p {
	margin: 0 0 12px;
	color: var(--str-ink-body);
}

.str-form-success__ref {
	font-family: var(--str-font-mono);
	font-size: 0.86rem;
	color: var(--str-teal);
}

.str-form-success__actions {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ==========================================================================
   Footer (with safe bottom clearance for floating Chat with Syed pill)
   ========================================================================== */

.str-footer {
	background: #05080f !important;
	border-top: 1px solid var(--str-border);
	padding-top: clamp(48px, 6vw, 72px);
	padding-bottom: 92px;
}

.str-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
	gap: clamp(32px, 5vw, 60px);
	padding-bottom: 36px;
	border-bottom: 1px solid var(--str-border);
}

.str-footer__bio {
	margin: 16px 0 0;
	font-size: 0.92rem;
	color: var(--str-ink-muted);
	max-width: 44ch;
}

.str-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.str-footer__heading {
	margin: 0 0 14px;
	font-family: var(--str-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--str-ink-muted);
}

.str-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 0.90rem;
}

.str-footer__links a {
	color: var(--str-ink-body);
}

.str-footer__links a:hover {
	color: var(--str-gold);
}

.str-footer__chat-btn {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--str-gold);
	font-family: var(--str-font-body);
	font-size: 0.90rem;
	font-weight: 600;
	cursor: pointer;
}

.str-footer__bottom {
	padding-top: 22px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.84rem;
	color: var(--str-ink-muted);
}

/* ==========================================================================
   Case Study Modal Drawer
   ========================================================================== */

.str-modal {
	position: fixed;
	inset: 0;
	z-index: 1500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.str-modal[hidden] {
	display: none;
}

.str-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 6, 12, 0.80);
	backdrop-filter: blur(6px);
}

.str-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 720px;
	max-height: min(86vh, 840px);
	display: flex;
	flex-direction: column;
	background: var(--str-surface);
	border: 1px solid var(--str-border-strong);
	border-radius: var(--str-radius-lg);
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
	overflow: hidden;
}

.str-modal__top {
	padding: 24px 26px 18px;
	border-bottom: 1px solid var(--str-border);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.str-modal__title {
	margin: 10px 0 4px;
	font-family: var(--str-font-display);
	font-size: 1.45rem;
	color: var(--str-ink);
}

.str-modal__role {
	margin: 0;
	font-family: var(--str-font-mono);
	font-size: 0.78rem;
	color: var(--str-teal);
}

.str-modal__close {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid var(--str-border);
	background: var(--str-bg);
	color: var(--str-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

.str-modal__close:hover {
	border-color: var(--str-gold);
	color: var(--str-gold);
}

.str-modal__body {
	padding: 22px 26px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.str-modal__block h3 {
	margin: 0 0 6px;
	font-family: var(--str-font-mono);
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--str-gold);
}

.str-modal__block p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--str-ink-body);
}

.str-modal__footer {
	padding: 16px 26px;
	border-top: 1px solid var(--str-border);
	background: var(--str-bg-elev);
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

/* ==========================================================================
   Custom 404 Page
   ========================================================================== */

.str-404 {
	position: relative;
	min-height: 100vh;
	background-color: var(--str-bg) !important;
	display: flex;
	align-items: center;
	padding-top: calc(var(--str-header-h) + 40px);
	padding-bottom: 90px;
	overflow: hidden;
}

.str-404__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
}

.str-404__inner {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
}

.str-404__card {
	width: 100%;
	max-width: 660px;
	padding: clamp(28px, 5vw, 48px);
	background: var(--str-surface);
	border: 1px solid var(--str-border-strong);
	border-radius: var(--str-radius-lg);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.str-404__title {
	margin: 16px 0 14px;
	font-family: var(--str-font-display);
	font-size: clamp(1.9rem, 3.6vw, 2.75rem);
	line-height: 1.12;
	color: var(--str-ink);
}

.str-404__lead {
	margin: 0 0 28px;
	font-size: 1.04rem;
	color: var(--str-ink-body);
}

.str-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.str-404__meta {
	padding-top: 18px;
	border-top: 1px solid var(--str-border);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.88rem;
	color: var(--str-ink-muted);
}

/* ==========================================================================
   Responsive Breakpoints (Laptop, Tablet, Mobile)
   ========================================================================== */

@media (max-width: 1080px) {
	.str-nav {
		display: none;
	}

	.str-menu-toggle {
		display: inline-flex;
	}

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

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

	.str-explorer__tabs {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.str-explorer__tab {
		width: auto;
		flex: 1 1 200px;
	}

	.str-explorer__tab:hover,
	.str-explorer__tab.is-active {
		transform: translateY(-2px);
	}

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

@media (max-width: 860px) {
	.str-hero__grid,
	.str-about__grid,
	.str-emergency-card,
	.str-experience__layout,
	.str-contact__grid,
	.str-footer__inner,
	.str-explorer__panel-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.str-hero__visual {
		max-width: 440px;
	}

	.str-form-row--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (max-width: 782px) {
	body.admin-bar .str-header,
	body.admin-bar .str-scroll-progress {
		top: 46px;
	}

	body.admin-bar .str-header.is-scrolled,
	body.admin-bar .str-scroll-progress {
		top: 0;
	}

	body.admin-bar .str-hero {
		padding-top: calc(var(--str-header-h) + 46px + 28px);
	}
}

@media (max-width: 640px) {
	.str-header__actions .str-btn {
		display: none;
	}

	.str-brand__text span {
		display: none;
	}

	.str-credibility-bar,
	.str-facts-grid,
	.str-work-grid,
	.str-ecosystem-grid,
	.str-reviews-grid,
	.str-form-row--2,
	.str-form-row--3,
	.str-footer__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.str-hero__actions .str-btn {
		width: 100%;
	}

	.str-explorer__tab {
		flex: 1 1 100%;
	}

	.str-modal {
		padding: 12px;
	}

	.str-modal__top,
	.str-modal__body,
	.str-modal__footer {
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
